Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /buystone:
- trigger:
- if player's balance is less than 9:
- send "&e(!) You do not have enough money to buy that"
- if player's balance is more than 9:
- give 32 stone to player
- remove 10 from player's balance
- command /buygrass:
- trigger:
- if player's balance is less than 19:
- send "&e(!) You do not have enough money to buy that"
- if player's balance is more than 19:
- give 32 grass to player
- remove 20 from player's balance
- command /buydirt:
- trigger:
- if player's balance is less than 4:
- send "&e(!) You do not have enough money to buy that"
- if player's balance is more than 4:
- give 32 dirt to player
- remove 5 from player's balance
- command /buystonebrick:
- trigger:
- if player's balance is less than 4:
- send "&e(!) You do not have enough money to buy that"
- if player's balance is more than 4:
- give 32 98 to player
- remove 5 from player's balance
- command /buyoakplanks:
- trigger:
- if player's balance is less than 4:
- send "&e(!) You do not have enough money to buy that"
- if player's balance is more than 4:
- give 32 oak_planks to player
- remove 5 from player's balance
- command /buyseeds:
- trigger:
- if player's balance is less than 19:
- send "&e(!) You do not have enough money to buy that"
- if player's balance is more than 19:
- give 32 seeds to player
- remove 20 from player's balance
- command /shop:
- trigger:
- close player's inventory
- wait 1 tick
- open chest with 6 rows named " &0&nPlayer Shop" to player
- format slot 0 of player with 1 black glass named "" to be unstealable
- format slot 1 of player with 1 black glass named "" to be unstealable
- format slot 2 of player with 1 black glass named "" to be unstealable
- format slot 3 of player with 1 black glass named "" to be unstealable
- format slot 4 of player with 1 black glass named "" to be unstealable
- format slot 5 of player with 1 black glass named "" to be unstealable
- format slot 6 of player with 1 black glass named "" to be unstealable
- format slot 7 of player with 1 black glass named "" to be unstealable
- format slot 8 of player with 1 black glass named "" to be unstealable
- format slot 9 of player with 1 black glass named "" to be unstealable
- format slot 27 of player with 1 black glass named "" to be unstealable
- format slot 18 of player with 1 black glass named "" to be unstealable
- format slot 36 of player with 1 black glass named "" to be unstealable
- format slot 17 of player with 1 black glass named "" to be unstealable
- format slot 35 of player with 1 black glass named "" to be unstealable
- format slot 26 of player with 1 black glass named "" to be unstealable
- format slot 44 of player with 1 black glass named "" to be unstealable
- format slot 45 of player with 1 black glass named "" to be unstealable
- format slot 46 of player with 1 black glass named "" to be unstealable
- format slot 47 of player with 1 black glass named "" to be unstealable
- format slot 48 of player with 1 black glass named "" to be unstealable
- format slot 49 of player with 1 black glass named "" to be unstealable
- format slot 50 of player with 1 black glass named "" to be unstealable
- format slot 51 of player with 1 black glass named "" to be unstealable
- format slot 52 of player with 1 black glass named "" to be unstealable
- format slot 53 of player with 1 black glass named "" to be unstealable
- format slot 20 of player with 1 book named "&6&lBuy Shop &e(Click to open)" to run [make player execute command "/buyshop"]
- format slot 24 of player with 1 book named "&6&lSell Shop &e(Click to open)" to run [make player execute command "/sellshop"]
- command /buyshop:
- trigger:
- close player's inventory
- wait 1 tick
- open chest with 6 rows named " &0&nPlayer Buy Shop" to player
- format slot 0 of player with 1 black glass named "" to be unstealable
- format slot 1 of player with 1 black glass named "" to be unstealable
- format slot 2 of player with 1 black glass named "" to be unstealable
- format slot 3 of player with 1 black glass named "" to be unstealable
- format slot 4 of player with 1 black glass named "" to be unstealable
- format slot 5 of player with 1 black glass named "" to be unstealable
- format slot 6 of player with 1 black glass named "" to be unstealable
- format slot 7 of player with 1 black glass named "" to be unstealable
- format slot 8 of player with 1 black glass named "" to be unstealable
- format slot 9 of player with 1 black glass named "" to be unstealable
- format slot 18 of player with 1 black_banner_item named "&7&l← Previous Page" to run [make player execute "/shop"]
- format slot 27 of player with 1 black_banner_item named "&7&l← Previous Page" to run [make player execute "/shop"]
- format slot 36 of player with 1 black glass named "" to be unstealable
- format slot 17 of player with 1 black glass named "" to be unstealable
- format slot 26 of player with 1 black_banner_item named "&7&l→ Next Page" to close
- format slot 35 of player with 1 black_banner_item named "&7&l→ Next Page" to close
- format slot 44 of player with 1 black glass named "" to be unstealable
- format slot 45 of player with 1 black glass named "" to be unstealable
- format slot 46 of player with 1 black glass named "" to be unstealable
- format slot 47 of player with 1 black glass named "" to be unstealable
- format slot 48 of player with 1 black glass named "" to be unstealable
- format slot 49 of player with 1 black glass named "" to be unstealable
- format slot 50 of player with 1 black glass named "" to be unstealable
- format slot 51 of player with 1 black glass named "" to be unstealable
- format slot 52 of player with 1 black glass named "" to be unstealable
- format slot 53 of player with 1 black glass named "" to be unstealable
- format slot 10 of player with 32 stone named "&6Stone &e(Click to buy)" with lore "||&ePrice: &f$10 per 32||&eClick to purchase||&7" to run [make player execute "/buystone"]
- format slot 11 of player with 32 grass named "&6Grass &e(Click to buy)" with lore "||&ePrice: &f$20 per 32||&eClick to purchase||&7" to run [make player execute "/buygrass"]
- format slot 12 of player with 32 dirt named "&6Dirt &e(Click to buy)" with lore "||&ePrice: &f$5 per 32||&eClick to purchase||&7" to run [make player execute "/buydirt"]
- format slot 13 of player with 32 98 named "&6Stone Brick &e(Click to buy)" with lore "||&ePrice: &f$5 per 32||&eClick to purchase||&7" to run [make player execute "/buystonebrick"]
- format slot 14 of player with 32 oak_planks named "&6Oak Planks &e(Click to buy)" with lore "||&ePrice: &f$5 per 32||&eClick to purchase||&7" to run [make player execute "/buyoakplanks"]
- format slot 15 of player with 32 seeds named "&6Seeds &e(Click to buy)" with lore "||&ePrice: &f$20 per 32||&eClick to purchase||&7" to run [make player execute "/buyseeds"]
Advertisement
Add Comment
Please, Sign In to add comment