I am creating my script for my shop in my Minecraft server (mine hut) and when i reload the script it says
"can't understand this condition: "player balance is greater than or is equal to 2000 run" (Shop.sk, line 5: if player balance is greater than or is equal to 2000 run:")"
this is the full script please help.
BTW: i am new to this and have never written script before. i will attach all the plugins i have activated on this server Thank you!
"can't understand this condition: "player balance is greater than or is equal to 2000 run" (Shop.sk, line 5: if player balance is greater than or is equal to 2000 run:")"
this is the full script please help.
Code:
command /shop:
trigger:
open virtual chest inventory with size 3 named "shop" to player
format gui slot 0 of player with Diamond named "1 Diamond &a$2000"
if player balance is greater than or is equal to 2000 run:
execute console command "/eco take 2000"
execute console command "/give %player% Diamond 1"
if else:
send "&cYou Do Not Have Enough Money For This!"
BTW: i am new to this and have never written script before. i will attach all the plugins i have activated on this server Thank you!