#limited lives

1 messages Β· Page 1 of 1 (latest)

pallid zephyr
lethal tusk
pallid zephyr
#

it shows my name glockyTOPG

paper nova
#

- '[console] lives remove %player_name% > 1'

#

why >

pallid zephyr
#

what do you mean ?

paper nova
#

why do you place > before 1

#

and also can you show what it says in console after you buy the spawner

pallid zephyr
paper nova
#

i mean the command, not the requirement

#

in the command i sent
- '[console] lives remove %player_name% > 1'

#

there

pallid zephyr
#

like why i put this > ?

paper nova
#

yes

#

is this build in, in the command or it is a typo

pallid zephyr
#

my friend told me to put it idk

paper nova
#

im pretty sure it will work if you remove it :>

#

worth a shot

#

so give it a try

#

remove the '>' do /dh reload and try

pallid zephyr
#

kk

#

i just launched mc but now i cant even buy the item

paper nova
#

whad does it say?

#

do you have lives?

pallid zephyr
#

it just doesnt work anymore am pressing to buy the spawner but its not doing anything now no sound no nothing

paper nova
#

can you show the config again?

pallid zephyr
#

yes one sec

paper nova
#

Copy the current file

pallid zephyr
#

this is the current one

paper nova
#

oh, the syntax is broke, you need 4 space's before left_click_commands: and left_click_requirement:

pallid zephyr
#

ok ill give it a try

#

now it just broke i cant open liveshop anymore

paper nova
#

let me send you the fixed version D:

pallid zephyr
#

k

paper nova
pallid zephyr
#

it opened but i cant buy the spawner

paper nova
#

wai

#

omfg i am confused

#

what type of requirement is >= 😭

pallid zephyr
#

i dont really know

paper nova
#

try this

lives_check:
        type: "javascript"
        input: "%lives_lives% >= 1"
        output: 1
        deny_commands:
          - "[message] &cYou don't have enough lives!"
#

not this

lives_check:
        type: ">="
        input: "%lives_lives%"
        output: 1
        deny_commands:
          - "[message] &cYou don't have enough lives!"
#

wait. my bad

#
        type: "javascript"
        input: "%lives_lives% >= 1"
        deny_commands:
          - "[message] &cYou don't have enough lives!"
#

this is the right one

pallid zephyr
#

k

#

i still cant buy anything 😭

paper nova
#

try pasting this...

pallid zephyr
#

alr

#

doesnt work bruh

paper nova
#

show me console

pallid zephyr
#

k

paper nova
#

after you click it

pallid zephyr
#

here

paper nova
#

do you have 2 identical menus?

pallid zephyr
#

no

#

i have these

paper nova
#

can you try putting [close] at the end of the command list

pallid zephyr
#

under you dont have enough hearts lives!. right ?

paper nova
#

just like that

pallid zephyr
#

ok lemme try

paper nova
pallid zephyr
#

still doesnt work....

paper nova
#

this is the last thing i can think of

#

try and paste it

#

wait

#

dont

#

;-;

pallid zephyr
#

k

paper nova
#

here you are

pallid zephyr
#

i can buy now but it does'nt remove a life

paper nova
#

oh and also change input: "%lives_lives% >= 1" with

#

expression: "%lives_lives% >= 1"

pallid zephyr
#

so instead of input i put expression ?

paper nova
#

ye

pallid zephyr
#

still it doesnt remove a life

paper nova
#

em

#

the command is /lives remove <lives> <player>

pallid zephyr
#

yes

paper nova
#

so the command is lives remove 1 %player_name%
not lives remove %player_name% 1

pallid zephyr
#

lemme try

#

it worked

#

omg

#

thank u

paper nova
#

im glad

#

no problem

#

i got confused i myself made some mistakes LMFAO

pallid zephyr
#

it was simple ig πŸ™‡β€β™‚οΈ

paper nova
#

it is always up to logic

#

have a great time doing your server!

pallid zephyr
#

thank u

#

so should i close post ?

paper nova
#

no need.

pallid zephyr
#

kk

pallid zephyr
#

@paper nova i have a problem

paper nova
#

?

pallid zephyr
#

if a player has 1 life for example he can buy the spawner that costs 10 and it doesnt deduct from him

#

this is the entire gui

#

?

paper nova
#

wait i was doing smth

#

if the spawner cost 10 lives change the requirement to >= 10

#

if it cost 4 make >= 4

pallid zephyr
#

i did but still didnt work

paper nova
#

what do you mean it didn't work

pallid zephyr
pallid zephyr
paper nova
#

what happens when you have 9 lives and click to buy 10 live cost thing

pallid zephyr
#

it does not deduct any lives and u can just buy it

paper nova
#

add 2 spaces before left_click_requirement:

#

😭

pallid zephyr
#

k

#

it stopped working

#

when i did it

paper nova
#

space, not tab

#

right?

pallid zephyr
#

yes

paper nova
#

omg

#

add 3 more

#

and try again

#

so 5 at total

pallid zephyr
#

k

#

it stopped working again

#

πŸ™ƒ

paper nova
#

copy this

pallid zephyr
#

paste the entire thing ?

paper nova
#

if it works im going to sleep cuz it is 12:41 AM and i have to wake up at 06:30

paper nova
pallid zephyr
#

what did you do exactly it worked for the evoker spawner but not the others

paper nova
#

idk 😭

#

are u sure

pallid zephyr
#

oh wait it worked for the others but not for iron golem

paper nova
#

the skeleton

#

is not working

#

ye ok

#

here

#

this is only iron golem

#

its working

#

100%

pallid zephyr
#

i know am asking alot but can u do them all in one pastebin since i pasted the iron golem they all stopped working

paper nova
#

okay sure

pallid zephyr
#

thank u πŸ™

paper nova
pallid zephyr
#

its broken

paper nova
#

awkjeAWH

pallid zephyr
#

sorry...

paper nova
pallid zephyr
#

i think the null thing in iron golem making it not work ?

#

maybe ?

paper nova
#

null?

#

oh f

#

ye

#

remove it

pallid zephyr
#

yep it worked

#

thank u

#

and sorry for bothering u πŸ™

paper nova
#

np

#

gn