daily pastebin goal
68%
SHARE
TWEET

Untitled

a guest Mar 25th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.     BUYstone: 2
  3.     BUYcobblestone: 1
  4.     BUYmoss: 10
  5.     BUYdirt: 20
  6.     BUYgrass: 80
  7.     BUYmycelium: 30
  8.     BUYsand: 5
  9.     BUYgravel: 3
  10.     BUYclay: 5
  11.     BUYhardenedclay: 5
  12.     BUYlog: 4
  13.     BUYwool: 5
  14.     BUYquartz: 10
  15.     BUYsnow: 2
  16.     BUYglass: 10
  17.     BUYice: 50
  18.     BUYpackedice: 80
  19.     BUYendstone: 20
  20.     BUYobsidian: 300
  21.  
  22.     BUYapple: 5
  23.     BUYgapple: 50
  24.     BUYgodapple: 500
  25.     BUYbread: 5
  26.     BUYpork: 10
  27.     BUYsteak: 10
  28.     BUYcookie: 2
  29.     BUYchick: 10
  30.     BUYfish: 10
  31.     BUYsalmon: 10
  32.     BUYcake: 30
  33.     BUYmushroom: 10
  34.     BUYpotato: 3
  35.     BUYcarrot: 3
  36.  
  37.     BUYemerald: 30
  38.     BUYdiamond: 25
  39.     BUYgold: 15
  40.     BUYiron: 10
  41.     BUYcoal: 5
  42.     BUYredstone: 3
  43.     BUYlapis: 3
  44.  
  45.     BUYrepeater: 10
  46.     BUYcomparator: 15
  47.     BUYspiston: 10
  48.     BUYpiston: 10
  49.     BUYdispenser: 10
  50.     BUYhopper: 50
  51.     BUYdlsensor: 50
  52.  
  53.     BUYwheats: 2
  54.     BUYwheat: 5
  55.     BUYsapling0: 5
  56.     BUYsapling1: 5
  57.     BUYsapling2: 5
  58.     BUYsapling3: 5
  59.     BUYvine: 10
  60.     BUYwaterlily: 20
  61.     BUYmelons: 2
  62.     BUYmelon: 10
  63.     BUYpumpkins: 2
  64.     BUYpumpkin: 10
  65.     BUYcane: 10
  66.     BUYcactus: 10
  67.    
  68.     BUYwbucket: 200
  69.     BUYlbucket: 500
  70.     BUYbucket: 100
  71.     BUYepearl: 40
  72.     BUYsnowball: 2
  73.     BUYnetherstar: 100000
  74.     BUYechest: 1000
  75.     BUYnametag: 50
  76.     BUYlead: 30
  77.     BUYstring: 5
  78.     BUYbone: 5
  79.     BUYdhorse: 150
  80.     BUYenchbottle: 10
  81.     BUYenchtable: 1000
  82.  
  83.     BUYpig: 10000
  84.     BUYcow: 15000
  85.     BUYchicken: 10000
  86.     BUYsheep: 15000
  87.     BUYvillager: 100000
  88.     BUYrabbit: 2000
  89.     BUYhorse: 50000
  90.     BUYsquid: 2000
  91.     BUYocelot: 2000
  92.     BUYwolf: 5000
  93.     BUYmushcow: 20000
  94.    
  95.    
  96.    
  97.     SELLstone: 1
  98.     SELLcobblestone: 0.5
  99.     SELLmoss: 5
  100.     SELLdirt: 10
  101.     SELLgrass: 40
  102.     SELLmycelium: 15
  103.     SELLsand: 2.5
  104.     SELLgravel: 1.5
  105.     SELLclay: 2.5
  106.     SELLhardenedclay: 2.5
  107.     SELLlog: 2
  108.     SELLwool: 2.5
  109.     SELLquartz: 5
  110.     SELLsnow: 1
  111.     SELLglass: 5
  112.     SELLice: 25
  113.     SELLpackedice: 40
  114.     SELLendstone: 10
  115.     SELLobsidian: 150
  116.  
  117.     SELLapple: 2.5
  118.     SELLgapple: 25
  119.     SELLgodapple: 250
  120.     SELLbread: 2.5
  121.     SELLpork: 5
  122.     SELLsteak: 5
  123.     SELLcookie: 1
  124.     SELLchick: 5
  125.     SELLfish: 5
  126.     SELLsalmon: 5
  127.     SELLcake: 15
  128.     SELLmushroom: 5
  129.     SELLpotato: 1.5
  130.     SELLcarrot: 1.5
  131.  
  132.     SELLemerald: 15
  133.     SELLdiamond: 12.5
  134.     SELLgold: 7.5
  135.     SELLiron: 5
  136.     SELLcoal: 2.5
  137.     SELLredstone: 1.5
  138.     SELLlapis: 1.5
  139.  
  140.     SELLrepeater: 5
  141.     SELLcomparator: 7.5
  142.     SELLspiston: 5
  143.     SELLpiston: 5
  144.     SELLdispenser: 5
  145.     SELLhopper: 25
  146.     SELLdlsensor: 25
  147.  
  148.     SELLwheats: 1
  149.     SELLwheat: 2.5
  150.     SELLsapling0: 2.5
  151.     SELLsapling1: 2.5
  152.     SELLsapling2: 2.5
  153.     SELLsapling3: 2.5
  154.     SELLvine: 5
  155.     SELLwaterlily: 10
  156.     SELLmelons: 1
  157.     SELLmelon: 5
  158.     SELLpumpkins: 1
  159.     SELLpumpkin: 5
  160.     SELLcane: 5
  161.     SELLcactus: 5
  162.  
  163.     SELLwbucket: 100
  164.     SELLlbucket: 250
  165.     SELLbucket: 50
  166.     SELLepearl: 20
  167.     SELLsnowball: 1
  168.     SELLnetherstar: 50000
  169.     SELLechest: 500
  170.     SELLnametag: 25
  171.     SELLlead: 15
  172.     SELLstring: 2.5
  173.     SELLbone: 2.5
  174.     SELLdhorse: 75
  175.     SELLenchbottle: 5
  176.     SELLenchtable: 500
  177.  
  178.     SELLpig: 5000
  179.     SELLcow: 7500
  180.     SELLchicken: 5000
  181.     SELLsheep: 7500
  182.     SELLvillager: 50000
  183.     SELLrabbit: 1000
  184.     SELLhorse: 2500
  185.     SELLsquid: 1000
  186.     SELLocelot: 1000
  187.     SELLwolf: 2500
  188.     SELLmushcow: 10000
  189.  
  190.  
  191. command /shop [<text>]:
  192.     permission: command.shop
  193.     permission message: [&c&l!&f] You don't have permission
  194.     trigger:
  195.         if arg 1 is not set:
  196.             if {wait.%player%} does not exist:
  197.                 set {wait.%player%} to false
  198.             if {wait.%player%} is true:
  199.                 wait 3 ticks
  200.                 set {wait.%player%} to false
  201.             open chest with 5 rows named "&9Server Shop" to player
  202.             set {_slot} to 0
  203.             loop 45 times:
  204.                 format slot {_slot} of player with gray glass named "" to be unstealable
  205.                 add 1 to {_slot}
  206.             format slot 19 of player with grass named "&4&lBlocks" with lore "&7Click to open the||&4Blocks &7shop" to run [make player execute command "/shop blocks"]
  207.             format slot 20 of player with apple named "&c&lFood" with lore "&7Click to open the||&cFood &7shop" to run [make player execute command "/shop food"]
  208.             format slot 21 of player with diamond named "&6&lMinerals" with lore "&7Click to open the||&6Minerals &7shop" to run [make player execute command "/shop minerals"]
  209.             format slot 22 of player with oak sapling named "&e&lNature" with lore "&7Click to open the||&eNature &7shop" to run [make player execute command "/shop nature"]
  210.             format slot 23 of player with spawn egg named "&a&lEggs" with lore "&7Click to open the||&aEggs &7shop" to run [make player execute command "/shop egg"]
  211.             format slot 24 of player with redstone named "&2&lRedstone" with lore "&7Click to open the||&2Redstone &7shop" to run [make player execute command "/shop redstone"]
  212.             format slot 25 of player with saddle named "&9&lMiscellaneous" with lore "&7Click to open the||&9Miscellaneous &7shop" to run [make player execute command "/shop mix"]
  213.             format slot 40 of player with barrier named "&7Close" to close
  214.             format slot 41 of player with emerald named "&6Money" with lore "&f&m-+----------+-||&7Your money: &6%player's balance%||&f&m-+----------+-" to be unstealable
  215.         if arg 1 is "blocks":
  216.             set {_slot} to 0
  217.             loop 45 times:
  218.                 format slot {_slot} of player with gray glass named "" to be unstealable
  219.                 add 1 to {_slot}
  220.             set {inshop.%player%} to "Shop"
  221.             format slot 10 of player with stone to run [set {object.%player%} to stone]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  222.             format slot 11 of player with cobble to run [set {object.%player%} to cobble]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  223.             format slot 12 of player with mossy cobble to run [set {object.%player%} to  mossy cobble]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  224.             format slot 13 of player with dirt to run [set {object.%player%} to dirt]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  225.             format slot 14 of player with grass to run [set {object.%player%} to grass]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  226.             format slot 15 of player with mycelium to run [set {object.%player%} to mycelium]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  227.             format slot 16 of player with sand to run [set {object.%player%} to sand]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  228.             format slot 19 of player with gravel to run [set {object.%player%} to gravel]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  229.             format slot 20 of player with clay block to run [set {object.%player%} to clay block]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  230.             format slot 21 of player with hardened clay to run [set {object.%player%} to hardened clay]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  231.             format slot 22 of player with log:0 to run [set {object.%player%} to log:0]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  232.             format slot 23 of player with log:1 to run [set {object.%player%} to log:1]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  233.             format slot 24 of player with log:2 to run [set {object.%player%} to log:2]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  234.             format slot 25 of player with wool:0 to run [set {object.%player%} to wool]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  235.             format slot 28 of player with quartz block to run [set {object.%player%} to quartz block]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  236.             format slot 29 of player with snow to run [set {object.%player%} to snow]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  237.             format slot 30 of player with glass to run [set {object.%player%} to glass]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  238.             format slot 31 of player with ice to run [set {object.%player%} to ice]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  239.             format slot 32 of player with packed ice to run [set {object.%player%} to packed ice]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  240.             format slot 33 of player with end stone to run [set {object.%player%} to end stone]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  241.             format slot 34 of player with obsidian to run [set {object.%player%} to obsidian]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  242.             format slot 40 of player with red glass named "&7Back" to run [set {back.%player%} to true]->[set {fromgui.%player%} to true]->[make player execute command "/shopback"]
  243.             format slot 41 of player with emerald named "&6Money" with lore "&f&m-+----------+-||&7Your money: &6%player's balance%||&f&m-+----------+-" to be unstealable
  244.         if arg 1 is "food":
  245.             set {_slot} to 0
  246.             loop 45 times:
  247.                 format slot {_slot} of player with gray glass named "" to be unstealable
  248.                 add 1 to {_slot}
  249.             set {inshop.%player%} to "Shop"
  250.             format slot 10 of player with apple to run [set {object.%player%} to apple]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  251.             format slot 11 of player with golden apple:0 to run [set {object.%player%} to golden apple:0]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  252.             format slot 12 of player with golden apple:1 to run [set {object.%player%} to golden apple:1]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  253.             format slot 13 of player with bread to run [set {object.%player%} to bread]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  254.             format slot 14 of player with cooked porkchop to run [set {object.%player%} to cooked porkchop]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  255.             format slot 15 of player with steak to run [set {object.%player%} to steak]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  256.             format slot 16 of player with cookie to run [set {object.%player%} to cookie]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  257.             format slot 19 of player with cooked chicken to run [set {object.%player%} to cooked chicken]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  258.             format slot 20 of player with cooked fish to run [set {object.%player%} to cooked fish]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  259.             format slot 21 of player with cooked salmon to run [set {object.%player%} to cooked salmon]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  260.             format slot 22 of player with cake item to run [set {object.%player%} to cake item]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  261.             format slot 23 of player with mushroom stew to run [set {object.%player%} to mushroom stew]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  262.             format slot 24 of player with carrot to run [set {object.%player%} to carrot]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  263.             format slot 25 of player with potato to run [set {object.%player%} to potato]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  264.             format slot 40 of player with red glass named "&7Back" to run [set {back.%player%} to true]->[make player execute command "/shopback"]
  265.             format slot 41 of player with emerald named "&6Money" with lore "&f&m-+----------+-||&7Your money: &6%player's balance%||&f&m-+----------+-" to be unstealable
  266.         if arg 1 is "minerals":
  267.             set {_slot} to 0
  268.             loop 45 times:
  269.                 format slot {_slot} of player with gray glass named "" to be unstealable
  270.                 add 1 to {_slot}
  271.             set {inshop.%player%} to "Shop"
  272.             format slot 10 of player with emerald to run [set {object.%player%} to emerald]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  273.             format slot 11 of player with diamond to run [set {object.%player%} to diamond]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  274.             format slot 12 of player with gold ingot to run [set {object.%player%} to gold ingot]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  275.             format slot 13 of player with iron ingot to run [set {object.%player%} to iron ingot]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  276.             format slot 14 of player with coal to run [set {object.%player%} to coal item]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  277.             format slot 15 of player with lapis lazuli to run [set {object.%player%} to lapis lazuli]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  278.             format slot 16 of player with redstone to run [set {object.%player%} to redstone]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  279.             format slot 40 of player with red glass named "&7Back" to run [set {back.%player%} to true]->[make player execute command "/shopback"]
  280.             format slot 41 of player with emerald named "&6Money" with lore "&f&m-+----------+-||&7Your money: &6%player's balance%||&f&m-+----------+-" to be unstealable
  281.         if arg 1 is "redstone":
  282.             set {_slot} to 0
  283.             loop 45 times:
  284.                 format slot {_slot} of player with gray glass named "" to be unstealable
  285.                 add 1 to {_slot}
  286.             set {inshop.%player%} to "Shop"
  287.             format slot 10 of player with redstone repeater item to run [set {object.%player%} to redstone repeater item]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  288.             format slot 11 of player with redstone comparator item to run [set {object.%player%} to redstone comparator item]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  289.             format slot 12 of player with sticky piston base to run [set {object.%player%} to sticky piston base]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  290.             format slot 13 of player with piston base to run [set {object.%player%} to piston base]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  291.             format slot 14 of player with dispenser to run [set {object.%player%} to dispenser]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  292.             format slot 15 of player with hopper to run [set {object.%player%} to hopper]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  293.             format slot 16 of player with daylight sensor to run [set {object.%player%} to daylight sensor]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  294.             format slot 40 of player with red glass named "&7Back" to run [set {back.%player%} to true]->[make player execute command "/shopback"]
  295.             format slot 41 of player with emerald named "&6Money" with lore "&f&m-+----------+-||&7Your money: &6%player's balance%||&f&m-+----------+-" to be unstealable
  296.         if arg 1 is "nature":
  297.             set {_slot} to 0
  298.             loop 45 times:
  299.                 format slot {_slot} of player with gray glass named "" to be unstealable
  300.                 add 1 to {_slot}
  301.             set {inshop.%player%} to "Shop"
  302.             format slot 10 of player with sapling:0 to run [set {object.%player%} to sapling:0]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  303.             format slot 11 of player with sapling:1 to run [set {object.%player%} to sapling:1]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  304.             format slot 12 of player with sapling:2 to run [set {object.%player%} to sapling:2]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  305.             format slot 13 of player with sapling:3 to run [set {object.%player%} to sapling:3]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  306.             format slot 14 of player with wheat seeds to run [set {object.%player%} to wheat seeds]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  307.             format slot 15 of player with pumpkin seeds to run [set {object.%player%} to pumpkin seeds]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  308.             format slot 16 of player with melon seeds to run [set {object.%player%} to melon seeds]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  309.             format slot 19 of player with wheat to run [set {object.%player%} to wheat]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  310.             format slot 20 of player with pumpkin to run [set {object.%player%} to pumpkin]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  311.             format slot 21 of player with melon block to run [set {object.%player%} to melon block]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  312.             format slot 22 of player with vines to run [set {object.%player%} to vines]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  313.             format slot 23 of player with lily pad to run [set {object.%player%} to lily pad]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  314.             format slot 24 of player with sugar cane item to run [set {object.%player%} to sugar cane item]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  315.             format slot 25 of player with cactus to run [set {object.%player%} to cactus]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  316.             format slot 40 of player with red glass named "&7Back" to run [set {back.%player%} to true]->[make player execute command "/shopback"]
  317.             format slot 41 of player with emerald named "&6Money" with lore "&f&m-+----------+-||&7Your money: &6%player's balance%||&f&m-+----------+-" to be unstealable
  318.         if arg 1 is "mix":
  319.             set {_slot} to 0
  320.             loop 45 times:
  321.                 format slot {_slot} of player with gray glass named "" to be unstealable
  322.                 add 1 to {_slot}
  323.             set {inshop.%player%} to "Shop"
  324.             format slot 10 of player with water bucket to run [set {object.%player%} to water bucket]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  325.             format slot 11 of player with lava bucket to run [set {object.%player%} to lava bucket]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  326.             format slot 12 of player with bucket to run [set {object.%player%} to bucket]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  327.             format slot 13 of player with ender pearl to run [set {object.%player%} to ender pearl]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  328.             format slot 14 of player with snowball to run [set {object.%player%} to snowball]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  329.             format slot 15 of player with nether star to run [set {object.%player%} to nether star]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  330.             format slot 16 of player with ender chest to run [set {object.%player%} to ender chest]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  331.             format slot 19 of player with name tag to run [set {object.%player%} to name tag]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  332.             format slot 20 of player with lead to run [set {object.%player%} to lead]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  333.             format slot 21 of player with string to run [set {object.%player%} to string]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  334.             format slot 22 of player with bone to run [set {object.%player%} to bone]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  335.             format slot 23 of player with diamond horse armor to run [set {object.%player%} to diamond horse armor]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  336.             format slot 24 of player with experience bottle to run [set {object.%player%} to experience bottle]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  337.             format slot 25 of player with enchantment table to run [set {object.%player%} to enchantment table]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  338.             format slot 40 of player with red glass named "&7Back" to run [set {back.%player%} to true]->[make player execute command "/shopback"]
  339.             format slot 41 of player with emerald named "&6Money" with lore "&f&m-+----------+-||&7Your money: &6%player's balance%||&f&m-+----------+-" to be unstealable
  340.         if arg 1 is "egg":
  341.             set {_slot} to 0
  342.             loop 45 times:
  343.                 format slot {_slot} of player with gray glass named "" to be unstealable
  344.                 add 1 to {_slot}
  345.             set {inshop.%player%} to "Shop"
  346.             format slot 10 of player with spawn egg:90 to run [set {object.%player%} to spawn egg:90]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  347.             format slot 11 of player with spawn egg:91 to run [set {object.%player%} to spawn egg:91]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  348.             format slot 12 of player with spawn egg:92 to run [set {object.%player%} to spawn egg:92]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  349.             format slot 13 of player with spawn egg:93 to run [set {object.%player%} to spawn egg:93]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  350.             format slot 14 of player with spawn egg:94 to run [set {object.%player%} to spawn egg:94]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  351.             format slot 15 of player with spawn egg:95 to run [set {object.%player%} to spawn egg:95]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  352.             format slot 16 of player with spawn egg:96 to run [set {object.%player%} to spawn egg:96]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  353.             format slot 19 of player with spawn egg:98 to run [set {object.%player%} to spawn egg:98]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  354.             format slot 20 of player with spawn egg:100 to run [set {object.%player%} to spawn egg:100]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  355.             format slot 21 of player with spawn egg:101 to run [set {object.%player%} to spawn egg:101]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  356.             format slot 22 of player with spawn egg:120 to run [set {object.%player%} to spawn egg:120]->[set {fromgui.%player%} to true]->[make player execute command "/shop pay"]
  357.             format slot 40 of player with red glass named "&7Back" to run [set {back.%player%} to true]->[set {fromgui.%player%} to true]->[make player execute command "/shopback"]
  358.             format slot 41 of player with emerald named "&6Money" with lore "&f&m-+----------+-||&7Your money: &6%player's balance%||&f&m-+----------+-" to be unstealable
  359.            
  360.            
  361.            
  362.            
  363.            
  364.            
  365.            
  366.            
  367.            
  368.         if arg 1 is "pay":
  369.             if {fromgui.%player%} is true:
  370.                 set {_slot} to 0
  371.                 loop 45 times:
  372.                     format slot {_slot} of player with gray glass named "" to be unstealable
  373.                     add 1 to {_slot}
  374.                 format slot 21 of player with orange glass named "&6&lBuy &7[Click]" to run [set {fromgui.%player%} to true]->[make player execute command "/shop buy"]
  375.                 format slot 23 of player with blue glass named "&9&lSell &7[Click]" to run [set {fromgui.%player%} to true]->[make player execute command "/shop sell"]
  376.                 format slot 40 of player with red glass named "&7Back" to run [set {back.%player%} to true]->[make player execute command "/shopback"]
  377.                 if {object.%player%} is enchantment table:
  378.                     set {cost.%player%.1} to {@BUYenchtable}
  379.                     set {cost.%player%.4} to ({@BUYenchtable} * 4)
  380.                     set {cost.%player%.12} to ({@BUYenchtable} * 12)
  381.                     set {cost.%player%.32} to ({@BUYenchtable} * 32)
  382.                     set {cost.%player%.64} to ({@BUYenchtable} * 64)
  383.                     set {inshop.%player%} to "Mix"
  384.                 if {object.%player%} is experience bottle:
  385.                     set {cost.%player%.1} to {@BUYenchbottle}
  386.                     set {cost.%player%.4} to ({@BUYenchbottle} * 4)
  387.                     set {cost.%player%.12} to ({@BUYenchbottle} * 12)
  388.                     set {cost.%player%.32} to ({@BUYenchbottle} * 32)
  389.                     set {cost.%player%.64} to ({@BUYenchbottle} * 64)
  390.                     set {inshop.%player%} to "Mix"
  391.                 if {object.%player%} is diamond horse armor:
  392.                     set {cost.%player%.1} to {@BUYdhorse}
  393.                     set {cost.%player%.4} to ({@BUYdhorse} * 4)
  394.                     set {cost.%player%.12} to ({@BUYdhorse} * 12)
  395.                     set {cost.%player%.32} to ({@BUYdhorse} * 32)
  396.                     set {cost.%player%.64} to ({@BUYdhorse} * 64)
  397.                     set {inshop.%player%} to "Mix"
  398.                 if {object.%player%} is bone:
  399.                     set {cost.%player%.1} to {@BUYbone}
  400.                     set {cost.%player%.4} to ({@BUYbone} * 4)
  401.                     set {cost.%player%.12} to ({@BUYbone} * 12)
  402.                     set {cost.%player%.32} to ({@BUYbone} * 32)
  403.                     set {cost.%player%.64} to ({@BUYbone} * 64)
  404.                     set {inshop.%player%} to "Mix"
  405.                 if {object.%player%} is string:
  406.                     set {cost.%player%.1} to {@BUYstring}
  407.                     set {cost.%player%.4} to ({@BUYstring} * 4)
  408.                     set {cost.%player%.12} to ({@BUYstring} * 12)
  409.                     set {cost.%player%.32} to ({@BUYstring} * 32)
  410.                     set {cost.%player%.64} to ({@BUYstring} * 64)
  411.                     set {inshop.%player%} to "Mix"
  412.                 if {object.%player%} is lead:
  413.                     set {cost.%player%.1} to {@BUYlead}
  414.                     set {cost.%player%.4} to ({@BUYlead} * 4)
  415.                     set {cost.%player%.12} to ({@BUYlead} * 12)
  416.                     set {cost.%player%.32} to ({@BUYlead} * 32)
  417.                     set {cost.%player%.64} to ({@BUYlead} * 64)
  418.                     set {inshop.%player%} to "Mix"
  419.                 if {object.%player%} is name tag:
  420.                     set {cost.%player%.1} to {@BUYnametag}
  421.                     set {cost.%player%.4} to ({@BUYnametag} * 4)
  422.                     set {cost.%player%.12} to ({@BUYnametag} * 12)
  423.                     set {cost.%player%.32} to ({@BUYnametag} * 32)
  424.                     set {cost.%player%.64} to ({@BUYnametag} * 64)
  425.                     set {inshop.%player%} to "Mix"
  426.                 if {object.%player%} is ender chest:
  427.                     set {cost.%player%.1} to {@BUYechest}
  428.                     set {cost.%player%.4} to ({@BUYechest} * 4)
  429.                     set {cost.%player%.12} to ({@BUYechest} * 12)
  430.                     set {cost.%player%.32} to ({@BUYechest} * 32)
  431.                     set {cost.%player%.64} to ({@BUYechest} * 64)
  432.                     set {inshop.%player%} to "Mix"
  433.                 if {object.%player%} is nether star:
  434.                     set {cost.%player%.1} to {@BUYnetherstar}
  435.                     set {cost.%player%.4} to ({@BUYnetherstar} * 4)
  436.                     set {cost.%player%.12} to ({@BUYnetherstar} * 12)
  437.                     set {cost.%player%.32} to ({@BUYnetherstar} * 32)
  438.                     set {cost.%player%.64} to ({@BUYnetherstar} * 64)
  439.                     set {inshop.%player%} to "Mix"
  440.                 if {object.%player%} is snowball:
  441.                     set {cost.%player%.1} to {@BUYsnowball}
  442.                     set {cost.%player%.4} to ({@BUYsnowball} * 4)
  443.                     set {cost.%player%.12} to ({@BUYsnowball} * 12)
  444.                     set {cost.%player%.32} to ({@BUYsnowball} * 32)
  445.                     set {cost.%player%.64} to ({@BUYsnowball} * 64)
  446.                     set {inshop.%player%} to "Mix"
  447.                 if {object.%player%} is ender pearl:
  448.                     set {cost.%player%.1} to {@BUYepearl}
  449.                     set {cost.%player%.4} to ({@BUYepearl} * 4)
  450.                     set {cost.%player%.12} to ({@BUYepearl} * 12)
  451.                     set {cost.%player%.32} to ({@BUYepearl} * 32)
  452.                     set {cost.%player%.64} to ({@BUYepearl} * 64)
  453.                     set {inshop.%player%} to "Mix"
  454.                 if {object.%player%} is bucket:
  455.                     set {cost.%player%.1} to {@BUYbucket}
  456.                     set {cost.%player%.4} to ({@BUYbucket} * 4)
  457.                     set {cost.%player%.12} to ({@BUYbucket} * 12)
  458.                     set {cost.%player%.32} to ({@BUYbucket} * 32)
  459.                     set {cost.%player%.64} to ({@BUYbucket} * 64)
  460.                     set {inshop.%player%} to "Mix"
  461.                 if {object.%player%} is lava bucket:
  462.                     set {cost.%player%.1} to {@BUYlbucket}
  463.                     set {cost.%player%.4} to ({@BUYlbucket} * 4)
  464.                     set {cost.%player%.12} to ({@BUYlbucket} * 12)
  465.                     set {cost.%player%.32} to ({@BUYlbucket} * 32)
  466.                     set {cost.%player%.64} to ({@BUYlbucket} * 64)
  467.                     set {inshop.%player%} to "Mix"
  468.                 if {object.%player%} is water bucket:
  469.                     set {cost.%player%.1} to {@BUYwbucket}
  470.                     set {cost.%player%.4} to ({@BUYwbucket} * 4)
  471.                     set {cost.%player%.12} to ({@BUYwbucket} * 12)
  472.                     set {cost.%player%.32} to ({@BUYwbucket} * 32)
  473.                     set {cost.%player%.64} to ({@BUYwbucket} * 64)
  474.                     set {inshop.%player%} to "Mix"
  475.                 if {object.%player%} is spawn egg:120:
  476.                     set {cost.%player%.1} to {@BUYvillager}
  477.                     set {cost.%player%.4} to ({@BUYvillager} * 4)
  478.                     set {cost.%player%.12} to ({@BUYvillager} * 12)
  479.                     set {cost.%player%.32} to ({@BUYvillager} * 32)
  480.                     set {cost.%player%.64} to ({@BUYvillager} * 64)
  481.                     set {inshop.%player%} to "Egg"
  482.                 if {object.%player%} is spawn egg:100:
  483.                     set {cost.%player%.1} to {@BUYhorse}
  484.                     set {cost.%player%.4} to ({@BUYhorse} * 4)
  485.                     set {cost.%player%.12} to ({@BUYhorse} * 12)
  486.                     set {cost.%player%.32} to ({@BUYhorse} * 32)
  487.                     set {cost.%player%.64} to ({@BUYhorse} * 64)
  488.                     set {inshop.%player%} to "Egg"
  489.                 if {object.%player%} is spawn egg:101:
  490.                     set {cost.%player%.1} to {@BUYrabbit}
  491.                     set {cost.%player%.4} to ({@BUYrabbit} * 4)
  492.                     set {cost.%player%.12} to ({@BUYrabbit} * 12)
  493.                     set {cost.%player%.32} to ({@BUYrabbit} * 32)
  494.                     set {cost.%player%.64} to ({@BUYrabbit} * 64)
  495.                     set {inshop.%player%} to "Egg"
  496.                 if {object.%player%} is spawn egg:98:
  497.                     set {cost.%player%.1} to {@BUYocelot}
  498.                     set {cost.%player%.4} to ({@BUYocelot} * 4)
  499.                     set {cost.%player%.12} to ({@BUYocelot} * 12)
  500.                     set {cost.%player%.32} to ({@BUYocelot} * 32)
  501.                     set {cost.%player%.64} to ({@BUYocelot} * 64)
  502.                     set {inshop.%player%} to "Egg"
  503.                 if {object.%player%} is spawn egg:96:
  504.                     set {cost.%player%.1} to {@BUYmushcow}
  505.                     set {cost.%player%.4} to ({@BUYmushcow} * 4)
  506.                     set {cost.%player%.12} to ({@BUYmushcow} * 12)
  507.                     set {cost.%player%.32} to ({@BUYmushcow} * 32)
  508.                     set {cost.%player%.64} to ({@BUYmushcow} * 64)
  509.                     set {inshop.%player%} to "Egg"
  510.                 if {object.%player%} is spawn egg:95:
  511.                     set {cost.%player%.1} to {@BUYwolf}
  512.                     set {cost.%player%.4} to ({@BUYwolf} * 4)
  513.                     set {cost.%player%.12} to ({@BUYwolf} * 12)
  514.                     set {cost.%player%.32} to ({@BUYwolf} * 32)
  515.                     set {cost.%player%.64} to ({@BUYwolf} * 64)
  516.                     set {inshop.%player%} to "Egg"
  517.                 if {object.%player%} is spawn egg:94:
  518.                     set {cost.%player%.1} to {@BUYsquid}
  519.                     set {cost.%player%.4} to ({@BUYsquid} * 4)
  520.                     set {cost.%player%.12} to ({@BUYsquid} * 12)
  521.                     set {cost.%player%.32} to ({@BUYsquid} * 32)
  522.                     set {cost.%player%.64} to ({@BUYsquid} * 64)
  523.                     set {inshop.%player%} to "Egg"
  524.                 if {object.%player%} is spawn egg:93:
  525.                     set {cost.%player%.1} to {@BUYchicken}
  526.                     set {cost.%player%.4} to ({@BUYchicken} * 4)
  527.                     set {cost.%player%.12} to ({@BUYchicken} * 12)
  528.                     set {cost.%player%.32} to ({@BUYchicken} * 32)
  529.                     set {cost.%player%.64} to ({@BUYchicken} * 64)
  530.                     set {inshop.%player%} to "Egg"
  531.                 if {object.%player%} is spawn egg:92:
  532.                     set {cost.%player%.1} to {@BUYcow}
  533.                     set {cost.%player%.4} to ({@BUYcow} * 4)
  534.                     set {cost.%player%.12} to ({@BUYcow} * 12)
  535.                     set {cost.%player%.32} to ({@BUYcow} * 32)
  536.                     set {cost.%player%.64} to ({@BUYcow} * 64)
  537.                     set {inshop.%player%} to "Egg"
  538.                 if {object.%player%} is spawn egg:91:
  539.                     set {cost.%player%.1} to {@BUYsheep}
  540.                     set {cost.%player%.4} to ({@BUYsheep} * 4)
  541.                     set {cost.%player%.12} to ({@BUYsheep} * 12)
  542.                     set {cost.%player%.32} to ({@BUYsheep} * 32)
  543.                     set {cost.%player%.64} to ({@BUYsheep} * 64)
  544.                     set {inshop.%player%} to "Egg"
  545.                 if {object.%player%} is spawn egg:90:
  546.                     set {cost.%player%.1} to {@BUYpig}
  547.                     set {cost.%player%.4} to ({@BUYpig} * 4)
  548.                     set {cost.%player%.12} to ({@BUYpig} * 12)
  549.                     set {cost.%player%.32} to ({@BUYpig} * 32)
  550.                     set {cost.%player%.64} to ({@BUYpig} * 64)
  551.                     set {inshop.%player%} to "Egg"
  552.                 if {object.%player%} is cactus:
  553.                     set {cost.%player%.1} to {@BUYcactus}
  554.                     set {cost.%player%.4} to ({@BUYcactus} * 4)
  555.                     set {cost.%player%.12} to ({@BUYcactus} * 12)
  556.                     set {cost.%player%.32} to ({@BUYcactus} * 32)
  557.                     set {cost.%player%.64} to ({@BUYcactus} * 64)
  558.                     set {inshop.%player%} to "Nature"
  559.                 if {object.%player%} is sugar cane item:
  560.                     set {cost.%player%.1} to {@BUYcane}
  561.                     set {cost.%player%.4} to ({@BUYcane} * 4)
  562.                     set {cost.%player%.12} to ({@BUYcane} * 12)
  563.                     set {cost.%player%.32} to ({@BUYcane} * 32)
  564.                     set {cost.%player%.64} to ({@BUYcane} * 64)
  565.                     set {inshop.%player%} to "Nature"
  566.                 if {object.%player%} is lily pad:
  567.                     set {cost.%player%.1} to {@BUYwaterlily}
  568.                     set {cost.%player%.4} to ({@BUYwaterlily} * 4)
  569.                     set {cost.%player%.12} to ({@BUYwaterlily} * 12)
  570.                     set {cost.%player%.32} to ({@BUYwaterlily} * 32)
  571.                     set {cost.%player%.64} to ({@BUYwaterlily} * 64)
  572.                     set {inshop.%player%} to "Nature"
  573.                 if {object.%player%} is vines:
  574.                     set {cost.%player%.1} to {@BUYvine}
  575.                     set {cost.%player%.4} to ({@BUYvine} * 4)
  576.                     set {cost.%player%.12} to ({@BUYvine} * 12)
  577.                     set {cost.%player%.32} to ({@BUYvine} * 32)
  578.                     set {cost.%player%.64} to ({@BUYvine} * 64)
  579.                     set {inshop.%player%} to "Nature"
  580.                 if {object.%player%} is melon block:
  581.                     set {cost.%player%.1} to {@BUYmelon}
  582.                     set {cost.%player%.4} to ({@BUYmelon} * 4)
  583.                     set {cost.%player%.12} to ({@BUYmelon} * 12)
  584.                     set {cost.%player%.32} to ({@BUYmelon} * 32)
  585.                     set {cost.%player%.64} to ({@BUYmelon} * 64)
  586.                     set {inshop.%player%} to "Nature"
  587.                 if {object.%player%} is pumpkin:
  588.                     set {cost.%player%.1} to {@BUYpumpkin}
  589.                     set {cost.%player%.4} to ({@BUYpumpkin} * 4)
  590.                     set {cost.%player%.12} to ({@BUYpumpkin} * 12)
  591.                     set {cost.%player%.32} to ({@BUYpumpkin} * 32)
  592.                     set {cost.%player%.64} to ({@BUYpumpkin} * 64)
  593.                     set {inshop.%player%} to "Nature"
  594.                 if {object.%player%} is wheat:
  595.                     set {cost.%player%.1} to {@BUYwheat}
  596.                     set {cost.%player%.4} to ({@BUYwheat} * 4)
  597.                     set {cost.%player%.12} to ({@BUYwheat} * 12)
  598.                     set {cost.%player%.32} to ({@BUYwheat} * 32)
  599.                     set {cost.%player%.64} to ({@BUYwheat} * 64)
  600.                     set {inshop.%player%} to "Nature"
  601.                 if {object.%player%} is melon seeds:
  602.                     set {cost.%player%.1} to {@BUYmelons}
  603.                     set {cost.%player%.4} to ({@BUYmelons} * 4)
  604.                     set {cost.%player%.12} to ({@BUYmelons} * 12)
  605.                     set {cost.%player%.32} to ({@BUYmelons} * 32)
  606.                     set {cost.%player%.64} to ({@BUYmelons} * 64)
  607.                     set {inshop.%player%} to "Nature"
  608.                 if {object.%player%} is pumpkin seeds:
  609.                     set {cost.%player%.1} to {@BUYpumpkins}
  610.                     set {cost.%player%.4} to ({@BUYpumpkins} * 4)
  611.                     set {cost.%player%.12} to ({@BUYpumpkins} * 12)
  612.                     set {cost.%player%.32} to ({@BUYpumpkins} * 32)
  613.                     set {cost.%player%.64} to ({@BUYpumpkins} * 64)
  614.                     set {inshop.%player%} to "Nature"
  615.                 if {object.%player%} is wheat seeds:
  616.                     set {cost.%player%.1} to {@BUYwheats}
  617.                     set {cost.%player%.4} to ({@BUYwheats} * 4)
  618.                     set {cost.%player%.12} to ({@BUYwheats} * 12)
  619.                     set {cost.%player%.32} to ({@BUYwheats} * 32)
  620.                     set {cost.%player%.64} to ({@BUYwheats} * 64)
  621.                     set {inshop.%player%} to "Nature"
  622.                 if {object.%player%} is sapling:0:
  623.                     set {cost.%player%.1} to {@BUYsapling0}
  624.                     set {cost.%player%.4} to ({@BUYsapling0} * 4)
  625.                     set {cost.%player%.12} to ({@BUYsapling0} * 12)
  626.                     set {cost.%player%.32} to ({@BUYsapling0} * 32)
  627.                     set {cost.%player%.64} to ({@BUYsapling0} * 64)
  628.                     set {inshop.%player%} to "Nature"
  629.                 if {object.%player%} is sapling:1:
  630.                     set {cost.%player%.1} to {@BUYsapling1}
  631.                     set {cost.%player%.4} to ({@BUYsapling1} * 4)
  632.                     set {cost.%player%.12} to ({@BUYsapling1} * 12)
  633.                     set {cost.%player%.32} to ({@BUYsapling1} * 32)
  634.                     set {cost.%player%.64} to ({@BUYsapling1} * 64)
  635.                     set {inshop.%player%} to "Nature"
  636.                 if {object.%player%} is sapling:2:
  637.                     set {cost.%player%.1} to {@BUYsapling2}
  638.                     set {cost.%player%.4} to ({@BUYsapling2} * 4)
  639.                     set {cost.%player%.12} to ({@BUYsapling2} * 12)
  640.                     set {cost.%player%.32} to ({@BUYsapling2} * 32)
  641.                     set {cost.%player%.64} to ({@BUYsapling2} * 64)
  642.                     set {inshop.%player%} to "Nature"
  643.                 if {object.%player%} is sapling:3:
  644.                     set {cost.%player%.1} to {@BUYsapling3}
  645.                     set {cost.%player%.4} to ({@BUYsapling3} * 4)
  646.                     set {cost.%player%.12} to ({@BUYsapling3} * 12)
  647.                     set {cost.%player%.32} to ({@BUYsapling3} * 32)
  648.                     set {cost.%player%.64} to ({@BUYsapling3} * 64)
  649.                     set {inshop.%player%} to "Nature"
  650.                 if {object.%player%} is emerald:
  651.                     set {cost.%player%.1} to {@BUYemerald}
  652.                     set {cost.%player%.4} to ({@BUYemerald} * 4)
  653.                     set {cost.%player%.12} to ({@BUYemerald} * 12)
  654.                     set {cost.%player%.32} to ({@BUYemerald} * 32)
  655.                     set {cost.%player%.64} to ({@BUYemerald} * 64)
  656.                     set {inshop.%player%} to "Minerals"
  657.                 if {object.%player%} is diamond:
  658.                     set {cost.%player%.1} to {@BUYdiamond}
  659.                     set {cost.%player%.4} to ({@BUYdiamond} * 4)
  660.                     set {cost.%player%.12} to ({@BUYdiamond} * 12)
  661.                     set {cost.%player%.32} to ({@BUYdiamond} * 32)
  662.                     set {cost.%player%.64} to ({@BUYdiamond} * 64)
  663.                     set {inshop.%player%} to "Minerals"
  664.                 if {object.%player%} is gold ingot:
  665.                     set {cost.%player%.1} to {@BUYgold}
  666.                     set {cost.%player%.4} to ({@BUYgold} * 4)
  667.                     set {cost.%player%.12} to ({@BUYgold} * 12)
  668.                     set {cost.%player%.32} to ({@BUYgold} * 32)
  669.                     set {cost.%player%.64} to ({@BUYgold} * 64)
  670.                     set {inshop.%player%} to "Minerals"
  671.                 if {object.%player%} is iron ingot:
  672.                     set {cost.%player%.1} to {@BUYiron}
  673.                     set {cost.%player%.4} to ({@BUYiron} * 4)
  674.                     set {cost.%player%.12} to ({@BUYiron} * 12)
  675.                     set {cost.%player%.32} to ({@BUYiron} * 32)
  676.                     set {cost.%player%.64} to ({@BUYiron} * 64)
  677.                     set {inshop.%player%} to "Minerals"
  678.                 if {object.%player%} is coal item:
  679.                     set {cost.%player%.1} to {@BUYcoal}
  680.                     set {cost.%player%.4} to ({@BUYcoal} * 4)
  681.                     set {cost.%player%.12} to ({@BUYcoal} * 12)
  682.                     set {cost.%player%.32} to ({@BUYcoal} * 32)
  683.                     set {cost.%player%.64} to ({@BUYcoal} * 64)
  684.                     set {inshop.%player%} to "Minerals"
  685.                 if {object.%player%} is lapis lazuli:
  686.                     set {cost.%player%.1} to {@BUYlapis}
  687.                     set {cost.%player%.4} to ({@BUYlapis} * 4)
  688.                     set {cost.%player%.12} to ({@BUYlapis} * 12)
  689.                     set {cost.%player%.32} to ({@BUYlapis} * 32)
  690.                     set {cost.%player%.64} to ({@BUYlapis} * 64)
  691.                     set {inshop.%player%} to "Minerals"
  692.                 if {object.%player%} is redstone:
  693.                     set {cost.%player%.1} to {@BUYredstone}
  694.                     set {cost.%player%.4} to ({@BUYredstone} * 4)
  695.                     set {cost.%player%.12} to ({@BUYredstone} * 12)
  696.                     set {cost.%player%.32} to ({@BUYredstone} * 32)
  697.                     set {cost.%player%.64} to ({@BUYredstone} * 64)
  698.                     set {inshop.%player%} to "Minerals"
  699.                 if {object.%player%} is redstone repeater item:
  700.                     set {cost.%player%.1} to {@BUYrepeater}
  701.                     set {cost.%player%.4} to ({@BUYrepeater} * 4)
  702.                     set {cost.%player%.12} to ({@BUYrepeater} * 12)
  703.                     set {cost.%player%.32} to ({@BUYrepeater} * 32)
  704.                     set {cost.%player%.64} to ({@BUYrepeater} * 64)
  705.                     set {inshop.%player%} to "Redstone"
  706.                 if {object.%player%} is redstone comparator item:
  707.                     set {cost.%player%.1} to {@BUYcomparator}
  708.                     set {cost.%player%.4} to ({@BUYcomparator} * 4)
  709.                     set {cost.%player%.12} to ({@BUYcomparator} * 12)
  710.                     set {cost.%player%.32} to ({@BUYcomparator} * 32)
  711.                     set {cost.%player%.64} to ({@BUYcomparator} * 64)
  712.                     set {inshop.%player%} to "Redstone"
  713.                 if {object.%player%} is sticky piston item:
  714.                     set {cost.%player%.1} to {@BUYspiston}
  715.                     set {cost.%player%.4} to ({@BUYspiston} * 4)
  716.                     set {cost.%player%.12} to ({@BUYspiston} * 12)
  717.                     set {cost.%player%.32} to ({@BUYspiston} * 32)
  718.                     set {cost.%player%.64} to ({@BUYspiston} * 64)
  719.                     set {inshop.%player%} to "Redstone"
  720.                 if {object.%player%} is piston item:
  721.                     set {cost.%player%.1} to {@BUYpiston}
  722.                     set {cost.%player%.4} to ({@BUYpiston} * 4)
  723.                     set {cost.%player%.12} to ({@BUYpiston} * 12)
  724.                     set {cost.%player%.32} to ({@BUYpiston} * 32)
  725.                     set {cost.%player%.64} to ({@BUYpiston} * 64)
  726.                     set {inshop.%player%} to "Redstone"
  727.                 if {object.%player%} is dispenser:
  728.                     set {cost.%player%.1} to {@BUYdispenser}
  729.                     set {cost.%player%.4} to ({@BUYdispenser} * 4)
  730.                     set {cost.%player%.12} to ({@BUYdispenser} * 12)
  731.                     set {cost.%player%.32} to ({@BUYdispenser} * 32)
  732.                     set {cost.%player%.64} to ({@BUYdispenser} * 64)
  733.                     set {inshop.%player%} to "Redstone"
  734.                 if {object.%player%} is hopper:
  735.                     set {cost.%player%.1} to {@BUYhopper}
  736.                     set {cost.%player%.4} to ({@BUYhopper} * 4)
  737.                     set {cost.%player%.12} to ({@BUYhopper} * 12)
  738.                     set {cost.%player%.32} to ({@BUYhopper} * 32)
  739.                     set {cost.%player%.64} to ({@BUYhopper} * 64)
  740.                     set {inshop.%player%} to "Redstone"
  741.                 if {object.%player%} is apple:
  742.                     set {cost.%player%.1} to {@BUYapple}
  743.                     set {cost.%player%.4} to ({@BUYapple} * 4)
  744.                     set {cost.%player%.12} to ({@BUYapple} * 12)
  745.                     set {cost.%player%.32} to ({@BUYapple} * 32)
  746.                     set {cost.%player%.64} to ({@BUYapple} * 64)
  747.                     set {inshop.%player%} to "Food"
  748.                 if {object.%player%} is golden apple:0:
  749.                     set {cost.%player%.1} to {@BUYgapple}
  750.                     set {cost.%player%.4} to ({@BUYgapple} * 4)
  751.                     set {cost.%player%.12} to ({@BUYgapple} * 12)
  752.                     set {cost.%player%.32} to ({@BUYgapple} * 32)
  753.                     set {cost.%player%.64} to ({@BUYgapple} * 64)
  754.                     set {inshop.%player%} to "Food"
  755.                 if {object.%player%} is golden apple:1:
  756.                     set {cost.%player%.1} to {@BUYgodapple}
  757.                     set {cost.%player%.4} to ({@BUYgodapple} * 4)
  758.                     set {cost.%player%.12} to ({@BUYgodapple} * 12)
  759.                     set {cost.%player%.32} to ({@BUYgodapple} * 32)
  760.                     set {cost.%player%.64} to ({@BUYgodapple} * 64)
  761.                     set {inshop.%player%} to "Food"
  762.                 if {object.%player%} is bread:
  763.                     set {cost.%player%.1} to {@BUYbread}
  764.                     set {cost.%player%.4} to ({@BUYbread} * 4)
  765.                     set {cost.%player%.12} to ({@BUYbread} * 12)
  766.                     set {cost.%player%.32} to ({@BUYbread} * 32)
  767.                     set {cost.%player%.64} to ({@BUYbread} * 64)
  768.                     set {inshop.%player%} to "Food"
  769.                 if {object.%player%} is cooked porkchop:
  770.                     set {cost.%player%.1} to {@BUYpork}
  771.                     set {cost.%player%.4} to ({@BUYpork} * 4)
  772.                     set {cost.%player%.12} to ({@BUYpork} * 12)
  773.                     set {cost.%player%.32} to ({@BUYpork} * 32)
  774.                     set {cost.%player%.64} to ({@BUYpork} * 64)
  775.                     set {inshop.%player%} to "Food"
  776.                 if {object.%player%} is steak:
  777.                     set {cost.%player%.1} to {@BUYsteak}
  778.                     set {cost.%player%.4} to ({@BUYsteak} * 4)
  779.                     set {cost.%player%.12} to ({@BUYsteak} * 12)
  780.                     set {cost.%player%.32} to ({@BUYsteak} * 32)
  781.                     set {cost.%player%.64} to ({@BUYsteak} * 64)
  782.                     set {inshop.%player%} to "Food"
  783.                 if {object.%player%} is cookie:
  784.                     set {cost.%player%.1} to {@BUYcookie}
  785.                     set {cost.%player%.4} to ({@BUYcookie} * 4)
  786.                     set {cost.%player%.12} to ({@BUYcookie} * 12)
  787.                     set {cost.%player%.32} to ({@BUYcookie} * 32)
  788.                     set {cost.%player%.64} to ({@BUYcookie} * 64)
  789.                     set {inshop.%player%} to "Food"
  790.                 if {object.%player%} is cooked chicken:
  791.                     set {cost.%player%.1} to {@BUYchick}
  792.                     set {cost.%player%.4} to ({@BUYchick} * 4)
  793.                     set {cost.%player%.12} to ({@BUYchick} * 12)
  794.                     set {cost.%player%.32} to ({@BUYchick} * 32)
  795.                     set {cost.%player%.64} to ({@BUYchick} * 64)
  796.                     set {inshop.%player%} to "Food"
  797.                 if {object.%player%} is cooked fish:
  798.                     set {cost.%player%.1} to {@BUYfish}
  799.                     set {cost.%player%.4} to ({@BUYfish} * 4)
  800.                     set {cost.%player%.12} to ({@BUYfish} * 12)
  801.                     set {cost.%player%.32} to ({@BUYfish} * 32)
  802.                     set {cost.%player%.64} to ({@BUYfish} * 64)
  803.                     set {inshop.%player%} to "Food"
  804.                 if {object.%player%} is cooked salmon:
  805.                     set {cost.%player%.1} to {@BUYsalmon}
  806.                     set {cost.%player%.4} to ({@BUYsalmon} * 4)
  807.                     set {cost.%player%.12} to ({@BUYsalmon} * 12)
  808.                     set {cost.%player%.32} to ({@BUYsalmon} * 32)
  809.                     set {cost.%player%.64} to ({@BUYsalmon} * 64)
  810.                     set {inshop.%player%} to "Food"
  811.                 if {object.%player%} is cake item:
  812.                     set {cost.%player%.1} to {@BUYcake}
  813.                     set {cost.%player%.4} to ({@BUYcake} * 4)
  814.                     set {cost.%player%.12} to ({@BUYcake} * 12)
  815.                     set {cost.%player%.32} to ({@BUYcake} * 32)
  816.                     set {cost.%player%.64} to ({@BUYcake} * 64)
  817.                     set {inshop.%player%} to "Food"
  818.                 if {object.%player%} is mushroom stew:
  819.                     set {cost.%player%.1} to {@BUYmushroom}
  820.                     set {cost.%player%.4} to ({@BUYmushroom} * 4)
  821.                     set {cost.%player%.12} to ({@BUYmushroom} * 12)
  822.                     set {cost.%player%.32} to ({@BUYmushroom} * 32)
  823.                     set {cost.%player%.64} to ({@BUYmushroom} * 64)
  824.                     set {inshop.%player%} to "Food"
  825.                 if {object.%player%} is carrot:
  826.                     set {cost.%player%.1} to {@BUYcarrot}
  827.                     set {cost.%player%.4} to ({@BUYcarrot} * 4)
  828.                     set {cost.%player%.12} to ({@BUYcarrot} * 12)
  829.                     set {cost.%player%.32} to ({@BUYcarrot} * 32)
  830.                     set {cost.%player%.64} to ({@BUYcarrot} * 64)
  831.                     set {inshop.%player%} to "Food"
  832.                 if {object.%player%} is potato:
  833.                     set {cost.%player%.1} to {@BUYpotato}
  834.                     set {cost.%player%.4} to ({@BUYpotato} * 4)
  835.                     set {cost.%player%.12} to ({@BUYpotato} * 12)
  836.                     set {cost.%player%.32} to ({@BUYpotato} * 32)
  837.                     set {cost.%player%.64} to ({@BUYpotato} * 64)
  838.                     set {inshop.%player%} to "Food"
  839.                 if {object.%player%} is stone:
  840.                     set {cost.%player%.1} to {@BUYstone}
  841.                     set {cost.%player%.4} to ({@BUYstone} * 4)
  842.                     set {cost.%player%.12} to ({@BUYstone} * 12)
  843.                     set {cost.%player%.32} to ({@BUYstone} * 32)
  844.                     set {cost.%player%.64} to ({@BUYstone} * 64)
  845.                     set {inshop.%player%} to "Blocks"
  846.                 if {object.%player%} is cobble:
  847.                     set {cost.%player%.1} to {@BUYcobblestone}
  848.                     set {cost.%player%.4} to ({@BUYcobblestone} * 4)
  849.                     set {cost.%player%.12} to ({@BUYcobblestone} * 12)
  850.                     set {cost.%player%.32} to ({@BUYcobblestone} * 32)
  851.                     set {cost.%player%.64} to ({@BUYcobblestone} * 64)
  852.                     set {inshop.%player%} to "Blocks"
  853.                 if {object.%player%} is mossy cobble:
  854.                     set {cost.%player%.1} to {@BUYmoss}
  855.                     set {cost.%player%.4} to ({@BUYmoss} * 4)
  856.                     set {cost.%player%.12} to ({@BUYmoss} * 12)
  857.                     set {cost.%player%.32} to ({@BUYmoss} * 32)
  858.                     set {cost.%player%.64} to ({@BUYmoss} * 64)
  859.                     set {inshop.%player%} to "Blocks"
  860.                 if {object.%player%} is dirt:
  861.                     set {cost.%player%.1} to {@BUYdirt}
  862.                     set {cost.%player%.4} to ({@BUYdirt} * 4)
  863.                     set {cost.%player%.12} to ({@BUYdirt} * 12)
  864.                     set {cost.%player%.32} to ({@BUYdirt} * 32)
  865.                     set {cost.%player%.64} to ({@BUYdirt} * 64)
  866.                     set {inshop.%player%} to "Blocks"
  867.                 if {object.%player%} is grass:
  868.                     set {cost.%player%.1} to {@BUYgrass}
  869.                     set {cost.%player%.4} to ({@BUYgrass} * 4)
  870.                     set {cost.%player%.12} to ({@BUYgrass} * 12)
  871.                     set {cost.%player%.32} to ({@BUYgrass} * 32)
  872.                     set {cost.%player%.64} to ({@BUYgrass} * 64)
  873.                     set {inshop.%player%} to "Blocks"
  874.                 if {object.%player%} is mycelium:
  875.                     set {cost.%player%.1} to {@BUYmycelium}
  876.                     set {cost.%player%.4} to ({@BUYmycelium} * 4)
  877.                     set {cost.%player%.12} to ({@BUYmycelium} * 12)
  878.                     set {cost.%player%.32} to ({@BUYmycelium} * 32)
  879.                     set {cost.%player%.64} to ({@BUYmycelium} * 64)
  880.                     set {inshop.%player%} to "Blocks"
  881.                 if {object.%player%} is sand:
  882.                     set {cost.%player%.1} to {@BUYsand}
  883.                     set {cost.%player%.4} to ({@BUYsand} * 4)
  884.                     set {cost.%player%.12} to ({@BUYsand} * 12)
  885.                     set {cost.%player%.32} to ({@BUYsand} * 32)
  886.                     set {cost.%player%.64} to ({@BUYsand} * 64)
  887.                     set {inshop.%player%} to "Blocks"
  888.                 if {object.%player%} is gravel:
  889.                     set {cost.%player%.1} to {@BUYgravel}
  890.                     set {cost.%player%.4} to ({@BUYgravel} * 4)
  891.                     set {cost.%player%.12} to ({@BUYgravel} * 12)
  892.                     set {cost.%player%.32} to ({@BUYgravel} * 32)
  893.                     set {cost.%player%.64} to ({@BUYgravel} * 64)
  894.                     set {inshop.%player%} to "Blocks"
  895.                 if {object.%player%} is clay block:
  896.                     set {cost.%player%.1} to {@BUYclay}
  897.                     set {cost.%player%.4} to ({@BUYclay} * 4)
  898.                     set {cost.%player%.12} to ({@BUYclay} * 12)
  899.                     set {cost.%player%.32} to ({@BUYclay} * 32)
  900.                     set {cost.%player%.64} to ({@BUYclay} * 64)
  901.                     set {inshop.%player%} to "Blocks"
  902.                 if {object.%player%} is hardened clay:
  903.                     set {cost.%player%.1} to {@BUYhardenedclay}
  904.                     set {cost.%player%.4} to ({@BUYhardenedclay} * 4)
  905.                     set {cost.%player%.12} to ({@BUYhardenedclay} * 12)
  906.                     set {cost.%player%.32} to ({@BUYhardenedclay} * 32)
  907.                     set {cost.%player%.64} to ({@BUYhardenedclay} * 64)
  908.                     set {inshop.%player%} to "Blocks"
  909.                 if {object.%player%} is log:0:
  910.                     set {cost.%player%.1} to {@BUYlog}
  911.                     set {cost.%player%.4} to ({@BUYlog} * 4)
  912.                     set {cost.%player%.12} to ({@BUYlog} * 12)
  913.                     set {cost.%player%.32} to ({@BUYlog} * 32)
  914.                     set {cost.%player%.64} to ({@BUYlog} * 64)
  915.                     set {inshop.%player%} to "Blocks"
  916.                 if {object.%player%} is log:1:
  917.                     set {cost.%player%.1} to {@BUYlog}
  918.                     set {cost.%player%.4} to ({@BUYlog} * 4)
  919.                     set {cost.%player%.12} to ({@BUYlog} * 12)  
  920.                     set {cost.%player%.32} to ({@BUYlog} * 32)
  921.                     set {cost.%player%.64} to ({@BUYlog} * 64)
  922.                     set {inshop.%player%} to "Blocks"
  923.                 if {object.%player%} is log:2:
  924.                     set {cost.%player%.1} to {@BUYlog}
  925.                     set {cost.%player%.4} to ({@BUYlog} * 4)
  926.                     set {cost.%player%.12} to ({@BUYlog} * 12)
  927.                     set {cost.%player%.32} to ({@BUYlog} * 32)
  928.                     set {cost.%player%.64} to ({@BUYlog} * 64)
  929.                     set {inshop.%player%} to "Blocks"
  930.                 if {object.%player%} is wool:0:
  931.                     set {cost.%player%.1} to {@BUYwool}
  932.                     set {cost.%player%.4} to ({@BUYwool} * 4)
  933.                     set {cost.%player%.12} to ({@BUYwool} * 12)
  934.                     set {cost.%player%.32} to ({@BUYwool} * 32)
  935.                     set {cost.%player%.64} to ({@BUYwool} * 64)
  936.                     set {inshop.%player%} to "Blocks"
  937.                 if {object.%player%} is quartz block:
  938.                     set {cost.%player%.1} to {@BUYquartz}
  939.                     set {cost.%player%.4} to ({@BUYquartz} * 4)
  940.                     set {cost.%player%.12} to ({@BUYquartz} * 12)
  941.                     set {cost.%player%.32} to ({@BUYquartz} * 32)
  942.                     set {cost.%player%.64} to ({@BUYquartz} * 64)
  943.                     set {inshop.%player%} to "Blocks"
  944.                 if {object.%player%} is snow:
  945.                     set {cost.%player%.1} to {@BUYsnow}
  946.                     set {cost.%player%.4} to ({@BUYsnow} * 4)
  947.                     set {cost.%player%.12} to ({@BUYsnow} * 12)
  948.                     set {cost.%player%.32} to ({@BUYsnow} * 32)
  949.                     set {cost.%player%.64} to ({@BUYsnow} * 64)
  950.                     set {inshop.%player%} to "Blocks"
  951.                 if {object.%player%} is glass:
  952.                     set {cost.%player%.1} to {@BUYglass}
  953.                     set {cost.%player%.4} to ({@BUYglass} * 4)
  954.                     set {cost.%player%.12} to ({@BUYglass} * 12)
  955.                     set {cost.%player%.32} to ({@BUYglass} * 32)
  956.                     set {cost.%player%.64} to ({@BUYglass} * 64)
  957.                     set {inshop.%player%} to "Blocks"
  958.                 if {object.%player%} is ice:
  959.                     set {cost.%player%.1} to {@BUYice}
  960.                     set {cost.%player%.4} to ({@BUYice} * 4)
  961.                     set {cost.%player%.12} to ({@BUYice} * 12)
  962.                     set {cost.%player%.32} to ({@BUYice} * 32)
  963.                     set {cost.%player%.64} to ({@BUYice} * 64)
  964.                     set {inshop.%player%} to "Blocks"
  965.                 if {object.%player%} is packed ice:
  966.                     set {cost.%player%.1} to {@BUYpackedice}
  967.                     set {cost.%player%.4} to ({@BUYpackedice} * 4)
  968.                     set {cost.%player%.12} to ({@BUYpackedice} * 12)
  969.                     set {cost.%player%.32} to ({@BUYpackedice} * 32)
  970.                     set {cost.%player%.64} to ({@BUYpackedice} * 64)
  971.                     set {inshop.%player%} to "Blocks"
  972.                 if {object.%player%} is end stone:
  973.                     set {cost.%player%.1} to {@BUYendstone}
  974.                     set {cost.%player%.4} to ({@BUYendstone} * 4)
  975.                     set {cost.%player%.12} to ({@BUYendstone} * 12)
  976.                     set {cost.%player%.32} to ({@BUYendstone} * 32)
  977.                     set {cost.%player%.64} to ({@BUYendstone} * 64)
  978.                     set {inshop.%player%} to "Blocks"
  979.                 if {object.%player%} is obsidian:
  980.                     set {cost.%player%.1} to {@BUYobsidian}
  981.                     set {cost.%player%.4} to ({@BUYobsidian} * 4)
  982.                     set {cost.%player%.12} to ({@BUYobsidian} * 12)
  983.                     set {cost.%player%.32} to ({@BUYobsidian} * 32)
  984.                     set {cost.%player%.64} to ({@BUYobsidian} * 64)
  985.                     set {inshop.%player%} to "Blocks"
  986.                 if {object.%player%} is enchantment table:
  987.                     set {earn.%player%.1} to {@SELLenchtable}
  988.                     set {earn.%player%.4} to ({@SELLenchtable} * 4)
  989.                     set {earn.%player%.12} to ({@SELLenchtable} * 12)
  990.                     set {earn.%player%.32} to ({@SELLenchtable} * 32)
  991.                     set {earn.%player%.64} to ({@SELLenchtable} * 64)
  992.                     set {inshop.%player%} to "Mix"
  993.                 if {object.%player%} is experience bottle:
  994.                     set {earn.%player%.1} to {@SELLenchbottle}
  995.                     set {earn.%player%.4} to ({@SELLenchbottle} * 4)
  996.                     set {earn.%player%.12} to ({@SELLenchbottle} * 12)
  997.                     set {earn.%player%.32} to ({@SELLenchbottle} * 32)
  998.                     set {earn.%player%.64} to ({@SELLenchbottle} * 64)
  999.                     set {inshop.%player%} to "Mix"
  1000.                 if {object.%player%} is diamond horse armor:
  1001.                     set {earn.%player%.1} to {@SELLdhorse}
  1002.                     set {earn.%player%.4} to ({@SELLdhorse} * 4)
  1003.                     set {earn.%player%.12} to ({@SELLdhorse} * 12)
  1004.                     set {earn.%player%.32} to ({@SELLdhorse} * 32)
  1005.                     set {earn.%player%.64} to ({@SELLdhorse} * 64)
  1006.                     set {inshop.%player%} to "Mix"
  1007.                 if {object.%player%} is bone:
  1008.                     set {earn.%player%.1} to {@SELLbone}
  1009.                     set {earn.%player%.4} to ({@SELLbone} * 4)
  1010.                     set {earn.%player%.12} to ({@SELLbone} * 12)
  1011.                     set {earn.%player%.32} to ({@SELLbone} * 32)
  1012.                     set {earn.%player%.64} to ({@SELLbone} * 64)
  1013.                     set {inshop.%player%} to "Mix"
  1014.                 if {object.%player%} is string:
  1015.                     set {earn.%player%.1} to {@SELLstring}
  1016.                     set {earn.%player%.4} to ({@SELLstring} * 4)
  1017.                     set {earn.%player%.12} to ({@SELLstring} * 12)
  1018.                     set {earn.%player%.32} to ({@SELLstring} * 32)
  1019.                     set {earn.%player%.64} to ({@SELLstring} * 64)
  1020.                     set {inshop.%player%} to "Mix"
  1021.                 if {object.%player%} is lead:
  1022.                     set {earn.%player%.1} to {@SELLlead}
  1023.                     set {earn.%player%.4} to ({@SELLlead} * 4)
  1024.                     set {earn.%player%.12} to ({@SELLlead} * 12)
  1025.                     set {earn.%player%.32} to ({@SELLlead} * 32)
  1026.                     set {earn.%player%.64} to ({@SELLlead} * 64)
  1027.                     set {inshop.%player%} to "Mix"
  1028.                 if {object.%player%} is name tag:
  1029.                     set {earn.%player%.1} to {@SELLnametag}
  1030.                     set {earn.%player%.4} to ({@SELLnametag} * 4)
  1031.                     set {earn.%player%.12} to ({@SELLnametag} * 12)
  1032.                     set {earn.%player%.32} to ({@SELLnametag} * 32)
  1033.                     set {earn.%player%.64} to ({@SELLnametag} * 64)
  1034.                     set {inshop.%player%} to "Mix"
  1035.                 if {object.%player%} is ender chest:
  1036.                     set {earn.%player%.1} to {@SELLechest}
  1037.                     set {earn.%player%.4} to ({@SELLechest} * 4)
  1038.                     set {earn.%player%.12} to ({@SELLechest} * 12)
  1039.                     set {earn.%player%.32} to ({@SELLechest} * 32)
  1040.                     set {earn.%player%.64} to ({@SELLechest} * 64)
  1041.                     set {inshop.%player%} to "Mix"
  1042.                 if {object.%player%} is nether star:
  1043.                     set {earn.%player%.1} to {@SELLnetherstar}
  1044.                     set {earn.%player%.4} to ({@SELLnetherstar} * 4)
  1045.                     set {earn.%player%.12} to ({@SELLnetherstar} * 12)
  1046.                     set {earn.%player%.32} to ({@SELLnetherstar} * 32)
  1047.                     set {earn.%player%.64} to ({@SELLnetherstar} * 64)
  1048.                     set {inshop.%player%} to "Mix"
  1049.                 if {object.%player%} is snowball:
  1050.                     set {earn.%player%.1} to {@SELLsnowball}
  1051.                     set {earn.%player%.4} to ({@SELLsnowball} * 4)
  1052.                     set {earn.%player%.12} to ({@SELLsnowball} * 12)
  1053.                     set {earn.%player%.32} to ({@SELLsnowball} * 32)
  1054.                     set {earn.%player%.64} to ({@SELLsnowball} * 64)
  1055.                     set {inshop.%player%} to "Mix"
  1056.                 if {object.%player%} is ender pearl:
  1057.                     set {earn.%player%.1} to {@SELLepearl}
  1058.                     set {earn.%player%.4} to ({@SELLepearl} * 4)
  1059.                     set {earn.%player%.12} to ({@SELLepearl} * 12)
  1060.                     set {earn.%player%.32} to ({@SELLepearl} * 32)
  1061.                     set {earn.%player%.64} to ({@SELLepearl} * 64)
  1062.                     set {inshop.%player%} to "Mix"
  1063.                 if {object.%player%} is bucket:
  1064.                     set {earn.%player%.1} to {@SELLbucket}
  1065.                     set {earn.%player%.4} to ({@SELLbucket} * 4)
  1066.                     set {earn.%player%.12} to ({@SELLbucket} * 12)
  1067.                     set {earn.%player%.32} to ({@SELLbucket} * 32)
  1068.                     set {earn.%player%.64} to ({@SELLbucket} * 64)
  1069.                     set {inshop.%player%} to "Mix"
  1070.                 if {object.%player%} is lava bucket:
  1071.                     set {earn.%player%.1} to {@SELLlbucket}
  1072.                     set {earn.%player%.4} to ({@SELLlbucket} * 4)
  1073.                     set {earn.%player%.12} to ({@SELLlbucket} * 12)
  1074.                     set {earn.%player%.32} to ({@SELLlbucket} * 32)
  1075.                     set {earn.%player%.64} to ({@SELLlbucket} * 64)
  1076.                     set {inshop.%player%} to "Mix"
  1077.                 if {object.%player%} is water bucket:
  1078.                     set {earn.%player%.1} to {@SELLwbucket}
  1079.                     set {earn.%player%.4} to ({@SELLwbucket} * 4)
  1080.                     set {earn.%player%.12} to ({@SELLwbucket} * 12)
  1081.                     set {earn.%player%.32} to ({@SELLwbucket} * 32)
  1082.                     set {earn.%player%.64} to ({@SELLwbucket} * 64)
  1083.                     set {inshop.%player%} to "Mix"
  1084.                 if {object.%player%} is spawn egg:120:
  1085.                     set {earn.%player%.1} to {@SELLvillager}
  1086.                     set {earn.%player%.4} to ({@SELLvillager} * 4)
  1087.                     set {earn.%player%.12} to ({@SELLvillager} * 12)
  1088.                     set {earn.%player%.32} to ({@SELLvillager} * 32)
  1089.                     set {earn.%player%.64} to ({@SELLvillager} * 64)
  1090.                     set {inshop.%player%} to "Egg"
  1091.                 if {object.%player%} is spawn egg:100:
  1092.                     set {earn.%player%.1} to {@SELLhorse}
  1093.                     set {earn.%player%.4} to ({@SELLhorse} * 4)
  1094.                     set {earn.%player%.12} to ({@SELLhorse} * 12)
  1095.                     set {earn.%player%.32} to ({@SELLhorse} * 32)
  1096.                     set {earn.%player%.64} to ({@SELLhorse} * 64)
  1097.                     set {inshop.%player%} to "Egg"
  1098.                 if {object.%player%} is spawn egg:101:
  1099.                     set {earn.%player%.1} to {@SELLrabbit}
  1100.                     set {earn.%player%.4} to ({@SELLrabbit} * 4)
  1101.                     set {earn.%player%.12} to ({@SELLrabbit} * 12)
  1102.                     set {earn.%player%.32} to ({@SELLrabbit} * 32)
  1103.                     set {earn.%player%.64} to ({@SELLrabbit} * 64)
  1104.                     set {inshop.%player%} to "Egg"
  1105.                 if {object.%player%} is spawn egg:98:
  1106.                     set {earn.%player%.1} to {@SELLocelot}
  1107.                     set {earn.%player%.4} to ({@SELLocelot} * 4)
  1108.                     set {earn.%player%.12} to ({@SELLocelot} * 12)
  1109.                     set {earn.%player%.32} to ({@SELLocelot} * 32)
  1110.                     set {earn.%player%.64} to ({@SELLocelot} * 64)
  1111.                     set {inshop.%player%} to "Egg"
  1112.                 if {object.%player%} is spawn egg:96:
  1113.                     set {earn.%player%.1} to {@SELLmushcow}
  1114.                     set {earn.%player%.4} to ({@SELLmushcow} * 4)
  1115.                     set {earn.%player%.12} to ({@SELLmushcow} * 12)
  1116.                     set {earn.%player%.32} to ({@SELLmushcow} * 32)
  1117.                     set {earn.%player%.64} to ({@SELLmushcow} * 64)
  1118.                     set {inshop.%player%} to "Egg"
  1119.                 if {object.%player%} is spawn egg:95:
  1120.                     set {earn.%player%.1} to {@SELLwolf}
  1121.                     set {earn.%player%.4} to ({@SELLwolf} * 4)
  1122.                     set {earn.%player%.12} to ({@SELLwolf} * 12)
  1123.                     set {earn.%player%.32} to ({@SELLwolf} * 32)
  1124.                     set {earn.%player%.64} to ({@SELLwolf} * 64)
  1125.                     set {inshop.%player%} to "Egg"
  1126.                 if {object.%player%} is spawn egg:94:
  1127.                     set {earn.%player%.1} to {@SELLsquid}
  1128.                     set {earn.%player%.4} to ({@SELLsquid} * 4)
  1129.                     set {earn.%player%.12} to ({@SELLsquid} * 12)
  1130.                     set {earn.%player%.32} to ({@SELLsquid} * 32)
  1131.                     set {earn.%player%.64} to ({@SELLsquid} * 64)
  1132.                     set {inshop.%player%} to "Egg"
  1133.                 if {object.%player%} is spawn egg:93:
  1134.                     set {earn.%player%.1} to {@SELLchicken}
  1135.                     set {earn.%player%.4} to ({@SELLchicken} * 4)
  1136.                     set {earn.%player%.12} to ({@SELLchicken} * 12)
  1137.                     set {earn.%player%.32} to ({@SELLchicken} * 32)
  1138.                     set {earn.%player%.64} to ({@SELLchicken} * 64)
  1139.                     set {inshop.%player%} to "Egg"
  1140.                 if {object.%player%} is spawn egg:92:
  1141.                     set {earn.%player%.1} to {@SELLcow}
  1142.                     set {earn.%player%.4} to ({@SELLcow} * 4)
  1143.                     set {earn.%player%.12} to ({@SELLcow} * 12)
  1144.                     set {earn.%player%.32} to ({@SELLcow} * 32)
  1145.                     set {earn.%player%.64} to ({@SELLcow} * 64)
  1146.                     set {inshop.%player%} to "Egg"
  1147.                 if {object.%player%} is spawn egg:91:
  1148.                     set {earn.%player%.1} to {@SELLsheep}
  1149.                     set {earn.%player%.4} to ({@SELLsheep} * 4)
  1150.                     set {earn.%player%.12} to ({@SELLsheep} * 12)
  1151.                     set {earn.%player%.32} to ({@SELLsheep} * 32)
  1152.                     set {earn.%player%.64} to ({@SELLsheep} * 64)
  1153.                     set {inshop.%player%} to "Egg"
  1154.                 if {object.%player%} is spawn egg:90:
  1155.                     set {earn.%player%.1} to {@SELLpig}
  1156.                     set {earn.%player%.4} to ({@SELLpig} * 4)
  1157.                     set {earn.%player%.12} to ({@SELLpig} * 12)
  1158.                     set {earn.%player%.32} to ({@SELLpig} * 32)
  1159.                     set {earn.%player%.64} to ({@SELLpig} * 64)
  1160.                     set {inshop.%player%} to "Egg"
  1161.                 if {object.%player%} is cactus:
  1162.                     set {earn.%player%.1} to {@SELLcactus}
  1163.                     set {earn.%player%.4} to ({@SELLcactus} * 4)
  1164.                     set {earn.%player%.12} to ({@SELLcactus} * 12)
  1165.                     set {earn.%player%.32} to ({@SELLcactus} * 32)
  1166.                     set {earn.%player%.64} to ({@SELLcactus} * 64)
  1167.                     set {inshop.%player%} to "Nature"
  1168.                 if {object.%player%} is sugar cane item:
  1169.                     set {earn.%player%.1} to {@SELLcane}
  1170.                     set {earn.%player%.4} to ({@SELLcane} * 4)
  1171.                     set {earn.%player%.12} to ({@SELLcane} * 12)
  1172.                     set {earn.%player%.32} to ({@SELLcane} * 32)
  1173.                     set {earn.%player%.64} to ({@SELLcane} * 64)
  1174.                     set {inshop.%player%} to "Nature"
  1175.                 if {object.%player%} is lily pad:
  1176.                     set {earn.%player%.1} to {@SELLwaterlily}
  1177.                     set {earn.%player%.4} to ({@SELLwaterlily} * 4)
  1178.                     set {earn.%player%.12} to ({@SELLwaterlily} * 12)
  1179.                     set {earn.%player%.32} to ({@SELLwaterlily} * 32)
  1180.                     set {earn.%player%.64} to ({@SELLwaterlily} * 64)
  1181.                     set {inshop.%player%} to "Nature"
  1182.                 if {object.%player%} is vines:
  1183.                     set {earn.%player%.1} to {@SELLvine}
  1184.                     set {earn.%player%.4} to ({@SELLvine} * 4)
  1185.                     set {earn.%player%.12} to ({@SELLvine} * 12)
  1186.                     set {earn.%player%.32} to ({@SELLvine} * 32)
  1187.                     set {earn.%player%.64} to ({@SELLvine} * 64)
  1188.                     set {inshop.%player%} to "Nature"
  1189.                 if {object.%player%} is melon block:
  1190.                     set {earn.%player%.1} to {@SELLmelon}
  1191.                     set {earn.%player%.4} to ({@SELLmelon} * 4)
  1192.                     set {earn.%player%.12} to ({@SELLmelon} * 12)
  1193.                     set {earn.%player%.32} to ({@SELLmelon} * 32)
  1194.                     set {earn.%player%.64} to ({@SELLmelon} * 64)
  1195.                     set {inshop.%player%} to "Nature"
  1196.                 if {object.%player%} is pumpkin:
  1197.                     set {earn.%player%.1} to {@SELLpumpkin}
  1198.                     set {earn.%player%.4} to ({@SELLpumpkin} * 4)
  1199.                     set {earn.%player%.12} to ({@SELLpumpkin} * 12)
  1200.                     set {earn.%player%.32} to ({@SELLpumpkin} * 32)
  1201.                     set {earn.%player%.64} to ({@SELLpumpkin} * 64)
  1202.                     set {inshop.%player%} to "Nature"
  1203.                 if {object.%player%} is wheat:
  1204.                     set {earn.%player%.1} to {@SELLwheat}
  1205.                     set {earn.%player%.4} to ({@SELLwheat} * 4)
  1206.                     set {earn.%player%.12} to ({@SELLwheat} * 12)
  1207.                     set {earn.%player%.32} to ({@SELLwheat} * 32)
  1208.                     set {earn.%player%.64} to ({@SELLwheat} * 64)
  1209.                     set {inshop.%player%} to "Nature"
  1210.                 if {object.%player%} is melon seeds:
  1211.                     set {earn.%player%.1} to {@SELLmelons}
  1212.                     set {earn.%player%.4} to ({@SELLmelons} * 4)
  1213.                     set {earn.%player%.12} to ({@SELLmelons} * 12)
  1214.                     set {earn.%player%.32} to ({@SELLmelons} * 32)
  1215.                     set {earn.%player%.64} to ({@SELLmelons} * 64)
  1216.                     set {inshop.%player%} to "Nature"
  1217.                 if {object.%player%} is pumpkin seeds:
  1218.                     set {earn.%player%.1} to {@SELLpumpkins}
  1219.                     set {earn.%player%.4} to ({@SELLpumpkins} * 4)
  1220.                     set {earn.%player%.12} to ({@SELLpumpkins} * 12)
  1221.                     set {earn.%player%.32} to ({@SELLpumpkins} * 32)
  1222.                     set {earn.%player%.64} to ({@SELLpumpkins} * 64)
  1223.                     set {inshop.%player%} to "Nature"
  1224.                 if {object.%player%} is wheat seeds:
  1225.                     set {earn.%player%.1} to {@SELLwheats}
  1226.                     set {earn.%player%.4} to ({@SELLwheats} * 4)
  1227.                     set {earn.%player%.12} to ({@SELLwheats} * 12)
  1228.                     set {earn.%player%.32} to ({@SELLwheats} * 32)
  1229.                     set {earn.%player%.64} to ({@SELLwheats} * 64)
  1230.                     set {inshop.%player%} to "Nature"
  1231.                 if {object.%player%} is sapling:0:
  1232.                     set {earn.%player%.1} to {@SELLsapling0}
  1233.                     set {earn.%player%.4} to ({@SELLsapling0} * 4)
  1234.                     set {earn.%player%.12} to ({@SELLsapling0} * 12)
  1235.                     set {earn.%player%.32} to ({@SELLsapling0} * 32)
  1236.                     set {earn.%player%.64} to ({@SELLsapling0} * 64)
  1237.                     set {inshop.%player%} to "Nature"
  1238.                 if {object.%player%} is sapling:1:
  1239.                     set {earn.%player%.1} to {@SELLsapling1}
  1240.                     set {earn.%player%.4} to ({@SELLsapling1} * 4)
  1241.                     set {earn.%player%.12} to ({@SELLsapling1} * 12)
  1242.                     set {earn.%player%.32} to ({@SELLsapling1} * 32)
  1243.                     set {earn.%player%.64} to ({@SELLsapling1} * 64)
  1244.                     set {inshop.%player%} to "Nature"
  1245.                 if {object.%player%} is sapling:2:
  1246.                     set {earn.%player%.1} to {@SELLsapling2}
  1247.                     set {earn.%player%.4} to ({@SELLsapling2} * 4)
  1248.                     set {earn.%player%.12} to ({@SELLsapling2} * 12)
  1249.                     set {earn.%player%.32} to ({@SELLsapling2} * 32)
  1250.                     set {earn.%player%.64} to ({@SELLsapling2} * 64)
  1251.                     set {inshop.%player%} to "Nature"
  1252.                 if {object.%player%} is sapling:3:
  1253.                     set {earn.%player%.1} to {@SELLsapling3}
  1254.                     set {earn.%player%.4} to ({@SELLsapling3} * 4)
  1255.                     set {earn.%player%.12} to ({@SELLsapling3} * 12)
  1256.                     set {earn.%player%.32} to ({@SELLsapling3} * 32)
  1257.                     set {earn.%player%.64} to ({@SELLsapling3} * 64)
  1258.                     set {inshop.%player%} to "Nature"
  1259.                 if {object.%player%} is emerald:
  1260.                     set {earn.%player%.1} to {@SELLemerald}
  1261.                     set {earn.%player%.4} to ({@SELLemerald} * 4)
  1262.                     set {earn.%player%.12} to ({@SELLemerald} * 12)
  1263.                     set {earn.%player%.32} to ({@SELLemerald} * 32)
  1264.                     set {earn.%player%.64} to ({@SELLemerald} * 64)
  1265.                     set {inshop.%player%} to "Minerals"
  1266.                 if {object.%player%} is diamond:
  1267.                     set {earn.%player%.1} to {@SELLdiamond}
  1268.                     set {earn.%player%.4} to ({@SELLdiamond} * 4)
  1269.                     set {earn.%player%.12} to ({@SELLdiamond} * 12)
  1270.                     set {earn.%player%.32} to ({@SELLdiamond} * 32)
  1271.                     set {earn.%player%.64} to ({@SELLdiamond} * 64)
  1272.                     set {inshop.%player%} to "Minerals"
  1273.                 if {object.%player%} is gold ingot:
  1274.                     set {earn.%player%.1} to {@SELLgold}
  1275.                     set {earn.%player%.4} to ({@SELLgold} * 4)
  1276.                     set {earn.%player%.12} to ({@SELLgold} * 12)
  1277.                     set {earn.%player%.32} to ({@SELLgold} * 32)
  1278.                     set {earn.%player%.64} to ({@SELLgold} * 64)
  1279.                     set {inshop.%player%} to "Minerals"
  1280.                 if {object.%player%} is iron ingot:
  1281.                     set {earn.%player%.1} to {@SELLiron}
  1282.                     set {earn.%player%.4} to ({@SELLiron} * 4)
  1283.                     set {earn.%player%.12} to ({@SELLiron} * 12)
  1284.                     set {earn.%player%.32} to ({@SELLiron} * 32)
  1285.                     set {earn.%player%.64} to ({@SELLiron} * 64)
  1286.                     set {inshop.%player%} to "Minerals"
  1287.                 if {object.%player%} is coal item:
  1288.                     set {earn.%player%.1} to {@SELLcoal}
  1289.                     set {earn.%player%.4} to ({@SELLcoal} * 4)
  1290.                     set {earn.%player%.12} to ({@SELLcoal} * 12)
  1291.                     set {earn.%player%.32} to ({@SELLcoal} * 32)
  1292.                     set {earn.%player%.64} to ({@SELLcoal} * 64)
  1293.                     set {inshop.%player%} to "Minerals"
  1294.                 if {object.%player%} is lapis lazuli:
  1295.                     set {earn.%player%.1} to {@SELLlapis}
  1296.                     set {earn.%player%.4} to ({@SELLlapis} * 4)
  1297.                     set {earn.%player%.12} to ({@SELLlapis} * 12)
  1298.                     set {earn.%player%.32} to ({@SELLlapis} * 32)
  1299.                     set {earn.%player%.64} to ({@SELLlapis} * 64)
  1300.                     set {inshop.%player%} to "Minerals"
  1301.                 if {object.%player%} is redstone:
  1302.                     set {earn.%player%.1} to {@SELLredstone}
  1303.                     set {earn.%player%.4} to ({@SELLredstone} * 4)
  1304.                     set {earn.%player%.12} to ({@SELLredstone} * 12)
  1305.                     set {earn.%player%.32} to ({@SELLredstone} * 32)
  1306.                     set {earn.%player%.64} to ({@SELLredstone} * 64)
  1307.                     set {inshop.%player%} to "Minerals"
  1308.                 if {object.%player%} is redstone repeater item:
  1309.                     set {earn.%player%.1} to {@SELLrepeater}
  1310.                     set {earn.%player%.4} to ({@SELLrepeater} * 4)
  1311.                     set {earn.%player%.12} to ({@SELLrepeater} * 12)
  1312.                     set {earn.%player%.32} to ({@SELLrepeater} * 32)
  1313.                     set {earn.%player%.64} to ({@SELLrepeater} * 64)
  1314.                     set {inshop.%player%} to "Redstone"
  1315.                 if {object.%player%} is redstone comparator item:
  1316.                     set {earn.%player%.1} to {@SELLcomparator}
  1317.                     set {earn.%player%.4} to ({@SELLcomparator} * 4)
  1318.                     set {earn.%player%.12} to ({@SELLcomparator} * 12)
  1319.                     set {earn.%player%.32} to ({@SELLcomparator} * 32)
  1320.                     set {earn.%player%.64} to ({@SELLcomparator} * 64)
  1321.                     set {inshop.%player%} to "Redstone"
  1322.                 if {object.%player%} is sticky piston item:
  1323.                     set {earn.%player%.1} to {@SELLspiston}
  1324.                     set {earn.%player%.4} to ({@SELLspiston} * 4)
  1325.                     set {earn.%player%.12} to ({@SELLspiston} * 12)
  1326.                     set {earn.%player%.32} to ({@SELLspiston} * 32)
  1327.                     set {earn.%player%.64} to ({@SELLspiston} * 64)
  1328.                     set {inshop.%player%} to "Redstone"
  1329.                 if {object.%player%} is piston item:
  1330.                     set {earn.%player%.1} to {@SELLpiston}
  1331.                     set {earn.%player%.4} to ({@SELLpiston} * 4)
  1332.                     set {earn.%player%.12} to ({@SELLpiston} * 12)
  1333.                     set {earn.%player%.32} to ({@SELLpiston} * 32)
  1334.                     set {earn.%player%.64} to ({@SELLpiston} * 64)
  1335.                     set {inshop.%player%} to "Redstone"
  1336.                 if {object.%player%} is dispenser:
  1337.                     set {earn.%player%.1} to {@SELLdispenser}
  1338.                     set {earn.%player%.4} to ({@SELLdispenser} * 4)
  1339.                     set {earn.%player%.12} to ({@SELLdispenser} * 12)
  1340.                     set {earn.%player%.32} to ({@SELLdispenser} * 32)
  1341.                     set {earn.%player%.64} to ({@SELLdispenser} * 64)
  1342.                     set {inshop.%player%} to "Redstone"
  1343.                 if {object.%player%} is hopper:
  1344.                     set {earn.%player%.1} to {@SELLhopper}
  1345.                     set {earn.%player%.4} to ({@SELLhopper} * 4)
  1346.                     set {earn.%player%.12} to ({@SELLhopper} * 12)
  1347.                     set {earn.%player%.32} to ({@SELLhopper} * 32)
  1348.                     set {earn.%player%.64} to ({@SELLhopper} * 64)
  1349.                     set {inshop.%player%} to "Redstone"
  1350.                 if {object.%player%} is apple:
  1351.                     set {earn.%player%.1} to {@SELLapple}
  1352.                     set {earn.%player%.4} to ({@SELLapple} * 4)
  1353.                     set {earn.%player%.12} to ({@SELLapple} * 12)
  1354.                     set {earn.%player%.32} to ({@SELLapple} * 32)
  1355.                     set {earn.%player%.64} to ({@SELLapple} * 64)
  1356.                     set {inshop.%player%} to "Food"
  1357.                 if {object.%player%} is golden apple:0:
  1358.                     set {earn.%player%.1} to {@SELLgapple}
  1359.                     set {earn.%player%.4} to ({@SELLgapple} * 4)
  1360.                     set {earn.%player%.12} to ({@SELLgapple} * 12)
  1361.                     set {earn.%player%.32} to ({@SELLgapple} * 32)
  1362.                     set {earn.%player%.64} to ({@SELLgapple} * 64)
  1363.                     set {inshop.%player%} to "Food"
  1364.                 if {object.%player%} is golden apple:1:
  1365.                     set {earn.%player%.1} to {@SELLgodapple}
  1366.                     set {earn.%player%.4} to ({@SELLgodapple} * 4)
  1367.                     set {earn.%player%.12} to ({@SELLgodapple} * 12)
  1368.                     set {earn.%player%.32} to ({@SELLgodapple} * 32)
  1369.                     set {earn.%player%.64} to ({@SELLgodapple} * 64)
  1370.                     set {inshop.%player%} to "Food"
  1371.                 if {object.%player%} is bread:
  1372.                     set {earn.%player%.1} to {@SELLbread}
  1373.                     set {earn.%player%.4} to ({@SELLbread} * 4)
  1374.                     set {earn.%player%.12} to ({@SELLbread} * 12)
  1375.                     set {earn.%player%.32} to ({@SELLbread} * 32)
  1376.                     set {earn.%player%.64} to ({@SELLbread} * 64)
  1377.                     set {inshop.%player%} to "Food"
  1378.                 if {object.%player%} is cooked porkchop:
  1379.                     set {earn.%player%.1} to {@SELLpork}
  1380.                     set {earn.%player%.4} to ({@SELLpork} * 4)
  1381.                     set {earn.%player%.12} to ({@SELLpork} * 12)
  1382.                     set {earn.%player%.32} to ({@SELLpork} * 32)
  1383.                     set {earn.%player%.64} to ({@SELLpork} * 64)
  1384.                     set {inshop.%player%} to "Food"
  1385.                 if {object.%player%} is steak:
  1386.                     set {earn.%player%.1} to {@SELLsteak}
  1387.                     set {earn.%player%.4} to ({@SELLsteak} * 4)
  1388.                     set {earn.%player%.12} to ({@SELLsteak} * 12)
  1389.                     set {earn.%player%.32} to ({@SELLsteak} * 32)
  1390.                     set {earn.%player%.64} to ({@SELLsteak} * 64)
  1391.                     set {inshop.%player%} to "Food"
  1392.                 if {object.%player%} is cookie:
  1393.                     set {earn.%player%.1} to {@SELLcookie}
  1394.                     set {earn.%player%.4} to ({@SELLcookie} * 4)
  1395.                     set {earn.%player%.12} to ({@SELLcookie} * 12)
  1396.                     set {earn.%player%.32} to ({@SELLcookie} * 32)
  1397.                     set {earn.%player%.64} to ({@SELLcookie} * 64)
  1398.                     set {inshop.%player%} to "Food"
  1399.                 if {object.%player%} is cooked chicken:
  1400.                     set {earn.%player%.1} to {@SELLchick}
  1401.                     set {earn.%player%.4} to ({@SELLchick} * 4)
  1402.                     set {earn.%player%.12} to ({@SELLchick} * 12)
  1403.                     set {earn.%player%.32} to ({@SELLchick} * 32)
  1404.                     set {earn.%player%.64} to ({@SELLchick} * 64)
  1405.                     set {inshop.%player%} to "Food"
  1406.                 if {object.%player%} is cooked fish:
  1407.                     set {earn.%player%.1} to {@SELLfish}
  1408.                     set {earn.%player%.4} to ({@SELLfish} * 4)
  1409.                     set {earn.%player%.12} to ({@SELLfish} * 12)
  1410.                     set {earn.%player%.32} to ({@SELLfish} * 32)
  1411.                     set {earn.%player%.64} to ({@SELLfish} * 64)
  1412.                     set {inshop.%player%} to "Food"
  1413.                 if {object.%player%} is cooked salmon:
  1414.                     set {earn.%player%.1} to {@SELLsalmon}
  1415.                     set {earn.%player%.4} to ({@SELLsalmon} * 4)
  1416.                     set {earn.%player%.12} to ({@SELLsalmon} * 12)
  1417.                     set {earn.%player%.32} to ({@SELLsalmon} * 32)
  1418.                     set {earn.%player%.64} to ({@SELLsalmon} * 64)
  1419.                     set {inshop.%player%} to "Food"
  1420.                 if {object.%player%} is cake item:
  1421.                     set {earn.%player%.1} to {@SELLcake}
  1422.                     set {earn.%player%.4} to ({@SELLcake} * 4)
  1423.                     set {earn.%player%.12} to ({@SELLcake} * 12)
  1424.                     set {earn.%player%.32} to ({@SELLcake} * 32)
  1425.                     set {earn.%player%.64} to ({@SELLcake} * 64)
  1426.                     set {inshop.%player%} to "Food"
  1427.                 if {object.%player%} is mushroom stew:
  1428.                     set {earn.%player%.1} to {@SELLmushroom}
  1429.                     set {earn.%player%.4} to ({@SELLmushroom} * 4)
  1430.                     set {earn.%player%.12} to ({@SELLmushroom} * 12)
  1431.                     set {earn.%player%.32} to ({@SELLmushroom} * 32)
  1432.                     set {earn.%player%.64} to ({@SELLmushroom} * 64)
  1433.                     set {inshop.%player%} to "Food"
  1434.                 if {object.%player%} is carrot:
  1435.                     set {earn.%player%.1} to {@SELLcarrot}
  1436.                     set {earn.%player%.4} to ({@SELLcarrot} * 4)
  1437.                     set {earn.%player%.12} to ({@SELLcarrot} * 12)
  1438.                     set {earn.%player%.32} to ({@SELLcarrot} * 32)
  1439.                     set {earn.%player%.64} to ({@SELLcarrot} * 64)
  1440.                     set {inshop.%player%} to "Food"
  1441.                 if {object.%player%} is potato:
  1442.                     set {earn.%player%.1} to {@SELLpotato}
  1443.                     set {earn.%player%.4} to ({@SELLpotato} * 4)
  1444.                     set {earn.%player%.12} to ({@SELLpotato} * 12)
  1445.                     set {earn.%player%.32} to ({@SELLpotato} * 32)
  1446.                     set {earn.%player%.64} to ({@SELLpotato} * 64)
  1447.                     set {inshop.%player%} to "Food"
  1448.                 if {object.%player%} is stone:
  1449.                     set {earn.%player%.1} to {@SELLstone}
  1450.                     set {earn.%player%.4} to ({@SELLstone} * 4)
  1451.                     set {earn.%player%.12} to ({@SELLstone} * 12)
  1452.                     set {earn.%player%.32} to ({@SELLstone} * 32)
  1453.                     set {earn.%player%.64} to ({@SELLstone} * 64)
  1454.                     set {inshop.%player%} to "Blocks"
  1455.                 if {object.%player%} is cobble:
  1456.                     set {earn.%player%.1} to {@SELLcobblestone}
  1457.                     set {earn.%player%.4} to ({@SELLcobblestone} * 4)
  1458.                     set {earn.%player%.12} to ({@SELLcobblestone} * 12)
  1459.                     set {earn.%player%.32} to ({@SELLcobblestone} * 32)
  1460.                     set {earn.%player%.64} to ({@SELLcobblestone} * 64)
  1461.                     set {inshop.%player%} to "Blocks"
  1462.                 if {object.%player%} is mossy cobble:
  1463.                     set {earn.%player%.1} to {@SELLmoss}
  1464.                     set {earn.%player%.4} to ({@SELLmoss} * 4)
  1465.                     set {earn.%player%.12} to ({@SELLmoss} * 12)
  1466.                     set {earn.%player%.32} to ({@SELLmoss} * 32)
  1467.                     set {earn.%player%.64} to ({@SELLmoss} * 64)
  1468.                     set {inshop.%player%} to "Blocks"
  1469.                 if {object.%player%} is dirt:
  1470.                     set {earn.%player%.1} to {@SELLdirt}
  1471.                     set {earn.%player%.4} to ({@SELLdirt} * 4)
  1472.                     set {earn.%player%.12} to ({@SELLdirt} * 12)
  1473.                     set {earn.%player%.32} to ({@SELLdirt} * 32)
  1474.                     set {earn.%player%.64} to ({@SELLdirt} * 64)
  1475.                     set {inshop.%player%} to "Blocks"
  1476.                 if {object.%player%} is grass:
  1477.                     set {earn.%player%.1} to {@SELLgrass}
  1478.                     set {earn.%player%.4} to ({@SELLgrass} * 4)
  1479.                     set {earn.%player%.12} to ({@SELLgrass} * 12)
  1480.                     set {earn.%player%.32} to ({@SELLgrass} * 32)
  1481.                     set {earn.%player%.64} to ({@SELLgrass} * 64)
  1482.                     set {inshop.%player%} to "Blocks"
  1483.                 if {object.%player%} is mycelium:
  1484.                     set {earn.%player%.1} to {@SELLmycelium}
  1485.                     set {earn.%player%.4} to ({@SELLmycelium} * 4)
  1486.                     set {earn.%player%.12} to ({@SELLmycelium} * 12)
  1487.                     set {earn.%player%.32} to ({@SELLmycelium} * 32)
  1488.                     set {earn.%player%.64} to ({@SELLmycelium} * 64)
  1489.                     set {inshop.%player%} to "Blocks"
  1490.                 if {object.%player%} is sand:
  1491.                     set {earn.%player%.1} to {@SELLsand}
  1492.                     set {earn.%player%.4} to ({@SELLsand} * 4)
  1493.                     set {earn.%player%.12} to ({@SELLsand} * 12)
  1494.                     set {earn.%player%.32} to ({@SELLsand} * 32)
  1495.                     set {earn.%player%.64} to ({@SELLsand} * 64)
  1496.                     set {inshop.%player%} to "Blocks"
  1497.                 if {object.%player%} is gravel:
  1498.                     set {earn.%player%.1} to {@SELLgravel}
  1499.                     set {earn.%player%.4} to ({@SELLgravel} * 4)
  1500.                     set {earn.%player%.12} to ({@SELLgravel} * 12)
  1501.                     set {earn.%player%.32} to ({@SELLgravel} * 32)
  1502.                     set {earn.%player%.64} to ({@SELLgravel} * 64)  
  1503.                     set {inshop.%player%} to "Blocks"
  1504.                 if {object.%player%} is clay block:
  1505.                     set {earn.%player%.1} to {@SELLclay}
  1506.                     set {earn.%player%.4} to ({@SELLclay} * 4)
  1507.                     set {earn.%player%.12} to ({@SELLclay} * 12)
  1508.                     set {earn.%player%.32} to ({@SELLclay} * 32)
  1509.                     set {earn.%player%.64} to ({@SELLclay} * 64)
  1510.                     set {inshop.%player%} to "Blocks"
  1511.                 if {object.%player%} is hardened clay:
  1512.                     set {earn.%player%.1} to {@SELLhardenedclay}
  1513.                     set {earn.%player%.4} to ({@SELLhardenedclay} * 4)
  1514.                     set {earn.%player%.12} to ({@SELLhardenedclay} * 12)
  1515.                     set {earn.%player%.32} to ({@SELLhardenedclay} * 32)
  1516.                     set {earn.%player%.64} to ({@SELLhardenedclay} * 64)
  1517.                     set {inshop.%player%} to "Blocks"
  1518.                 if {object.%player%} is log:0:
  1519.                     set {earn.%player%.1} to {@SELLlog}
  1520.                     set {earn.%player%.4} to ({@SELLlog} * 4)
  1521.                     set {earn.%player%.12} to ({@SELLlog} * 12)
  1522.                     set {earn.%player%.32} to ({@SELLlog} * 32)
  1523.                     set {earn.%player%.64} to ({@SELLlog} * 64)
  1524.                     set {inshop.%player%} to "Blocks"
  1525.                 if {object.%player%} is log:1:
  1526.                     set {earn.%player%.1} to {@SELLlog}
  1527.                     set {earn.%player%.4} to ({@SELLlog} * 4)
  1528.                     set {earn.%player%.12} to ({@SELLlog} * 12)
  1529.                     set {earn.%player%.32} to ({@SELLlog} * 32)
  1530.                     set {earn.%player%.64} to ({@SELLlog} * 64)
  1531.                     set {inshop.%player%} to "Blocks"
  1532.                 if {object.%player%} is log:2:
  1533.                     set {earn.%player%.1} to {@SELLlog}
  1534.                     set {earn.%player%.4} to ({@SELLlog} * 4)
  1535.                     set {earn.%player%.12} to ({@SELLlog} * 12)
  1536.                     set {earn.%player%.32} to ({@SELLlog} * 32)
  1537.                     set {earn.%player%.64} to ({@SELLlog} * 64)
  1538.                     set {inshop.%player%} to "Blocks"
  1539.                 if {object.%player%} is wool:0:
  1540.                     set {earn.%player%.1} to {@SELLwool}
  1541.                     set {earn.%player%.4} to ({@SELLwool} * 4)
  1542.                     set {earn.%player%.12} to ({@SELLwool} * 12)
  1543.                     set {earn.%player%.32} to ({@SELLwool} * 32)
  1544.                     set {earn.%player%.64} to ({@SELLwool} * 64)
  1545.                     set {inshop.%player%} to "Blocks"
  1546.                 if {object.%player%} is quartz block:
  1547.                     set {earn.%player%.1} to {@SELLquartz}
  1548.                     set {earn.%player%.4} to ({@SELLquartz} * 4)
  1549.                     set {earn.%player%.12} to ({@SELLquartz} * 12)
  1550.                     set {earn.%player%.32} to ({@SELLquartz} * 32)
  1551.                     set {earn.%player%.64} to ({@SELLquartz} * 64)
  1552.                     set {inshop.%player%} to "Blocks"
  1553.                 if {object.%player%} is snow:
  1554.                     set {earn.%player%.1} to {@SELLsnow}
  1555.                     set {earn.%player%.4} to ({@SELLsnow} * 4)
  1556.                     set {earn.%player%.12} to ({@SELLsnow} * 12)
  1557.                     set {earn.%player%.32} to ({@SELLsnow} * 32)
  1558.                     set {earn.%player%.64} to ({@SELLsnow} * 64)
  1559.                     set {inshop.%player%} to "Blocks"
  1560.                 if {object.%player%} is glass:
  1561.                     set {earn.%player%.1} to {@SELLglass}
  1562.                     set {earn.%player%.4} to ({@SELLglass} * 4)
  1563.                     set {earn.%player%.12} to ({@SELLglass} * 12)
  1564.                     set {earn.%player%.32} to ({@SELLglass} * 32)
  1565.                     set {earn.%player%.64} to ({@SELLglass} * 64)
  1566.                     set {inshop.%player%} to "Blocks"
  1567.                 if {object.%player%} is ice:
  1568.                     set {earn.%player%.1} to {@SELLice}
  1569.                     set {earn.%player%.4} to ({@SELLice} * 4)
  1570.                     set {earn.%player%.12} to ({@SELLice} * 12)
  1571.                     set {earn.%player%.32} to ({@SELLice} * 32)
  1572.                     set {earn.%player%.64} to ({@SELLice} * 64)
  1573.                     set {inshop.%player%} to "Blocks"
  1574.                 if {object.%player%} is packed ice:
  1575.                     set {earn.%player%.1} to {@SELLpackedice}
  1576.                     set {earn.%player%.4} to ({@SELLpackedice} * 4)
  1577.                     set {earn.%player%.12} to ({@SELLpackedice} * 12)
  1578.                     set {earn.%player%.32} to ({@SELLpackedice} * 32)
  1579.                     set {earn.%player%.64} to ({@SELLpackedice} * 64)
  1580.                     set {inshop.%player%} to "Blocks"
  1581.                 if {object.%player%} is end stone:
  1582.                     set {earn.%player%.1} to {@SELLendstone}
  1583.                     set {earn.%player%.4} to ({@SELLendstone} * 4)
  1584.                     set {earn.%player%.12} to ({@SELLendstone} * 12)
  1585.                     set {earn.%player%.32} to ({@SELLendstone} * 32)
  1586.                     set {earn.%player%.64} to ({@SELLendstone} * 64)
  1587.                     set {inshop.%player%} to "Blocks"
  1588.                 if {object.%player%} is obsidian:
  1589.                     set {earn.%player%.1} to {@SELLobsidian}
  1590.                     set {earn.%player%.4} to ({@SELLobsidian} * 4)
  1591.                     set {earn.%player%.12} to ({@SELLobsidian} * 12)
  1592.                     set {earn.%player%.32} to ({@SELLobsidian} * 32)
  1593.                     set {earn.%player%.64} to ({@SELLobsidian} * 64)
  1594.                     set {inshop.%player%} to "Blocks"
  1595.                 set {fromgui.%player%} to false
  1596.             else:
  1597.                 send "[&b&l!&f] This command can be executed only by GUI"
  1598.         if arg 1 is "buy":
  1599.             if {fromgui.%player%} is true:
  1600.                 set {_slot} to 0
  1601.                 loop 36 times:
  1602.                     format slot {_slot} of player with gray glass named "" to be unstealable
  1603.                     add 1 to {_slot}
  1604.                 set {_slot} to 36
  1605.                 loop 9 times:
  1606.                     format slot {_slot} of player with orange glass named "&6&lBuy" to be unstealable
  1607.                     add 1 to {_slot}
  1608.                 format slot 13 of player with {object.%player%} to be unstealable
  1609.                 format slot 29 of player with {object.%player%} with lore "&f&m-+--------+-||&7Buy: &d1 &7of &d%{object.%player%}%||&7Cost: &6%{cost.%player%.1}%$||&f&m-+--------+-" to run [set {stop.%player%} to false]->[make player execute command "/check"]->[set {cost.%player%} to {cost.%player%.1}]->[set {amount.%player%} to 1]->[set {what.%player%} to "Buy"]
  1610.                 format slot 30 of player with 4 of {object.%player%} with lore "&f&m-+--------+-||&7Buy: &d4 &7of &d%{object.%player%}%||&7Cost: &6%{cost.%player%.4}%$||&f&m-+--------+-" to run [set {stop.%player%} to false]->[make player execute command "/check"]->[set {cost.%player%} to {cost.%player%.4}]->[set {amount.%player%} to 4]->[set {what.%player%} to "Buy"]
  1611.                 format slot 31 of player with 12 of {object.%player%} with lore "&f&m-+--------+-||&7Buy: &d12 &7of &d%{object.%player%}%||&7Cost: &6%{cost.%player%.12}%$||&f&m-+--------+-" to run [set {stop.%player%} to false]->[make player execute command "/check"]->[set {cost.%player%} to {cost.%player%.12}]->[set {amount.%player%} to 12]->[set {what.%player%} to "Buy"]
  1612.                 format slot 32 of player with 32 of {object.%player%} with lore "&f&m-+--------+-||&7Buy: &d32 &7of &d%{object.%player%}%||&7Cost: &6%{cost.%player%.32}%$||&f&m-+--------+-" to run [set {stop.%player%} to false]->[make player execute command "/check"]->[set {cost.%player%} to {cost.%player%.32}]->[set {amount.%player%} to 32]->[set {what.%player%} to "Buy"]
  1613.                 format slot 33 of player with 64 of {object.%player%} with lore "&f&m-+--------+-||&7Buy: &d64 &7of &d%{object.%player%}%||&7Cost: &6%{cost.%player%.64}%$||&f&m-+--------+-" to run [set {stop.%player%} to false]->[make player execute command "/check"]->[set {cost.%player%} to {cost.%player%.64}]->[set {amount.%player%} to 64]->[set {what.%player%} to "Buy"]
  1614.                 format slot 40 of player with red glass named "&7Back" to run [set {back.%player%} to true]->[make player execute command "/shopback"]
  1615.                 format slot 41 of player with emerald named "&6Money" with lore "&f&m-+----------+-||&7Your money: &6%player's balance%||&f&m-+----------+-" to be unstealable
  1616.                 set {fromgui.%player%} to false
  1617.             else:
  1618.                 send "[&b&l!&f] This command can be executed only by GUI"
  1619.         if arg 1 is "sell":
  1620.             if {fromgui.%player%} is true:
  1621.                 set {_slot} to 0
  1622.                 loop 36 times:
  1623.                     format slot {_slot} of player with gray glass named "" to be unstealable
  1624.                     add 1 to {_slot}
  1625.                 set {_slot} to 36
  1626.                 loop 9 times:
  1627.                     format slot {_slot} of player with blue glass named "&9&lSell" to be unstealable
  1628.                     add 1 to {_slot}
  1629.                 set {numb.%player%} to number of {object.%player%} in player's inventory
  1630.                 set {earn1.%player%} to ({earn.%player%.1} * {numb.%player%})
  1631.                 format slot 13 of player with {object.%player%} to be unstealable
  1632.                 format slot 29 of player with {object.%player%} with lore "&f&m-+--------+-||&7Sell: &d1 &7of &d%{object.%player%}%||&7Earn: &6%{earn.%player%.1}%$||&f&m-+--------+-" to run [set {stop.%player%} to false]->[make player execute command "/check"]->[set {earn.%player%} to {earn.%player%.1}]->[set {amount.%player%} to 1]->[set {what.%player%} to "Sell"]->[set {all.%player%} to false]
  1633.                 format slot 30 of player with 4 of {object.%player%} with lore "&f&m-+--------+-||&7Sell: &d4 &7of &d%{object.%player%}%||&7Earn: &6%{earn.%player%.4}%$||&f&m-+--------+-" to run [set {stop.%player%} to false]->[make player execute command "/check"]->[set {earn.%player%} to {earn.%player%.4}]->[set {amount.%player%} to 4]->[set {what.%player%} to "Sell"]->[set {all.%player%} to false]
  1634.                 format slot 31 of player with 12 of {object.%player%} with lore "&f&m-+--------+-||&7Sell: &d12 &7of &d%{object.%player%}%||&7Earn: &6%{earn.%player%.12}%$||&f&m-+--------+-" to run [set {stop.%player%} to false]->[make player execute command "/check"]->[set {earn.%player%} to {earn.%player%.12}]->[set {amount.%player%} to 12]->[set {what.%player%} to "Sell"]->[set {all.%player%} to false]
  1635.                 format slot 32 of player with 32 of {object.%player%} with lore "&f&m-+--------+-||&7Sell: &d32 &7of &d%{object.%player%}%||&7Earn: &6%{earn.%player%.32}%$||&f&m-+--------+-" to run [set {stop.%player%} to false]->[make player execute command "/check"]->[set {earn.%player%} to {earn.%player%.32}]->[set {amount.%player%} to 32]->[set {what.%player%} to "Sell"]->[set {all.%player%} to false]
  1636.                 format slot 33 of player with 64 of {object.%player%} with lore "&f&m-+--------+-||&7Sell: &d64 &7of &d%{object.%player%}%||&7Earn: &6%{earn.%player%.64}%$||&f&m-+--------+-" to run [set {stop.%player%} to false]->[make player execute command    "/check"]->[set {earn.%player%} to {earn.%player%.64}]->[set {amount.%player%} to 64]->[set {what.%player%} to "Sell"]->[set {all.%player%} to false]
  1637.                 format slot 35 of player with {object.%player%} with lore "&f&m-+--------+-||&7Sell all of &d%{object.%player%}% &7in your inventory||&7Earn: &6%{earn1.%player%}%$||&f&m-+--------+-" to run [set {stop.%player%} to false]->[make player execute command "/check"]->[set {earn.%player%} to {earn1.%player%}]->[set {amount.%player%} to {numb.%player%}]->[set {what.%player%} to "Sell"]->[set {all.%player%} to true]
  1638.                 format slot 40 of player with red glass named "&7Back" to run [set {back.%player%} to true]->[make player execute command "/shopback"]
  1639.                 format slot 41 of player with emerald named "&6Money" with lore "&f&m-+----------+-||&7Your money: &6%player's balance%||&f&m-+----------+-" to be unstealable
  1640.                 set {fromgui.%player%} to false
  1641.             else:
  1642.                 send "[&b&l!&f] This command can be executed only by GUI"
  1643. command /check:
  1644.     permission: command.shop
  1645.     permission message: [&c&l!&f] You don't have permission
  1646.     trigger:
  1647.         if {stop.%player%} is false:
  1648.             wait 3 ticks
  1649.             if {what.%player%} is "Sell":
  1650.                 if {all.%player%} does not exist:
  1651.                     set {all.%player%} to false
  1652.                 if player has {amount.%player%} of {object.%player%}:
  1653.                     add {earn.%player%} to player's balance
  1654.                     remove {amount.%player%} of {object.%player%} from player
  1655.                     send "[&b&l!&f] You sold &o%{amount.%player%}% &fof &o%{object.%player%}% &ffor &6%{earn.%player%}%&f$"
  1656.                     set {stop.%player%} to true
  1657.                     set {fromgui.%player%} to true
  1658.                     make player execute command "/shop sell"
  1659.                     stop
  1660.                 else:
  1661.                     if {all.%player%} is false:
  1662.                         send "[&b&l!&f] You don't have &o%{amount.%player%}% &fof &o%{object.%player%}%"
  1663.                     else:
  1664.                         send "[&b&l!&f] You don't have any &o%{object.%player%}%"
  1665.                         set {all.%player%} to false
  1666.             if {what.%player%} is "Buy":
  1667.                 if {cost.%player%} > player's balance:
  1668.                     send "[&b&l!&f] You don't have enought money"
  1669.                     set {stop.%player%} to true
  1670.                 else if {cost.%player%} = player's balance:
  1671.                     remove {cost.%player%} from player's balance
  1672.                     give player {amount.%player%} of {object.%player%}
  1673.                     send "[&b&l!&f] You bought &o%{amount.%player%}% &fof &o%{object.%player%}% &ffor &6%{cost.%player%}%&f$"
  1674.                     set {stop.%player%} to true
  1675.                     set {fromgui.%player%} to true
  1676.                     make player execute command "/shop buy"
  1677.                     stop
  1678.                 else if {cost.%player%} < player's balance:
  1679.                     remove {cost.%player%} from player's balance
  1680.                     give player {amount.%player%} of {object.%player%}
  1681.                     send "[&b&l!&f] You bought &o%{amount.%player%}% &fof &o%{object.%player%}% &ffor &6%{cost.%player%}%&f$"
  1682.                     set {stop.%player%} to true
  1683.                     set {fromgui.%player%} to true
  1684.                     make player execute command "/shop buy"
  1685.                     stop
  1686.         else if {stop.%player%} is true:
  1687.             send "[&b&l!&f] This command can be executed only by GUI"
  1688.             stop
  1689. command /shopback:
  1690.     trigger:
  1691.         if {back.%player%} is true:
  1692.             if {inshop.%player%} is "Blocks":
  1693.                 make player execute command "/shop blocks"
  1694.                 set {back.%player%} to false
  1695.                 set {inshop.%player%} to "Shop"
  1696.                 stop
  1697.             if {inshop.%player%} is "Food":
  1698.                 make player execute command "/shop food"
  1699.                 set {back.%player%} to false
  1700.                 set {inshop.%player%} to "Shop"
  1701.                 stop
  1702.             if {inshop.%player%} is "Minerals":
  1703.                 make player execute command "/shop minerals"
  1704.                 set {back.%player%} to false
  1705.                 set {inshop.%player%} to "Shop"
  1706.                 stop
  1707.             if {inshop.%player%} is "Nature":
  1708.                 make player execute command "/shop nature"
  1709.                 set {back.%player%} to false
  1710.                 set {inshop.%player%} to "Shop"
  1711.                 stop
  1712.             if {inshop.%player%} is "Egg":
  1713.                 make player execute command "/shop egg"
  1714.                 set {back.%player%} to false
  1715.                 set {inshop.%player%} to "Shop"
  1716.                 stop
  1717.             if {inshop.%player%} is "Redstone":
  1718.                 make player execute command "/shop redstone"
  1719.                 set {back.%player%} to false
  1720.                 set {inshop.%player%} to "Shop"
  1721.                 stop
  1722.             if {inshop.%player%} is "Mix":
  1723.                 make player execute command "/shop mix"
  1724.                 set {back.%player%} to false
  1725.                 set {inshop.%player%} to "Shop"
  1726.                 stop
  1727.             if {inshop.%player%} is "Shop":
  1728.                 set {_slot} to 0
  1729.                 loop 45 times:
  1730.                     format slot {_slot} of player with gray glass named "" to be unstealable
  1731.                     add 1 to {_slot}
  1732.                 format slot 19 of player with grass named "&4&lBlocks" with lore "&7Click to open the||&4Blocks &7shop" to run [make player execute command "/shop blocks"]
  1733.                 format slot 20 of player with apple named "&c&lFood" with lore "&7Click to open the||&cFood &7shop" to run [make player execute command "/shop food"]
  1734.                 format slot 21 of player with diamond named "&6&lMinerals" with lore "&7Click to open the||&6Minerals &7shop" to run [make player execute command "/shop minerals"]
  1735.                 format slot 22 of player with oak sapling named "&e&lNature" with lore "&7Click to open the||&eNature &7shop" to run [make player execute command "/shop nature"]
  1736.                 format slot 23 of player with spawn egg named "&a&lEggs" with lore "&7Click to open the||&aEggs &7shop" to run [make player execute command "/shop egg"]
  1737.                 format slot 24 of player with redstone named "&2&lRedstone" with lore "&7Click to open the||&2Redstone &7shop" to run [make player execute command "/shop redstone"]
  1738.                 format slot 25 of player with saddle named "&9&lMiscellaneous" with lore "&7Click to open the||&9Miscellaneous &7shop" to run [make player execute command "/shop mix"]
  1739.                 format slot 40 of player with barrier named "&7Close" to close
  1740.                 format slot 41 of player with emerald named "&6Money" with lore "&f&m-+----------+-||&7Your money: &6%player's balance%||&f&m-+----------+-" to be unstealable
  1741.                 set {back.%player%} to false
  1742.                 delete {inshop.%player%}
  1743.         else:
  1744.             send "[&b&l!&f] This command can be executed only by GUI"
  1745. on sign change:
  1746.     if line 1 is "[Shop]":
  1747.         if player has permission "command.shop.sign":
  1748.             set line 1 to "&5[&9S&3h&bo&fp&5]"
  1749.             set line 3 to "&7* &fRight Click &7*"
  1750.             send "[&b&l!&f] Shop sign created"
  1751. on right click on sign:
  1752.     if line 1 of target block is "&5[&9S&3h&bo&fp&5]":
  1753.         if player has permission "command.shop":
  1754.             set {wait.%player%} to true
  1755.             make player execute command "/Shop"
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