Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /minebpurchase:
- trigger:
- if player's balance is more than or equal to 10000:
- remove 10000 from player's balance
- send "&6» &eSuccess! you have purchased the mine"
- make console execute command "/manuaddp %player% essentials.warps.B"
- stop
- else:
- send "&6» &eError! &eyou do not have enough money, you need &6$10000"
- command /minecpurchasesfsfsfsf:
- trigger:
- if player's balance is more than or equal to 20000:
- remove 20000 from player's balance
- send "&6» &eSuccess! you have purchased the mine"
- make console execute command "/manuaddp %player% essentials.warps.C"
- stop
- else:
- send "&6» &eError! &eyou do not have enough money, you need &6$2000"
- command /mines:
- trigger:
- open chest with 3 rows named "&6&lMines" to player
- wait 5 ticks
- format slot 4 of player with player's skull named "&f&l%player%" with lore "&eMoney: &f%player's money%" to be unstealable
- if player has permission "essentials.warps.b":
- format slot 10 of player with 160:5 named "&6Mine B &e» &a&lUNLOCKED" with lore " || &eClick to warp" to close then run [make player execute "/warp b"]
- if player doesn't have permission "essentials.warps.b":
- format slot 10 of player with 160:14 named "&6Mine B &e» &c&lLOCKED" with lore " || &eCost: &f10000" to close then run [make player execute "/minebpurchase"]
- if player has permission "essentials.warps.c":
- format slot 11 of player with 160:5 named "&6Mine C &e» &a&lUNLOCKED &c&l(BROKEN)" with lore " || &eClick to warp" to close then run [make player execute "/warp c"]
- if player doesn't have permission "essentials.warps.c":
- format slot 11 of player with 160:14 named "&6Mine C &e» &c&lLOCKED &c&l(BROKEN)" with lore " || &eCost: &f20000" to close then run [make player execute "/minecpurchase"]
Advertisement
Add Comment
Please, Sign In to add comment