command /power:
aliases: /powerbuy
permission: permission.power
permission message: &cNo Permission!
trigger:
wait 2 tick
message "&7&m---------------------------"
message ""
message "&7Opening &aPower Menu"
message ""
message "&7&m---------------------------"
open chest with 5 rows named "&a&l Power" to player
format slot 10 of player with emerald named "&7+ &a5 Extra Faction Power" with lore "&7$&a500,000||&aWhen purchased you will recieve 5 extra /f power!" to close then run [make console execute command "eco take %player% 500000"]->[make console execute command "f powerboost p %player% 5"]
If the player dosnt have them money he can still buy the extra power boost can someone help? I want to make it so if a player dosnt have the 500k that he cannot buy the power boost
aliases: /powerbuy
permission: permission.power
permission message: &cNo Permission!
trigger:
wait 2 tick
message "&7&m---------------------------"
message ""
message "&7Opening &aPower Menu"
message ""
message "&7&m---------------------------"
open chest with 5 rows named "&a&l Power" to player
format slot 10 of player with emerald named "&7+ &a5 Extra Faction Power" with lore "&7$&a500,000||&aWhen purchased you will recieve 5 extra /f power!" to close then run [make console execute command "eco take %player% 500000"]->[make console execute command "f powerboost p %player% 5"]
If the player dosnt have them money he can still buy the extra power boost can someone help? I want to make it so if a player dosnt have the 500k that he cannot buy the power boost