#.

1 messages · Page 1 of 1 (latest)

undone epoch
#

dont use a global variable when removing money from a player

#

in the death event

#

other than that, put it in the lore

#

split it and get the money

tropic halo
#

Use NBT for the amount and instead of every 1 second use pickup event

spare galleon
#

First, the sunflower is named "%amount%
money", but you try to remove "money". Then,
try add instead of give amount to the balance,
then third and last thing. Looping all players
every second is very goddamn inefficient. I
suggest you doing it on right click, and if you
want to make it player-specific, like
unclaimable by others, set a variable to the
player who claimed that sunflower, and check
if it's the same player on right click

spare galleon
fierce glacier
#

why not use EntityPickUpItemEvent

#

instead of a loop

spare galleon
#

No, and

#

Read what i said again "set a variable to the player who claimed.."

#

I gave you the steps, you figure out how to transpose it in code

keen birch
#

idk how sr fade

spare galleon
#

Well, if you're new, you probably shouldn't throw yourself in bigger project like this or the spawners one, then ask for code. Not cool.