i downloaded addon Ersatz so i can use placeholders from other plugins. i loaded placeholder %vault_eco_balance_fixed% but when i try to buy a kit it says i don't have enought money, so could you help me please? my balance was 8640$
here is code:
else if event-slot is 36:
set {vault_eco_balance_fixed} to placeholder "vault_eco_balance_fixed"
if {vault_eco_balance_fixed} > 200:
close player's inventory
give player netherite helmet
give player netherite chestplate
give player netherite leggings
give player netherite boots
give player netherite sword
give player bow
give player 32 arrows
give player 64 cooked beef
send "{@prefix}&aВи успішно забрали &7Залізний кіт&a!" to player
else:
send "{@prefix}&cУ вас недостатньо коштів для покупки &1Незеритового кіта&c!" to player
send "{@prefix}&eУ вас &a%{vault_eco_balance_fixed}%$&e, а для покупки &1Незеритового кіта вам потрібно мати на власному рахунку не менше &a200$&e!" to player
cancel event
here is code:
else if event-slot is 36:
set {vault_eco_balance_fixed} to placeholder "vault_eco_balance_fixed"
if {vault_eco_balance_fixed} > 200:
close player's inventory
give player netherite helmet
give player netherite chestplate
give player netherite leggings
give player netherite boots
give player netherite sword
give player bow
give player 32 arrows
give player 64 cooked beef
send "{@prefix}&aВи успішно забрали &7Залізний кіт&a!" to player
else:
send "{@prefix}&cУ вас недостатньо коштів для покупки &1Незеритового кіта&c!" to player
send "{@prefix}&eУ вас &a%{vault_eco_balance_fixed}%$&e, а для покупки &1Незеритового кіта вам потрібно мати на власному рахунку не менше &a200$&e!" to player
cancel event