Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /shop:
- trigger:
- open virtual chest inventory with 5 rows with name "&3&lSHOP" to player
- format gui slot 10 of player with grass block named "&7Blocks" to run:
- execute player command "shopblocks"
- format gui slot 16 of player with redstone named "&7Redstone" to run:
- execute player command "shopredstone"
- format gui slot 21 of player with hay bale named "&7Farming" to run:
- execute player command "shopfarming"
- format gui slot 22 of player with empty bucket named "&7Misc." to run:
- execute player command "shopmisc"
- format gui slot 23 of player with apple named "&7Food" to run:
- execute player command "shopfood"
- format gui slot 28 of player with paper named "&7Ranks" to run:
- execute player command "shopranks"
- format gui slot 34 of player with iron pickaxe named "&7Tools" to run:
- execute player command "shoptools"
- format gui slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 37, 38, 39, 40, 41, 42, 43 and 44 of player with gray stained glass pane named "&7Close" to run:
- execute player command "close"
- command /shopblocks:
- trigger:
- open virtual chest inventory with 6 rows with name "&3&lBLOCKS" to player
- format gui slot 10 of player with 16 stone named "&7Stone &a$320" to run:
- if player's money is greater than or equal to 320:
- remove 320 from player's balance
- send "&a$320 &7has been removed from your balance"
- give 16 stone to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 11 of player with 16 cobblestone named "&7Cobblestone &a$160" to run:
- if player's money is greater than or equal to 160:
- remove 160 from player's balance
- send "&a$160 &7has been removed from your balance"
- give 16 cobblestone to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 12 of player with 16 stone brick named "&7Stone Brick &a$320" to run:
- if player's money is greater than or equal to 320:
- remove 320 from player's balance
- send "&a$320 &7has been removed from your balance"
- give 16 stone brick to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 13 of player with 16 smooth stone named "&7Smooth Stone &a$320" to run:
- if player's money is greater than or equal to 320:
- remove 320 from player's balance
- send "&a$320 &7has been removed from your balance"
- give 16 smooth stone to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 14 of player with 16 brick block named "&7Bricks &a$320" to run:
- if player's money is greater than or equal to 320:
- remove 320 from player's balance
- send "&a$320 &7has been removed from your balance"
- give 16 brick block to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 15 of player with 16 sand named "&7Sand &a$320" to run:
- if player's money is greater than or equal to 320:
- remove 320 from player's balance
- send "&a$320 &7has been removed from your balance"
- give 16 sand to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 16 of player with 16 sandstone named "&7Sandstone &a$320" to run:
- if player's money is greater than or equal to 320:
- remove 320 from player's balance
- send "&a$320 &7has been removed from your balance"
- give 16 sandstone to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 19 of player with 16 dirt named "&7Dirt &a$80" to run:
- if player's money is greater than or equal to 320:
- remove 320 from player's balance
- send "&a$320 &7has been removed from your balance"
- give 16 dirt to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 20 of player with 16 packed ice named "&7Packed Ice &a$400" to run:
- if player's money is greater than or equal to 320:
- remove 400 from player's balance
- send "&a$400 &7has been removed from your balance"
- give 16 packed ice to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 21 of player with 4 ice named "&7Ice &a$100" to run:
- if player's money is greater than or equal to 100:
- remove 100 from player's balance
- send "&a$100 &7has been removed from your balance"
- give 4 ice to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 22 of player with 4 sea lantern named "&7Sea Lantern &a$50" to run:
- if player's money is greater than or equal to 50:
- remove 50 from player's balance
- send "&a$50 &7has been removed from your balance"
- give 4 sea lantern to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 23 of player with 2 soul sand named "&7Soul Sand &a$150" to run:
- if player's money is greater than or equal to 150:
- remove 150 from player's balance
- send "&a$150 &7has been removed from your balance"
- give 2 soul sand to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 24 of player with 4 gravel named "&7Gravel &a$50" to run:
- if player's money is greater than or equal to 50:
- remove 50 from player's balance
- send "&a$50 &7has been removed from your balance"
- give 4 gravel to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 28 of player with 16 oak log named "&7Oak Log &a$480" to run:
- if player's money is greater than or equal to 480:
- remove 480 from player's balance
- send "&a$480 &7has been removed from your balance"
- give 16 oak log to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 29 of player with 16 birch log named "&7Birch Log &a$480" to run:
- if player's money is greater than or equal to 480:
- remove 480 from player's balance
- send "&a$480 &7has been removed from your balance"
- give 16 birch log to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 30 of player with 16 spruce log named "&7Spruce Log &a$480" to run:
- if player's money is greater than or equal to 480:
- remove 480 from player's balance
- send "&a$480 &7has been removed from your balance"
- give 16 spruce log to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 31 of player with 16 jungle log named "&7Jungle Log &a$480" to run:
- if player's money is greater than or equal to 480:
- remove 480 from player's balance
- send "&a$480 &7has been removed from your balance"
- give 16 jungle log to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 32 of player with 16 dark oak log named "&7Dark Oak Log &a$480" to run:
- if player's money is greater than or equal to 480:
- remove 480 from player's balance
- send "&a$480 &7has been removed from your balance"
- give 16 dark oak log to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 33 of player with 16 acacia log named "&7Acacia Log &a$480" to run:
- if player's money is greater than or equal to 480:
- remove 480 from player's balance
- send "&a$480 &7has been removed from your balance"
- give 16 acacia log to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 37 of player with 16 white concrete named "&7White Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 white concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 38 of player with 16 blue concrete named "&7Blue Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 blue concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 39 of player with 16 orange concrete named "&7Orange Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 orange concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 40 of player with 16 magenta concrete named "&7Magenta Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 magenta concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 41 of player with 16 light blue concrete named "&7Light Blue Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 light blue concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 42 of player with 16 yellow concrete named "&7Yellow Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 yellow concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 43 of player with 16 lime concrete named "&7Lime Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 lime concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 0, 9, 18, 27, 36 and 45 of player with red stained glass pane named "&cBack" to run:
- execute player command "shop"
- format gui slot 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 35, 44, 46, 47, 48, 49, 50, 51 and 52 of player with gray stained glass pane named " " to run:
- send "&cThis does nothing!"
- format gui slot 53 of player with lime stained glass pane named "&aNext" to run:
- execute player command "shopblock2"
- command /shopblock2:
- trigger:
- open virtual chest inventory with 6 rows with name "&3&lBLOCKS" to player
- format gui slot 0, 9, 18, 27, 36 and 45 of player with red stained glass pane named "&cBack" to run:
- execute player command "shop"
- format gui slot 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 35, 44, 46, 47, 48, 49, 50, 51 and 52 of player with gray stained glass pane named " " to run:
- send "&cThis does nothing!"
- format gui slot 10 of player with 16 gray concrete named "&7Gray Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 gray concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 11 of player with 16 pink concrete named "&7Pink Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 pink concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 12 of player with 16 light gray concrete named "&7Light Gray Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 13 of player with 16 pink concrete named "&7Pink Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 pink concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 43 of player with 16 cyan concrete named "&7Cyan Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 cyan concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 14 of player with 16 black concrete named "&7Black Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 black concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 15 of player with 16 red concrete named "&7Red Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 red concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 16 of player with 16 purple concrete named "&7Purple Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 purple concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 19 of player with 16 brown concrete named "&7Brown Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 brown concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 20 of player with 16 green concrete named "&7Green Concrete &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 16 green concrete to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 28 of player with 16 glass named "&7Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 29 of player with 16 white stained glass named "&7White Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 white stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 30 of player with 16 orange stained glass named "&7Orange Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 orange stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 31 of player with 16 magenta stained glass named "&7Magenta Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 magenta stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 32 of player with 16 light blue stained glass named "&7Light Blue Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 light blue stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 33 of player with 16 yellow stained glass named "&7Yellow Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 yellow stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 34 of player with 16 lime stained glass named "&7Lime Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 lime stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 37 of player with 16 pink stained glass named "&7Pink Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 pink stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 38 of player with 16 gray stained glass named "&7Gray Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 gray stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 39 of player with 16 light gray stained glass named "&7Light Gray Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 light gray stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 40 of player with 16 cyan stained glass named "&7Cyan Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 cyan stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 41 of player with 16 purple stained glass named "&7Purple Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 purple stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 42 of player with 16 blue stained glass named "&7Blue Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 blue stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 43 of player with 16 red stained glass named "&7Red Stained Glass &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 16 red stained glass to player
- else:
- send "&cYou do not have enough money to purchase this!"
- command /shopredstone:
- trigger:
- open virtual chest inventory with 5 rows with name "&c&lREDSTONE" to player
- format gui slot 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 35, 37, 38, 39, 40, 41, 42, 43 and 44 of player with gray stained glass pane named " " to run:
- send "&cThis does nothing"
- format gui slot 0, 9, 18, 27 and 36 of player with red stained glass pane named "&cClose" to run:
- execute player command "shop"
- format gui slot 10 of player with 16 redstone named "&7Redstone &a$750" to run:
- if player's money is greater than or equal to 750:
- remove 750 from player's balance
- send "&a$750 &7has been removed from your balance"
- give 16 redstone to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 11 of player with 4 redstone torch named "&7Redstone Torch &a$50" to run:
- if player's money is greater than or equal to 50:
- remove 50 from player's balance
- send "&a$50 &7has been removed from your balance"
- give 4 redstone torch to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 12 of player with 4 redstone repeater named "&7Redstone Repeater &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 4 redstone repeater to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 13 of player with 4 redstone comparator named "&7Redstone Comparator &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 4 redstone comparator to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 14 of player with 2 observer named "&7Observer &a$1500" to run:
- if player's money is greater than or equal to 1500:
- remove 1500 from player's balance
- send "&a$1500 &7has been removed from your balance"
- give 2 observer to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 15 of player with 2 hopper named "&7Hopper &a$25000" to run:
- if player's money is greater than or equal to 25000:
- remove 25000 from player's balance
- send "&a$25000 &7has been removed from your balance"
- give 2 hopper to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 16 of player with 16 piston named "&7Piston &a$1000" to run:
- if player's money is greater than or equal to 1000:
- remove 1000 from player's balance
- send "&a$1000 &7has been removed from your balance"
- give 4 piston to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 20 of player with 8 string named "&7String &a$50" to run:
- if player's money is greater than or equal to 50:
- remove 50 from player's balance
- send "&a$50 &7has been removed from your balance"
- give 8 string to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 21 of player with 4 rails named "&7Rails &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 4 rails to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 22 of player with minecart named "&7Minecart &a$250" to run:
- if player's money is greater than or equal to 250:
- remove 250 from player's balance
- send "&a$250 &7has been removed from your balance"
- give 1 minecart to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 23 of player with 4 powered rails named "&7Powered Rails &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 4 powered rail to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 24 of player with 4 chest named "&7Chest &a$500" to run:
- if player's money is greater than or equal to 500:
- remove 500 from player's balance
- send "&a$500 &7has been removed from your balance"
- give 4 chest to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 30 of player with 4 sticky piston named "&7Sticky Piston &a$1000" to run:
- if player's money is greater than or equal to 1000:
- remove 1000 from player's balance
- send "&a$1000 &7has been removed from your balance"
- give 4 sticky piston to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 31 of player with 2 tripwire hook named "&7Tripwire Hook &a$50" to run:
- if player's money is greater than or equal to 50:
- remove 50 from player's balance
- send "&a$50 &7has been removed from your balance"
- give 2 tripwire hook to player
- else:
- send "&cYou do not have enough money to purchase this!"
- format gui slot 32 of player with 2 redstone lamp named "&7Redstone Lamp &a$100" to run:
- if player's money is greater than or equal to 100:
- remove 100 from player's balance
- send "&a$100 &7has been removed from your balance"
- give 2 redstone lamp to player
- else:
- send "&cYou do not have enough money to purchase this!"
- command /close:
- trigger:
- send "&aClosed!"
- close player's inventory
- command /balance [<offline player>]:
- trigger:
- if arg 1 isn't set:
- send " "
- send "&3&lYOUR BALANCE"
- send "&7%player's money%"
- send " "
- if arg 1 is set:
- send " "
- send "&3&l%arg 1%&3&l's BALANCE"
- send "&7%arg 1's money%"
- send " "
- command /bal [<offline player>]:
- trigger:
- if arg 1 isn't set:
- send " "
- send "&3&lYOUR BALANCE"
- send "&7%player's money%"
- send " "
- if arg 1 is set:
- send " "
- send "&3&l%arg 1%&3&l's BALANCE"
- send "&7%arg 1's money%"
- send " "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement