Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /xpshop:
- trigger:
- open chest with 3 rows named "&3&lXPSHOP" to player
- loop integers from 0 to 27:
- make gui slot loop-integer of player with black stained glass pane named "&7" to run:
- execute player command "/xpshop"
- make gui slot 10 of player with 4 experience bottle named "&3&l4 XP LEVELS" with lore "&3Cost: &b20,000" to run:
- if player's balance >= 20000:
- add 4 to player's level
- remove 20000 from player's balance
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 11 of player with 8 experience bottle named "&3&l8 XP LEVELS" with lore "&3Cost: &b40,000" to run:
- if player's balance >= 40000:
- add 8 to player's level
- remove 40000 from player's balance
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 12 of player with 16 experience bottle named "&3&l16 XP LEVELS" with lore "&3Cost: &b80,000" to run:
- if player's balance >= 80000:
- add 16 to player's level
- remove 20000 from player's balance
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 13 of player with 32 experience bottle named "&3&l32 XP LEVELS" with lore "&3Cost: &b160,000" to run:
- if player's balance >= 160000:
- add 32 to player's level
- remove 160000 from player's balance
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 14 of player with 64 experience bottle named "&3&l64 XP LEVELS" with lore "&3Cost: &b320,000" to run:
- if player's balance >= 320000:
- add 64 to player's level
- remove 320000 from player's balance
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 15 of player with 128 experience bottle named "&3&l128 XP LEVELS" with lore "&3Cost: &b640,000" to run:
- if player's balance >= 640000:
- add 128 to player's level
- remove 640000 from player's balance
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 16 of player with 256 experience bottle named "&3&l256 XP LEVELS" with lore "&3Cost: &b1,280,000" to run:
- if player's balance >= 1280000:
- add 256 to player's level
- remove 1280000 from player's balance
- else:
- send "&cYou do not have enough money to buy that."
- command /blackmarket:
- aliases: /bm
- trigger:
- open chest with 6 rows named "&3&lBLACKMARKET" to player
- loop integers from 0 to 64:
- make gui slot loop-integer of player with black stained glass pane named "&7" run:
- execute player command "/bm"
- make gui slot 4 of player with obsidian named "&b&lMINERALS"
- make gui slot 10 of player with 64 coal item named "&7&lCOAL" with lore "&3Cost: &b5,000" to run:
- if player's balance >= 5000:
- if player has enough space for coal:
- give player 64 coal item
- remove 5000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 11 of player with 64 iron ingot named "&7&lIRON" with lore "&3Cost: &b10,000" to run:
- if player's balance >= 10000:
- if player has enough space for iron ingot:
- give player 64 iron ingot
- remove 10000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 12 of player with 64 diamond named "&b&lDIAMOND" with lore "&3Cost: &b20,000" to run:
- if player's balance >= 20000:
- if player has enough space for diamond:
- give player 64 diamond
- remove 20000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 13 of player with 64 emerald named "&a&lEMERALD" with lore "&3Cost: &b50,000" to run:
- if player's balance >= 50000:
- if player has enough space for emerald:
- give player 64 emerald
- remove 50000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 14 of player with 64 lapis lazuli named "&9&lLAPIS" with lore "&3Cost: &b75,000" to run:
- if player's balance >= 75000:
- if player has enough space for lapis lazuli:
- give player 64 lapis lazuli
- remove 75000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 15 of player with 64 redstone dust named "&c&lREDSTONE" with lore "&3Cost: &b80,000" to run:
- if player's balance >= 80000:
- if player has enough space for redstone dust:
- give player 64 redstone dust
- remove 80000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 16 of player with 64 obsidian named "&8&lOBSIDIAN" with lore "&3Cost: &b100,000" to run:
- if player's balance >= 100000:
- if player has enough space for obsidian:
- give player 64 obsidian
- remove 100000 from player's balance
- else:
- close player's inventory
- send "&cYour inventory does not have enough space."
- else:
- send "&cYou do not have enough money to buy that."
- make gui slot 22 of player with gray stained glass pane named "&b&lCOMING SOON" to run:
- execute player command "/bm"
- make gui slot 40 of player with gray stained glass pane named "&b&lCOMING SOON" to run:
- execute player command "/bm"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement