SHARE
TWEET

shop

a guest Dec 14th, 2019 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /shop:
  2.   trigger:
  3.     open virtual chest inventory with 5 rows with name "&3&lSHOP" to player
  4.     format gui slot 10 of player with grass block named "&7Blocks" to run:
  5.       execute player command "shopblocks"
  6.     format gui slot 16 of player with redstone named "&7Redstone" to run:
  7.       execute player command "shopredstone"
  8.     format gui slot 21 of player with hay bale named "&7Farming" to run:
  9.       execute player command "shopfarming"
  10.     format gui slot 23 of player with seed named "&7Custom Seeds" to run:
  11.       execute player command "shopcustom"
  12.     format gui slot 28 of player with paper named "&7Ranks" to run:
  13.       execute player command "shopranks"
  14.     format gui slot 34 of player with iron pickaxe named "&7Tools" to run:
  15.       execute player command "shoptools"
  16.     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:
  17.       execute player command "close"
  18.  
  19. command /shopblocks:
  20.   trigger:
  21.     open chest with 6 rows named "&3&lBLOCKS" to player
  22.     format gui slot 10 of player with 16 stone named "&7Stone &a$320" to run:
  23.       if player's money is greater than or equal to 320:
  24.         remove 320 from player's balance
  25.         send "&a$320 &7has been removed from your balance"
  26.         give 16 stone to player
  27.       else:
  28.         send "&cYou do not have enough money to purchase this!"
  29.     format gui slot 11 of player with 16 cobblestone named "&7Cobblestone &a$160" to run:
  30.       if player's money is greater than or equal to 160:
  31.         remove 160 from player's balance
  32.         send "&a$160 &7has been removed from your balance"
  33.         give 16 cobblestone to player
  34.       else:
  35.         send "&cYou do not have enough money to purchase this!"
  36.     format gui slot 12 of player with 16 stone brick named "&7Stone Brick &a$320" to run:
  37.       if player's money is greater than or equal to 320:
  38.         remove 320 from player's balance
  39.         send "&a$320 &7has been removed from your balance"
  40.         give 16 stone brick to player
  41.       else:
  42.         send "&cYou do not have enough money to purchase this!"
  43.     format gui slot 13 of player with 16 smooth stone named "&7Smooth Stone &a$320" to run:
  44.       if player's money is greater than or equal to 320:
  45.         remove 320 from player's balance
  46.         send "&a$320 &7has been removed from your balance"
  47.         give 16 smooth stone to player
  48.       else:
  49.         send "&cYou do not have enough money to purchase this!"
  50.     format gui slot 14 of player with 16 brick block named "&7Bricks &a$320" to run:
  51.       if player's money is greater than or equal to 320:
  52.         remove 320 from player's balance
  53.         send "&a$320 &7has been removed from your balance"
  54.         give 16 brick block to player
  55.       else:
  56.         send "&cYou do not have enough money to purchase this!"
  57.     format gui slot 15 of player with 16 sand named "&7Sand &a$320" to run:
  58.       if player's money is greater than or equal to 320:
  59.         remove 320 from player's balance
  60.         send "&a$320 &7has been removed from your balance"
  61.         give 16 sand to player
  62.       else:
  63.         send "&cYou do not have enough money to purchase this!"
  64.     format gui slot 16 of player with 16 sandstone named "&7Sandstone &a$320" to run:
  65.       if player's money is greater than or equal to 320:
  66.         remove 320 from player's balance
  67.         send "&a$320 &7has been removed from your balance"
  68.         give 16 sandstone to player
  69.       else:
  70.         send "&cYou do not have enough money to purchase this!"
  71.     format gui slot 19 of player with 16 dirt named "&7Dirt &a$80" to run:
  72.       if player's money is greater than or equal to 320:
  73.         remove 320 from player's balance
  74.         send "&a$320 &7has been removed from your balance"
  75.         give 16 dirt to player
  76.       else:
  77.         send "&cYou do not have enough money to purchase this!"
  78.     format gui slot 20 of player with 16 packed ice named "&7Packed Ice &a$400" to run:
  79.       if player's money is greater than or equal to 320:
  80.         remove 400 from player's balance
  81.         send "&a$400 &7has been removed from your balance"
  82.         give 16 packed ice to player
  83.       else:
  84.         send "&cYou do not have enough money to purchase this!"
  85.     format gui slot 21 of player with 4 ice named "&7Ice &a$100" to run:
  86.       if player's money is greater than or equal to 100:
  87.         remove 100 from player's balance
  88.         send "&a$100 &7has been removed from your balance"
  89.         give 4 ice to player
  90.       else:
  91.         send "&cYou do not have enough money to purchase this!"
  92.     format gui slot 22 of player with 4 sea lantern named "&7Sea Lantern &a$50" to run:
  93.       if player's money is greater than or equal to 50:
  94.         remove 50 from player's balance
  95.         send "&a$50 &7has been removed from your balance"
  96.         give 4 sea lantern to player
  97.       else:
  98.         send "&cYou do not have enough money to purchase this!"
  99.     format gui slot 23 of player with 2 soul sand named "&7Soul Sand &a$150" to run:
  100.       if player's money is greater than or equal to 150:
  101.         remove 150 from player's balance
  102.         send "&a$150 &7has been removed from your balance"
  103.         give 2 soul sand to player
  104.       else:
  105.         send "&cYou do not have enough money to purchase this!"
  106.     format gui slot 24 of player with 4 gravel named "&7Gravel &a$50" to run:
  107.       if player's money is greater than or equal to 50:
  108.         remove 50 from player's balance
  109.         send "&a$50 &7has been removed from your balance"
  110.         give 4 gravel to player
  111.       else:
  112.         send "&cYou do not have enough money to purchase this!"
  113.     format gui slot 28 of player with 16 oak log named "&7Oak Log &a$480" to run:
  114.       if player's money is greater than or equal to 480:
  115.         remove 480 from player's balance
  116.         send "&a$480 &7has been removed from your balance"
  117.         give 16 oak log to player
  118.       else:
  119.         send "&cYou do not have enough money to purchase this!"
  120.     format gui slot 29 of player with 16 birch log named "&7Birch Log &a$480" to run:
  121.       if player's money is greater than or equal to 480:
  122.         remove 480 from player's balance
  123.         send "&a$480 &7has been removed from your balance"
  124.         give 16 birch log to player
  125.       else:
  126.         send "&cYou do not have enough money to purchase this!"
  127.     format gui slot 30 of player with 16 spruce log named "&7Spruce Log &a$480" to run:
  128.       if player's money is greater than or equal to 480:
  129.         remove 480 from player's balance
  130.         send "&a$480 &7has been removed from your balance"
  131.         give 16 spruce log to player
  132.       else:
  133.         send "&cYou do not have enough money to purchase this!"
  134.     format gui slot 31 of player with 16 jungle log named "&7Jungle Log &a$480" to run:
  135.       if player's money is greater than or equal to 480:
  136.         remove 480 from player's balance
  137.         send "&a$480 &7has been removed from your balance"
  138.         give 16 jungle log to player
  139.       else:
  140.         send "&cYou do not have enough money to purchase this!"
  141.     format gui slot 32 of player with 16 dark oak log named "&7Dark Oak Log &a$480" to run:
  142.       if player's money is greater than or equal to 480:
  143.         remove 480 from player's balance
  144.         send "&a$480 &7has been removed from your balance"
  145.         give 16 dark oak log to player
  146.       else:
  147.         send "&cYou do not have enough money to purchase this!"
  148.     format gui slot 33 of player with 16 acacia log named "&7Acacia Log &a$480" to run:
  149.       if player's money is greater than or equal to 480:
  150.         remove 480 from player's balance
  151.         send "&a$480 &7has been removed from your balance"
  152.         give 16 acacia log to player
  153.       else:
  154.         send "&cYou do not have enough money to purchase this!"
  155.     format gui slot 37 of player with 16 white concrete named "&7White Concrete &a$250" to run:
  156.       if player's money is greater than or equal to 250:
  157.         remove 250 from player's balance
  158.         send "&a$250 &7has been removed from your balance"
  159.         give 16 white concrete to player
  160.       else:
  161.         send "&cYou do not have enough money to purchase this!"
  162.     format gui slot 38 of player with 16 blue concrete named "&7Blue Concrete &a$250" to run:
  163.       if player's money is greater than or equal to 250:
  164.         remove 250 from player's balance
  165.         send "&a$250 &7has been removed from your balance"
  166.         give 16 blue concrete to player
  167.       else:
  168.         send "&cYou do not have enough money to purchase this!"
  169.     format gui slot 39 of player with 16 orange concrete named "&7Orange Concrete &a$250" to run:
  170.       if player's money is greater than or equal to 250:
  171.         remove 250 from player's balance
  172.         send "&a$250 &7has been removed from your balance"
  173.         give 16 orange concrete to player
  174.       else:
  175.         send "&cYou do not have enough money to purchase this!"
  176.     format gui slot 40 of player with 16 magenta concrete named "&7Magenta Concrete &a$250" to run:
  177.       if player's money is greater than or equal to 250:
  178.         remove 250 from player's balance
  179.         send "&a$250 &7has been removed from your balance"
  180.         give 16 magenta concrete to player
  181.       else:
  182.         send "&cYou do not have enough money to purchase this!"
  183.     format gui slot 41 of player with 16 light blue concrete named "&7Light Blue Concrete &a$250" to run:
  184.       if player's money is greater than or equal to 250:
  185.         remove 250 from player's balance
  186.         send "&a$250 &7has been removed from your balance"
  187.         give 16 light blue concrete to player
  188.       else:
  189.         send "&cYou do not have enough money to purchase this!"
  190.     format gui slot 42 of player with 16 yellow concrete named "&7Yellow Concrete &a$250" to run:
  191.       if player's money is greater than or equal to 250:
  192.         remove 250 from player's balance
  193.         send "&a$250 &7has been removed from your balance"
  194.         give 16 yellow concrete to player
  195.       else:
  196.         send "&cYou do not have enough money to purchase this!"
  197.     format gui slot 43 of player with 16 lime concrete named "&7Lime Concrete &a$250" to run:
  198.       if player's money is greater than or equal to 250:
  199.         remove 250 from player's balance
  200.         send "&a$250 &7has been removed from your balance"
  201.         give 16 lime concrete to player
  202.       else:
  203.         send "&cYou do not have enough money to purchase this!"
  204.     format gui slot 0, 9, 18, 27, 36 and 45 of player with red stained glass pane named "&cBack" to run:
  205.       execute player command "shop"
  206.     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:
  207.       send "&cThis does nothing!"
  208.     format gui slot 53 of player with lime stained glass pane named "&aNext" to run:
  209.       execute player command "shopblock2"
  210.  
  211. command /shopblock2:
  212.   trigger:
  213.     open chest with 6 rows named "&3&lBLOCKS" to player
  214.     format gui slot 0, 9, 18, 27, 36 and 45 of player with red stained glass pane named "&cBack" to run:
  215.       execute player command "shopblocks"
  216.     format gui slot 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 35, 44, 46, 47, 48, 49, 50, 51, 52 and 53 of player with gray stained glass pane named " " to run:
  217.       send "&cThis does nothing!"
  218.     format gui slot 10 of player with 16 gray concrete named "&7Gray Concrete &a$250" to run:
  219.       if player's money is greater than or equal to 250:
  220.         remove 250 from player's balance
  221.         send "&a$250 &7has been removed from your balance"
  222.         give 16 gray concrete to player
  223.       else:
  224.         send "&cYou do not have enough money to purchase this!"
  225.     format gui slot 11 of player with 16 pink concrete named "&7Pink Concrete &a$250" to run:
  226.       if player's money is greater than or equal to 250:
  227.         remove 250 from player's balance
  228.         send "&a$250 &7has been removed from your balance"
  229.         give 16 pink concrete to player
  230.       else:
  231.         send "&cYou do not have enough money to purchase this!"
  232.     format gui slot 12 of player with 16 light gray concrete named "&7Light Gray Concrete &a$250" to run:
  233.       if player's money is greater than or equal to 250:
  234.         remove 250 from player's balance
  235.         send "&a$250 &7has been removed from your balance"
  236.         give 16 concrete to player
  237.       else:
  238.         send "&cYou do not have enough money to purchase this!"
  239.     format gui slot 13 of player with 16 cyan concrete named "&7Cyan Concrete &a$250" to run:
  240.       if player's money is greater than or equal to 250:
  241.         remove 250 from player's balance
  242.         send "&a$250 &7has been removed from your balance"
  243.         give 16 cyan concrete to player
  244.       else:
  245.         send "&cYou do not have enough money to purchase this!"
  246.     format gui slot 14 of player with 16 black concrete named "&7Black Concrete &a$250" to run:
  247.       if player's money is greater than or equal to 250:
  248.         remove 250 from player's balance
  249.         send "&a$250 &7has been removed from your balance"
  250.         give 16 black concrete to player
  251.       else:
  252.         send "&cYou do not have enough money to purchase this!"
  253.     format gui slot 15 of player with 16 red concrete named "&7Red Concrete &a$250" to run:
  254.       if player's money is greater than or equal to 250:
  255.         remove 250 from player's balance
  256.         send "&a$250 &7has been removed from your balance"
  257.         give 16 red concrete to player
  258.       else:
  259.         send "&cYou do not have enough money to purchase this!"
  260.     format gui slot 16 of player with 16 purple concrete named "&7Purple Concrete &a$250" to run:
  261.       if player's money is greater than or equal to 250:
  262.         remove 250 from player's balance
  263.         send "&a$250 &7has been removed from your balance"
  264.         give 16 purple concrete to player
  265.       else:
  266.         send "&cYou do not have enough money to purchase this!"
  267.     format gui slot 19 of player with 16 brown concrete named "&7Brown Concrete &a$250" to run:
  268.       if player's money is greater than or equal to 250:
  269.         remove 250 from player's balance
  270.         send "&a$250 &7has been removed from your balance"
  271.         give 16 brown concrete to player
  272.       else:
  273.         send "&cYou do not have enough money to purchase this!"
  274.     format gui slot 20 of player with 16 green concrete named "&7Green Concrete &a$250" to run:
  275.       if player's money is greater than or equal to 250:
  276.         remove 250 from player's balance
  277.         send "&a$250 &7has been removed from your balance"
  278.         give 16 green concrete to player
  279.       else:
  280.         send "&cYou do not have enough money to purchase this!"
  281.     format gui slot 28 of player with 16 glass named "&7Glass &a$500" to run:
  282.       if player's money is greater than or equal to 500:
  283.         remove 500 from player's balance
  284.         send "&a$500 &7has been removed from your balance"
  285.         give 16 glass to player
  286.       else:
  287.         send "&cYou do not have enough money to purchase this!"
  288.     format gui slot 29 of player with 16 white stained glass named "&7White Stained Glass &a$500" to run:
  289.       if player's money is greater than or equal to 500:
  290.         remove 500 from player's balance
  291.         send "&a$500 &7has been removed from your balance"
  292.         give 16 white stained glass to player
  293.       else:
  294.         send "&cYou do not have enough money to purchase this!"
  295.     format gui slot 30 of player with 16 orange stained glass named "&7Orange Stained Glass &a$500" to run:
  296.       if player's money is greater than or equal to 500:
  297.         remove 500 from player's balance
  298.         send "&a$500 &7has been removed from your balance"
  299.         give 16 orange stained glass to player
  300.       else:
  301.         send "&cYou do not have enough money to purchase this!"
  302.     format gui slot 31 of player with 16 magenta stained glass named "&7Magenta Stained Glass &a$500" to run:
  303.       if player's money is greater than or equal to 500:
  304.         remove 500 from player's balance
  305.         send "&a$500 &7has been removed from your balance"
  306.         give 16 magenta stained glass to player
  307.       else:
  308.         send "&cYou do not have enough money to purchase this!"
  309.     format gui slot 32 of player with 16 light blue stained glass named "&7Light Blue Stained Glass &a$500" to run:
  310.       if player's money is greater than or equal to 500:
  311.         remove 500 from player's balance
  312.         send "&a$500 &7has been removed from your balance"
  313.         give 16 light blue stained glass to player
  314.       else:
  315.         send "&cYou do not have enough money to purchase this!"
  316.     format gui slot 33 of player with 16 yellow stained glass named "&7Yellow Stained Glass &a$500" to run:
  317.       if player's money is greater than or equal to 500:
  318.         remove 500 from player's balance
  319.         send "&a$500 &7has been removed from your balance"
  320.         give 16 yellow stained glass to player
  321.       else:
  322.         send "&cYou do not have enough money to purchase this!"
  323.     format gui slot 34 of player with 16 lime stained glass named "&7Lime Stained Glass &a$500" to run:
  324.       if player's money is greater than or equal to 500:
  325.         remove 500 from player's balance
  326.         send "&a$500 &7has been removed from your balance"
  327.         give 16 lime stained glass to player
  328.       else:
  329.         send "&cYou do not have enough money to purchase this!"
  330.     format gui slot 37 of player with 16 pink stained glass named "&7Pink Stained Glass &a$500" to run:
  331.       if player's money is greater than or equal to 500:
  332.         remove 500 from player's balance
  333.         send "&a$500 &7has been removed from your balance"
  334.         give 16 pink stained glass to player
  335.       else:
  336.         send "&cYou do not have enough money to purchase this!"
  337.     format gui slot 38 of player with 16 gray stained glass named "&7Gray Stained Glass &a$500" to run:
  338.       if player's money is greater than or equal to 500:
  339.         remove 500 from player's balance
  340.         send "&a$500 &7has been removed from your balance"
  341.         give 16 gray stained glass to player
  342.       else:
  343.         send "&cYou do not have enough money to purchase this!"
  344.     format gui slot 39 of player with 16 light gray stained glass named "&7Light Gray Stained Glass &a$500" to run:
  345.       if player's money is greater than or equal to 500:
  346.         remove 500 from player's balance
  347.         send "&a$500 &7has been removed from your balance"
  348.         give 16 light gray stained glass to player
  349.       else:
  350.         send "&cYou do not have enough money to purchase this!"
  351.     format gui slot 40 of player with 16 cyan stained glass named "&7Cyan Stained Glass &a$500" to run:
  352.       if player's money is greater than or equal to 500:
  353.         remove 500 from player's balance
  354.         send "&a$500 &7has been removed from your balance"
  355.         give 16 cyan stained glass to player
  356.       else:
  357.         send "&cYou do not have enough money to purchase this!"
  358.     format gui slot 41 of player with 16 purple stained glass named "&7Purple Stained Glass &a$500" to run:
  359.       if player's money is greater than or equal to 500:
  360.         remove 500 from player's balance
  361.         send "&a$500 &7has been removed from your balance"
  362.         give 16 purple stained glass to player
  363.       else:
  364.         send "&cYou do not have enough money to purchase this!"
  365.     format gui slot 42 of player with 16 blue stained glass named "&7Blue Stained Glass &a$500" to run:
  366.       if player's money is greater than or equal to 500:
  367.         remove 500 from player's balance
  368.         send "&a$500 &7has been removed from your balance"
  369.         give 16 blue stained glass to player
  370.       else:
  371.         send "&cYou do not have enough money to purchase this!"
  372.     format gui slot 43 of player with 16 red stained glass named "&7Red Stained Glass &a$500" to run:
  373.       if player's money is greater than or equal to 500:
  374.         remove 500 from player's balance
  375.         send "&a$500 &7has been removed from your balance"
  376.         give 16 red stained glass to player
  377.       else:
  378.         send "&cYou do not have enough money to purchase this!"
  379.  
  380. command /shopredstone:
  381.   trigger:
  382.     open chest with 5 rows named "&c&lREDSTONE" to player
  383.     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:
  384.       send "&cThis does nothing"
  385.     format gui slot 0, 9, 18, 27 and 36 of player with red stained glass pane named "&cClose" to run:
  386.       execute player command "shop"
  387.     format gui slot 10 of player with 16 redstone named "&7Redstone &a$750" to run:
  388.       if player's money is greater than or equal to 750:
  389.         remove 750 from player's balance
  390.         send "&a$750 &7has been removed from your balance"
  391.         give 16 redstone to player
  392.       else:
  393.         send "&cYou do not have enough money to purchase this!"
  394.     format gui slot 11 of player with 4 redstone torch named "&7Redstone Torch &a$50" to run:
  395.       if player's money is greater than or equal to 50:
  396.         remove 50 from player's balance
  397.         send "&a$50 &7has been removed from your balance"
  398.         give 4 redstone torch to player
  399.       else:
  400.         send "&cYou do not have enough money to purchase this!"
  401.     format gui slot 12 of player with 4 redstone repeater named "&7Redstone Repeater &a$250" to run:
  402.       if player's money is greater than or equal to 250:
  403.         remove 250 from player's balance
  404.         send "&a$250 &7has been removed from your balance"
  405.         give 4 redstone repeater to player
  406.       else:
  407.         send "&cYou do not have enough money to purchase this!"
  408.     format gui slot 13 of player with 4 redstone comparator named "&7Redstone Comparator &a$250" to run:
  409.       if player's money is greater than or equal to 250:
  410.         remove 250 from player's balance
  411.         send "&a$250 &7has been removed from your balance"
  412.         give 4 redstone comparator to player
  413.       else:
  414.         send "&cYou do not have enough money to purchase this!"
  415.     format gui slot 14 of player with 2 observer named "&7Observer &a$1500" to run:
  416.       if player's money is greater than or equal to 1500:
  417.         remove 1500 from player's balance
  418.         send "&a$1500 &7has been removed from your balance"
  419.         give 2 observer to player
  420.       else:
  421.         send "&cYou do not have enough money to purchase this!"
  422.     format gui slot 15 of player with 2 hopper named "&7Hopper &a$25000" to run:
  423.       if player's money is greater than or equal to 25000:
  424.         remove 25000 from player's balance
  425.         send "&a$25000 &7has been removed from your balance"
  426.         give 2 hopper to player
  427.       else:
  428.         send "&cYou do not have enough money to purchase this!"
  429.     format gui slot 16 of player with 16 piston named "&7Piston &a$1000" to run:
  430.       if player's money is greater than or equal to 1000:
  431.         remove 1000 from player's balance
  432.         send "&a$1000 &7has been removed from your balance"
  433.         give 4 piston to player
  434.       else:
  435.         send "&cYou do not have enough money to purchase this!"
  436.     format gui slot 20 of player with 8 string named "&7String &a$50" to run:
  437.       if player's money is greater than or equal to 50:
  438.         remove 50 from player's balance
  439.         send "&a$50 &7has been removed from your balance"
  440.         give 8 string to player
  441.       else:
  442.         send "&cYou do not have enough money to purchase this!"
  443.     format gui slot 21 of player with 4 rails named "&7Rails &a$500" to run:
  444.       if player's money is greater than or equal to 500:
  445.         remove 500 from player's balance
  446.         send "&a$500 &7has been removed from your balance"
  447.         give 4 rails to player
  448.       else:
  449.         send "&cYou do not have enough money to purchase this!"
  450.     format gui slot 22 of player with minecart named "&7Minecart &a$250" to run:
  451.       if player's money is greater than or equal to 250:
  452.         remove 250 from player's balance
  453.         send "&a$250 &7has been removed from your balance"
  454.         give 1 minecart to player
  455.       else:
  456.         send "&cYou do not have enough money to purchase this!"
  457.     format gui slot 23 of player with 4 powered rails named "&7Powered Rails &a$500" to run:
  458.       if player's money is greater than or equal to 500:
  459.         remove 500 from player's balance
  460.         send "&a$500 &7has been removed from your balance"
  461.         give 4 powered rail to player
  462.       else:
  463.         send "&cYou do not have enough money to purchase this!"
  464.     format gui slot 24 of player with 4 chest named "&7Chest &a$500" to run:
  465.       if player's money is greater than or equal to 500:
  466.         remove 500 from player's balance
  467.         send "&a$500 &7has been removed from your balance"
  468.         give 4 chest to player
  469.       else:
  470.         send "&cYou do not have enough money to purchase this!"
  471.     format gui slot 30 of player with 4 sticky piston named "&7Sticky Piston &a$1000" to run:
  472.       if player's money is greater than or equal to 1000:
  473.         remove 1000 from player's balance
  474.         send "&a$1000 &7has been removed from your balance"
  475.         give 4 sticky piston to player
  476.       else:
  477.         send "&cYou do not have enough money to purchase this!"
  478.     format gui slot 31 of player with 2 tripwire hook named "&7Tripwire Hook &a$50" to run:
  479.       if player's money is greater than or equal to 50:
  480.         remove 50 from player's balance
  481.         send "&a$50 &7has been removed from your balance"
  482.         give 2 tripwire hook to player
  483.       else:
  484.         send "&cYou do not have enough money to purchase this!"
  485.     format gui slot 32 of player with 2 redstone lamp named "&7Redstone Lamp &a$100" to run:
  486.       if player's money is greater than or equal to 100:
  487.         remove 100 from player's balance
  488.         send "&a$100 &7has been removed from your balance"
  489.         give 2 redstone lamp to player
  490.       else:
  491.         send "&cYou do not have enough money to purchase this!"
  492.  
  493. command /shopfarming:
  494.   trigger:
  495.     open chest with 4 rows named "&6&lFARMING" to player
  496.     format gui slot 10 of player with 4 seed named "&7Wheat Seeds &a$100" to run:
  497.       if player's money is greater than or equal to 100:
  498.         remove 100 from player's balance
  499.         send "&a$100 &7has been removed from your balance"
  500.         give 4 seed to player
  501.       else:
  502.         send "&cYou do not have enough money to purchase this!"
  503.     format gui slot 11 of player with 4 carrot named "&7Carrot &a$2500" to run:
  504.       if player's money is greater than or equal to 2500:
  505.         remove 2500 from player's balance
  506.         send "&a$2500 &7has been removed from your balance"
  507.         give 4 carrot to player
  508.       else:
  509.         send "&cYou do not have enough money to purchase this!"
  510.     format gui slot 12 of player with 4 potato named "&7Potato &a$2500" to run:
  511.       if player's money is greater than or equal to 2500:
  512.         remove 2500 from player's balance
  513.         send "&a$2500 &7has been removed from your balance"
  514.         give 4 potato to player
  515.       else:
  516.         send "&cYou do not have enough money to purchase this!"
  517.     format gui slot 13 of player with 4 melon seeds named "&7Melon Seeds &a$5000" to run:
  518.       if player's money is greater than or equal to 5000:
  519.         remove 5000 from player's balance
  520.         send "&a$5000 &7has been removed from your balance"
  521.         give 4 melon seed to player
  522.       else:
  523.         send "&cYou do not have enough money to purchase this!"
  524.     format gui slot 14 of player with 4 pumpkin seed named "&7Pumpkin Seeds &a$5000" to run:
  525.       if player's money is greater than or equal to 5000:
  526.         remove 5000 from player's balance
  527.         send "&a$5000 &7has been removed from your balance"
  528.         give 4 pumpkin seed to player
  529.       else:
  530.         send "&cYou do not have enough money to purchase this!"
  531.     format gui slot 15 of player with 4 sugar cane named "&7Sugarcane &a$10000" to run:
  532.       if player's money is greater than or equal to 10000:
  533.         remove 10000 from player's balance
  534.         send "&a$10000 &7has been removed from your balance"
  535.         give 4 sugar cane to player
  536.       else:
  537.         send "&cYou do not have enough money to purchase this!"
  538.     format gui slot 16 of player with 4 cactus named "&7Cactus &a$100" to run:
  539.       if player's money is greater than or equal to 10000:
  540.         remove 10000 from player's balance
  541.         send "&a$10000 &7has been removed from your balance"
  542.         give 4 cactus to player
  543.       else:
  544.         send "&cYou do not have enough money to purchase this!"
  545.     format gui slot 19 of player with 2 nether wart item named "&7Netherwart &a$100000" to run:
  546.       if player's money is greater than or equal to 100000:
  547.         remove 100000 from player's balance
  548.         send "&a$100000 &7has been removed from your balance"
  549.         give 2 nether wart item to player
  550.       else:
  551.         send "&cYou do not have enough money to purchase this!"
  552.     format gui slot 20 of player with water bucket named "&7Water Bucket &a$100" to run:
  553.       if player's money is greater than or equal to 100:
  554.         remove 100 from player's balance
  555.         send "&a$100 &7has been removed from your balance"
  556.         give 1 water bucket to player
  557.       else:
  558.         send "&cYou do not have enough money to purchase this!"
  559.     format gui slot 21 of player with lava bucket named "&7Lava Bucket &a$100" to run:
  560.       if player's money is greater than or equal to 100:
  561.         remove 100 from player's balance
  562.         send "&a$100 &7has been removed from your balance"
  563.         give 1 lava bucket to player
  564.       else:
  565.         send "&cYou do not have enough money to purchase this!"
  566.     format gui slot 0, 9, 18 and 27 of player with red stained glass pane named "&cBack" to run:
  567.       execute player command "shop"
  568.     format gui slot 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 28, 29, 30, 31, 32, 33, 34 and 35 of player with gray stained glass pane named " " to run:
  569.       send "&cThis does nothing!"
  570.  
  571. command /shopcustom:
  572.   trigger:
  573.     open chest with 4 rows named "&4&lCUSTOM SEEDS" to player
  574.     format gui slot 10 of player with seed with name "&8Coal Seeds &a$25000" to run:
  575.       if player's money is greater than or equal to 25000:
  576.         remove 25000 from player's balance
  577.         send "&a$25000 &7has been removed from your balance"
  578.         give 1 seed named "&8Coal Seed" to player
  579.       else:
  580.         send "&cYou do not have enough money to purchase this!"
  581.     format gui slot 11 of player with seed with name "&7Iron Seed &a$50000" to run:
  582.       if player's money is greater than or equal to 50000:
  583.         remove 50000 from player's balance
  584.         send "&a$50000 &7has been removed from your balance"
  585.         give 1 seed named "&fIron Seed" to player
  586.       else:
  587.         send "&cYou do not have enough money to purchase this!"
  588.     format gui slot 12 of player with seed with name "&7Gold Seed &a$100000" to run:
  589.       if player's money is greater than or equal to 1000000:
  590.         remove 100000 from player's balance
  591.         send "&a$100000 &7has been removed from your balance"
  592.         give 1 seed named "&6Gold Seed" to player
  593.       else:
  594.         send "&cYou do not have enough money to purchase this!"
  595.     format gui slot 13 of player with seed with name "&7Diamond Seed &a$250000" to run:
  596.       if player's money is greater than or equal to 250000:
  597.         remove 250000 from player's balance
  598.         send "&a$250000 &7has been removed from your balance"
  599.         give 1 seed named "&bDiamond Seed" to player
  600.       else:
  601.         send "&cYou do not have enough money to purchase this!"
  602.     format gui slot 14 of player with seed with name "&7Emerald Seed &a$1000000" to run:
  603.       if player's money is greater than or equal to 1000000:
  604.         remove 1000000 from player's balance
  605.         send "&a$1000000 &7has been removed from your balance"
  606.         give 1 seed named "&aEmerald Seed" to player
  607.       else:
  608.         send "&cYou do not have enough money to purchase this!"
  609.     format gui slot 15 of player with seed with name "&7Prismarine Seed &a$2500000" to run:
  610.       if player's money is greater than or equal to 2500000:
  611.         remove 2500000 from player's balance
  612.         send "&a$2500000 &7has been removed from your balance"
  613.         give 1 seed named "&3Prismarine Seed" to player
  614.       else:
  615.         send "&cYou do not have enough money to purchase this!"
  616.     format gui slot 16 of player with seed named "&7Quartz Seed &a$5000000" to run:
  617.       if player's money is greater than or equal to 5000000:
  618.         remove 5000000 from player's balance
  619.         send "&a$5000000 &7has been removed from your balance"
  620.         give 1 seed named "&7Quartz Seed" to player
  621.       else:
  622.         send "&cYou do not have enough money to purchase this!"
  623.     format gui slot 19 of player with seed with name "&7Nether Brick Seed &a$10000000" to run:
  624.       if player's money is greater than or equal to 100000:
  625.         remove 10000000 from player's balance
  626.         send "&a$10000000 &7has been removed from your balance"
  627.         give 1 seed named "&4Nether Brick Seed" to player
  628.       else:
  629.         send "&cYou do not have enough money to purchase this!"
  630.     format gui slot 20 of player with seed with name "&7Golden Apple Seed &a$25000000" to run:
  631.       if player's money is greater than or equal to 25000000:
  632.         remove 25000000 from player's balance
  633.         send "&a$25000000 &7has been removed from your balance"
  634.         give 1 seed named "&eGolden Apple Seed" to player
  635.       else:
  636.         send "&cYou do not have enough money to purchase this!"
  637.     format gui slot 0, 9, 18 and 27 of player with red stained glass pane named "&cBack" to run:
  638.       execute player command "shop"
  639.     format gui slot 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 28, 29, 30, 31, 32, 33, 34 and 35 of player with gray stained glass pane named " " to run:
  640.       send "&cThis does nothing!"
  641.  
  642. command /shopranks:
  643.   trigger:
  644.     open chest with 4 rows named "&b&lRANKS" to player
  645.     format gui slot 10 of player with paper with name "&a&lFarmer &a$100000" with lore "&72 Plots" to run:
  646.       if player's money is greater than or equal to 100000:
  647.         remove 100000 from player's balance
  648.         send "&a$100000 &7has been removed from your balance"
  649.         execute console command "pex group farmer user add %player%"
  650.       else:
  651.         send "&cYou do not have enough money to purchase this!"
  652.     format gui slot 11 of player with paper with name "&2&lPlanter &a$250000" with lore "&73 Plots" to run:
  653.       if player's money is greater than or equal to 250000:
  654.         remove 250000 from player's balance
  655.         send "&a$250000 &7has been removed from your balance"
  656.         execute console command "pex group planter user add %player%"
  657.       else:
  658.         send "&cYou do not have enough money to purchase this!"
  659.     format gui slot 12 of player with paper with name "&3&lHarvester &a$1000000" with lore "&74 Plots" to run:
  660.       if player's money is greater than or equal to 1000000:
  661.         remove 1000000 from player's balance
  662.         send "&a$1000000 &7has been removed from your balance"
  663.         execute console command "pex group harvester user add %player%"
  664.       else:
  665.         send "&cYou do not have enough money to purchase this!"
  666.     format gui slot 13 of player with paper with name "&d&lMerchant &a$2500000" with lore "&75 Plots" to run:
  667.       if player's money is greater than or equal to 2500000:
  668.         remove 2500000 from player's balance
  669.         send "&a$2500000 &7has been removed from your balance"
  670.         execute console command "pex group merchant user add %player%"
  671.       else:
  672.         send "&cYou do not have enough money to purchase this!"
  673.     format gui slot 14 of player with paper with name "&a&lKnight &a$5000000" with lore "&76 Plots /fly" to run:
  674.       if player's money is greater than or equal to 5000000:
  675.         remove 5000000 from player's balance
  676.         send "&a$5000000 &7has been removed from your balance"
  677.         execute console command "pex group knight user add %player%"
  678.       else:
  679.         send "&cYou do not have enough money to purchase this!"
  680.     format gui slot 15 of player with paper with name "&6&lElite &a$10000000" with lore "&77 Plots /enderchest" to run:
  681.       if player's money is greater than or equal to 10000000:
  682.         remove 10000000 from player's balance
  683.         send "&a$10000000 &7has been removed from your balance"
  684.         execute console command "pex group elite user add %player%"
  685.       else:
  686.         send "&cYou do not have enough money to purchase this!"
  687.     format gui slot 16 of player with paper with name "&b&lMage &a$25000000" with lore "&78 Plots" to run:
  688.       if player's money is greater than or equal to 25000000:
  689.         remove 25000000 from player's balance
  690.         send "&a$25000000 &7has been removed from your balance"
  691.         execute console command "pex group mage user add %player%"
  692.       else:
  693.         send "&cYou do not have enough money to purchase this!"
  694.     format gui slot 19 of player with paper with name "&6&lKing &a$50000000" with lore "&79 Plots /daily (WIP)" to run:
  695.       if player's money is greater than or equal to 50000000:
  696.         remove 50000000 from player's balance
  697.         send "&a$50000000 &7has been removed from your balance"
  698.         execute console command "pex group king user add %player%"
  699.       else:
  700.         send "&cYou do not have enough money to purchase this!"
  701.     format gui slot 22 of player with stick named "&3&lSell Wand &a$2500000" with lore "&aLeft click your chests!" to run:
  702.       if player's money is greater than or equal to 2500000:
  703.         remove 2500000 from player's balance
  704.         send "&a$2500000 &7has been removed from your balance"
  705.         give player 1 of glowing blaze rod named "&6&l1x &e&lSellwand" with lore "&7Left click your chests!"
  706.       else:
  707.         send "&cYou do not have enough money to purchase this!"
  708.     format gui slot 0, 9, 18 and 27 of player with red stained glass pane named "&cBack" to run:
  709.       execute player command "shop"
  710.     format gui slot 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 28, 29, 30, 31, 32, 33, 34 and 35 of player with gray stained glass pane named " " to run:
  711.       send "&cThis does nothing!"
  712.    
  713.    
  714.  
  715. command /shoptools:
  716.   trigger:
  717.     open chest with 6 rows named "&f&lTOOLS" to player
  718.     format gui slot 10 of player with wooden pickaxe named "&7Wooden Pickaxe &a$50" to run:
  719.       if player's money is greater than or equal to 50:
  720.         remove 50 from player's balance
  721.         send "&a$50 &7has been removed from your balance"
  722.         give 1 wooden pickaxe to player
  723.       else:
  724.         send "&cYou do not have enough money to purchase this!"      
  725.     format gui slot 12 of player with stone pickaxe named "&7Stone Pickaxe &a$250" to run:
  726.       if player's money is greater than or equal to 250:
  727.         remove 250 from player's balance
  728.         send "&a$250 &7has been removed from your balance"
  729.         give 1 stone pickaxe to player
  730.       else:
  731.         send "&cYou do not have enough money to purchase this!"      
  732.     format gui slot 14 of player with iron pickaxe named "&7Iron Pickaxe &a$1000" to run:
  733.       if player's money is greater than or equal to 1000:
  734.         remove 1000 from player's balance
  735.         send "&a$1000 &7has been removed from your balance"
  736.         give 1 iron pickaxe to player
  737.       else:
  738.         send "&cYou do not have enough money to purchase this!"    
  739.     format gui slot 16 of player with diamond pickaxe named "&7Diamond Pickaxe &a$2500" to run:
  740.       if player's money is greater than or equal to 2500:
  741.         remove 2500 from player's balance
  742.         send "&a$2500 &7has been removed from your balance"
  743.         give 1 diamond pickaxe to player
  744.       else:
  745.         send "&cYou do not have enough money to purchase this!"
  746.     format gui slot 19 of player with wooden axe named "&7Wooden Axe &a$50" to run:
  747.       if player's money is greater than or equal to 50:
  748.         remove 50 from player's balance
  749.         send "&a$50 &7has been removed from your balance"
  750.         give 1 wooden axe to player
  751.       else:
  752.         send "&cYou do not have enough money to purchase this!"          
  753.     format gui slot 21 of player with stone axe named "&7Stone Axe &a$250" to run:
  754.       if player's money is greater than or equal to 250:
  755.         remove 250 from player's balance
  756.         send "&a$250 &7has been removed from your balance"
  757.         give 1 stone axe to player
  758.       else:
  759.         send "&cYou do not have enough money to purchase this!"
  760.     format gui slot 23 of player with iron axe named "&7Iron Axe &a$1000" to run:
  761.       if player's money is greater than or equal to 1000:
  762.         remove 1000 from player's balance
  763.         send "&a$1000 &7has been removed from your balance"
  764.         give 1 iron axe to player
  765.       else:
  766.         send "&cYou do not have enough money to purchase this!"
  767.     format gui slot 25 of player with diamond axe named "&7Diamond Axe &a$2500" to run:
  768.       if player's money is greater than or equal to 2500:
  769.         remove 2500 from player's balance
  770.         send "&a$2500 &7has been removed from your balance"
  771.         give 1 diamond axe to player
  772.       else:
  773.         send "&cYou do not have enough money to purchase this!"
  774.     format gui slot 28 of player with wooden shovel named "&7Wooden Shovel &a$50" to run:
  775.       if player's money is greater than or equal to 50:
  776.         remove 50 from player's balance
  777.         send "&a$50 &7has been removed from your balance"
  778.         give 1 wooden shovel to player
  779.       else:
  780.         send "&cYou do not have enough money to purchase this!"
  781.     format gui slot 30 of player with stone shovel named "&7Stone Shovel &a$250" to run:
  782.       if player's money is greater than or equal to 250:
  783.         remove 250 from player's balance
  784.         send "&a$250 &7has been removed from your balance"
  785.         give 1 stone shovel to player
  786.       else:
  787.         send "&cYou do not have enough money to purchase this!"
  788.     format gui slot 32 of player with iron shovel named "&7Iron Shovel &a$1000" to run:
  789.       if player's money is greater than or equal to 1000:
  790.         remove 1000 from player's balance
  791.         send "&a$1000 &7has been removed from your balance"
  792.         give 1 iron shovel to player
  793.       else:
  794.         send "&cYou do not have enough money to purchase this!"
  795.     format gui slot 34 of player with diamond shovel named "&7Diamond Shovel &a$2500" to run:
  796.       if player's money is greater than or equal to 2500:
  797.         remove 2500 from player's balance
  798.         send "&a$2500 &7has been removed from your balance"
  799.         give 1 diamond shovel to player
  800.       else:
  801.         send "&cYou do not have enough money to purchase this!"
  802.     format gui slot 40 of player with diamond hoe named "&7Diamond Hoe &a$500" to run:
  803.       if player's money is greater than or equal to 500:
  804.         remove 500 from player's balance
  805.         send "&a$500 &7has been removed from your balance"
  806.         give 1 diamond hoe to player
  807.       else:
  808.         send "&cYou do not have enough money to purchase this!"
  809.     format gui slot 0, 9, 18, 27, 36 and 45 of player with red stained glass pane named "&cBack" to run:
  810.       execute player command "shop"
  811.     format gui slot 1, 2, 3, 4, 5, 6, 7, 8, 17, 26, 35, 44, 46, 47, 48, 49, 50, 51, 52 and 53 of player with gray stained glass pane named " " to run:
  812.       send "&cThis does nothing!"
  813.  
  814.  
  815.  
  816.  
  817.    
  818. command /close:
  819.   trigger:
  820.     send "&aClosed!"
  821.     close player's inventory
  822.  
  823. command /balance [<offline player>]:
  824.   trigger:
  825.     if arg 1 isn't set:
  826.       send " "
  827.       send "&3&lYOUR BALANCE"
  828.       send "&7%player's money%"
  829.       send " "
  830.     if arg 1 is set:
  831.       send " "
  832.       send "&3&l%arg 1%&3&l's BALANCE"
  833.       send "&7%arg 1's money%"
  834.       send " "
  835.  
  836. command /bal [<offline player>]:
  837.   trigger:
  838.     if arg 1 isn't set:
  839.       send " "
  840.       send "&3&lYOUR BALANCE"
  841.       send "&7%player's money%"
  842.       send " "
  843.     if arg 1 is set:
  844.       send " "
  845.       send "&3&l%arg 1%&3&l's BALANCE"
  846.       send "&7%arg 1's money%"
  847.       send " "
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top