ArtzifyHD

Craft

Aug 15th, 2017
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.30 KB | None | 0 0
  1. #This Skript was made by: funtime_egger!
  2. #Check out more of my creations! @ http://bit.ly/2ty0eBu
  3.  
  4. # UNLOCK PRICES #
  5. options:
  6. leatherHelm: 5000
  7. leatherChestplate: 5000
  8. leatherLeggings: 5000
  9. leatherBoots: 5000
  10. goldHelm: 7500
  11. goldChestplate: 7500
  12. goldLeggings: 7500
  13. goldBoots: 7500
  14. ironHelm: 10000
  15. ironChestplate: 10000
  16. ironLeggings: 10000
  17. ironBoots: 10000
  18. diamondHelm: 20000
  19. diamondChestplate: 20000
  20. diamondLeggings: 20000
  21. diamondBoots: 20000
  22. arrow: 5000
  23. bow: 10000
  24. woodensword: 2500
  25. stonesword: 5000
  26. ironsword: 7500
  27. goldsword: 10000
  28. diamondsword: 15000
  29.  
  30.  
  31.  
  32.  
  33. # UNLOCK COMMAND # {@OPTIONS} DO NOT WORK INSIDE OF OPTIONS! #
  34. # SO IF YOU CHANGE THE PERMISSIONS, CHANGE IT ON THE COMMANDS TOO! #
  35. options:
  36. leatherHelmCommand: manuaddp %player% craft.leather.helm
  37. leatherChestplateCommand: manuaddp %player% craft.leather.chestplate
  38. leatherLeggingsCommand: manuaddp %player% craft.leather.leggings
  39. leatherBootsCommand: manuaddp %player% craft.leather.boots
  40. goldHelmCommand: manuaddp %player% craft.gold.helm
  41. goldChestplateCommand: manuaddp %player% craft.gold.chestplate
  42. goldLeggingsCommand: manuaddp %player% craft.gold.leggings
  43. goldBootsCommand: manuaddp %player% craft.gold.boots
  44. ironHelmCommand: manuaddp %player% craft.iron.helm
  45. ironChestplateCommand: manuaddp %player% craft.iron.chestplate
  46. ironLeggingsCommand: manuaddp %player% craft.iron.leggings
  47. ironBootsCommand: manuaddp %player% craft.iron.boots
  48. diamondHelmCommand: manuaddp %player% craft.diamond.helm
  49. diamondChestplateCommand: manuaddp %player% craft.diamond.chestplate
  50. diamondLeggingsCommand: manuaddp %player% craft.diamond.leggings
  51. diamondBootsCommand: manuaddp %player% craft.diamond.boots
  52. arrowCommand: manuaddp %player% craft.arrow
  53. bowCommand: manuaddp %player% craft.bow
  54. stoneswordCommand: manuaddp %player% craft.stone.sword
  55. woodenswordCommand: manuaddp %player% craft.wooden.sword
  56. goldswordCommand: manuaddp %player% craft.gold.sword
  57. ironswordCommand: manuaddp %player% craft.iron.sword
  58. diamondswordCommand: manuaddp %player% craft.diamond.sword
  59.  
  60.  
  61. # PERMISSIONS #
  62. options:
  63. leatherHelmPerm: craft.leather.helm
  64. leatherChestplatePerm: craft.leather.chestplate
  65. leatherLeggingsPerm: craft.leather.leggings
  66. leatherBootsPerm: craft.leather.boots
  67. goldHelmPerm: craft.gold.helm
  68. goldChestplatePerm: craft.gold.chestplate
  69. goldLeggingsPerm: craft.gold.leggings
  70. goldBootsPerm: craft.gold.boots
  71. ironHelmPerm: craft.iron.helm
  72. ironChestplatePerm: craft.iron.chestplate
  73. ironLeggingsPerm: craft.iron.leggings
  74. ironBootsPerm: craft.iron.boots
  75. diamondHelmPerm: craft.diamond.helm
  76. diamondChestplatePerm: craft.diamond.chestplate
  77. diamondLeggingsPerm: craft.diamond.leggings
  78. diamondBootsPerm: craft.diamond.boots
  79. arrowPerm: craft.arrow
  80. bowPerm: craft.bow
  81. stoneswordPerm: craft.stone.sword
  82. woodenswordPerm: craft.wooden.sword
  83. ironswordPerm: craft.iron.sword
  84. goldswordPerm: craft.gold.sword
  85. diamondswordPerm: craft.diamond.sword
  86.  
  87.  
  88.  
  89. command /unlock:
  90. trigger:
  91. open chest with 3 rows named "&8&oChoose a Category..." to player
  92. wait 4 tick
  93. format slot 0 of player with blue glass pane named " " to be unstealable
  94. format slot 1 of player with blue glass pane named " " to be unstealable
  95. format slot 2 of player with blue glass pane named " " to be unstealable
  96. format slot 3 of player with blue glass pane named " " to be unstealable
  97. format slot 4 of player with blue glass pane named " " to be unstealable
  98. format slot 5 of player with blue glass pane named " " to be unstealable
  99. format slot 6 of player with blue glass pane named " " to be unstealable
  100. format slot 7 of player with blue glass pane named " " to be unstealable
  101. format slot 8 of player with blue glass pane named " " to be unstealable
  102. format slot 9 of player with blue glass pane named " " to be unstealable
  103. format slot 17 of player with blue glass pane named " " to be unstealable
  104. format slot 18 of player with blue glass pane named " " to be unstealable
  105. format slot 19 of player with blue glass pane named " " to be unstealable
  106. format slot 20 of player with blue glass pane named " " to be unstealable
  107. format slot 21 of player with blue glass pane named " " to be unstealable
  108. format slot 22 of player with blue glass pane named " " to be unstealable
  109. format slot 23 of player with blue glass pane named " " to be unstealable
  110. format slot 24 of player with blue glass pane named " " to be unstealable
  111. format slot 25 of player with blue glass pane named " " to be unstealable
  112. format slot 26 of player with blue glass pane named " " to be unstealable
  113. format slot 11 of player with black glass pane named " " to be unstealable
  114. format slot 13 of player with black glass pane named " " to be unstealable
  115. format slot 15 of player with black glass pane named " " to be unstealable
  116. format slot 16 of player with black glass pane named " " to be unstealable
  117. format slot 26 of player with blue glass pane named " " to be unstealable
  118. format slot 10 of player with black glass pane named " " to be unstealable
  119. format slot 12 of player with diamond chestplate named "&e&lUNLOCK ARMOUR" with lore "&7Click here to purchase||&7the ability to craft armour!" to close then run [make player execute command "unlockarmour"]
  120. format slot 14 of player with diamond sword named "&e&lUNLOCK WEAPONRY" with lore "&7Click here to purchase||&7the ability to craft weaponry!" to close then run [make player execute command "unlockweapons"]
  121.  
  122. command /unlockarmour:
  123. trigger:
  124. wait 4 ticks
  125. open chest with 6 rows named "&c&lUNLOCK ARMOUR" to player
  126. format slot 0 of player with black glass pane named " " to be unstealable
  127. format slot 1 of player with black glass pane named " " to be unstealable
  128. format slot 2 of player with black glass pane named " " to be unstealable
  129. format slot 3 of player with black glass pane named " " to be unstealable
  130. format slot 4 of player with black glass pane named " " to be unstealable
  131. format slot 5 of player with black glass pane named " " to be unstealable
  132. format slot 6 of player with black glass pane named " " to be unstealable
  133. format slot 7 of player with black glass pane named " " to be unstealable
  134. format slot 8 of player with black glass pane named " " to be unstealable
  135. format slot 9 of player with black glass pane named " " to be unstealable
  136. format slot 17 of player with black glass pane named " " to be unstealable
  137. format slot 18 of player with black glass pane named " " to be unstealable
  138. format slot 26 of player with black glass pane named " " to be unstealable
  139. format slot 27 of player with black glass pane named " " to be unstealable
  140. format slot 35 of player with black glass pane named " " to be unstealable
  141. format slot 36 of player with black glass pane named " " to be unstealable
  142. format slot 44 of player with black glass pane named " " to be unstealable
  143. format slot 45 of player with black glass pane named " " to be unstealable
  144. format slot 46 of player with black glass pane named " " to be unstealable
  145. format slot 47 of player with black glass pane named " " to be unstealable
  146. format slot 48 of player with black glass pane named " " to be unstealable
  147. format slot 49 of player with black glass pane named " " to be unstealable
  148. format slot 50 of player with black glass pane named " " to be unstealable
  149. format slot 51 of player with black glass pane named " " to be unstealable
  150. format slot 53 of player with black glass pane named " " to be unstealable
  151. format slot 52 of player with black glass pane named " " to be unstealable
  152.  
  153. if player's money is less than {@leatherHelm}:
  154. format slot 10 of player with leather helmet named "&e&lLEATHER HELMET" with lore "&7Click here to purchase the||&7ability to craft leather helmet.||||&dPrice: &a${@leatherHelm}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@leatherHelm}-(money of player)%" to be unstealable
  155. if player's money is more than or equal to {@leatherHelm}:
  156. format slot 10 of player with leather helmet named "&e&lLEATHER HELMET" with lore "&7Click here to purchase the||&7ability to craft leather helmet.||||&dPrice: &a${@leatherHelm}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@leatherHelm}%" to close then run [make console execute command "{@leatherHelmCommand}"]->[subtract {@leatherHelm} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6leather helmet!"]->[make player execute command "unlockarmour"]
  157. if player has permission "{@leatherHelmPerm}":
  158. format slot 10 of player with glowing leather helmet named "&e&lLEATHER HELMET" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  159. if player's money is less than {@leatherChestplate}:
  160. format slot 19 of player with leather chestplate named "&e&lLEATHER CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft leather chestplate.||||&dPrice: &a${@leatherChestplate}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@leatherChestplate}-(money of player)%" to be unstealable
  161. if player's money is more than or equal to {@leatherChestplate}:
  162. format slot 19 of player with leather chestplate named "&e&lLEATHER CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft leather chestplate.||||&dPrice: &a${@leatherChestplate}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@leatherChestplate}%" to close then run [make console execute command "{@leatherChestplateCommand}"]->[subtract {@leatherChestplate} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6leather chestplate!"]->[make player execute command "unlockarmour"]
  163. if player has permission "{@leatherChestplatePerm}":
  164. format slot 19 of player with glowing leather chestplate named "&e&lLEATHER CHESTPLATE" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  165. if player's money is less than {@leatherLeggings}:
  166. format slot 28 of player with leather leggings named "&e&lLEATHER LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft leather leggings.||||&dPrice: &a${@leatherLeggings}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@leatherLeggings}-(money of player)%" to be unstealable
  167. if player's money is more than or equal to {@leatherLeggings}:
  168. format slot 28 of player with leather leggings named "&e&lLEATHER LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft leather leggings.||||&dPrice: &a${@leatherLeggings}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@leatherLeggings}%" to close then run [make console execute command "{@leatherLeggingsCommand}"]->[subtract {@leatherLeggings} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6leather leggings!"]->[make player execute command "unlockarmour"]
  169. if player has permission "{@leatherLeggingsPerm}":
  170. format slot 28 of player with glowing leather leggings named "&e&lLEATHER LEGGINGS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  171. if player's money is less than {@leatherBoots}:
  172. format slot 37 of player with leather boots named "&e&lLEATHER BOOTS" with lore "&7Click here to purchase the||&7ability to craft leather boots.||||&dPrice: &a${@leatherBoots}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@leatherBoots}-(money of player)%" to be unstealable
  173. if player's money is more than or equal to {@leatherBoots}:
  174. format slot 37 of player with leather boots named "&e&lLEATHER BOOTS" with lore "&7Click here to purchase the||&7ability to craft leather boots.||||&dPrice: &a${@leatherBoots}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@leatherBoots}%" to close then run [make console execute command "{@leatherBootsCommand}"]->[subtract {@leatherBoots} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6leather boots!"]->[make player execute command "unlockarmour"]
  175. if player has permission "{@leatherBootsPerm}":
  176. format slot 37 of player with glowing leather boots named "&e&lLEATHER BOOTS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  177.  
  178.  
  179. if player's money is less than {@ironHelm}:
  180. format slot 14 of player with iron helmet named "&e&lIRON HELMET" with lore "&7Click here to purchase the||&7ability to craft iron helmet.||||&dPrice: &a${@ironHelm}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@ironHelm}-(money of player)%" to be unstealable
  181. if player's money is more than or equal to {@ironHelm}:
  182. format slot 14 of player with iron helmet named "&e&lIRON HELMET" with lore "&7Click here to purchase the||&7ability to craft iron helmet.||||&dPrice: &a${@ironHelm}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@ironHelm}%" to close then run [make console execute command "{@ironHelmCommand}"]->[subtract {@ironHelm} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6iron helmet!"]->[make player execute command "unlockarmour"]
  183. if player has permission "{@ironHelmPerm}":
  184. format slot 14 of player with glowing iron helmet named "&e&lIRON HELMET" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  185. if player's money is less than {@ironChestplate}:
  186. format slot 23 of player with iron chestplate named "&e&lIRON CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft iron chestplate.||||&dPrice: &a${@ironChestplate}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@ironChestplate}-(money of player)%" to be unstealable
  187. if player's money is more than or equal to {@ironChestplate}:
  188. format slot 23 of player with iron chestplate named "&e&lIRON CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft iron chestplate.||||&dPrice: &a${@ironChestplate}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@ironChestplate}%" to close then run [make console execute command "{@ironChestplateCommand}"]->[subtract {@ironChestplate} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6iron chestplate!"]->[make player execute command "unlockarmour"]
  189. if player has permission "{@ironChestplatePerm}":
  190. format slot 23 of player with glowing iron chestplate named "&e&lIRON CHESTPLATE" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  191. if player's money is less than {@ironLeggings}:
  192. format slot 32 of player with iron leggings named "&e&lIRON LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft iron leggings.||||&dPrice: &a${@ironLeggings}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@ironLeggings}-(money of player)%" to be unstealable
  193. if player's money is more than or equal to {@ironLeggings}:
  194. format slot 32 of player with iron leggings named "&e&lIRON LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft iron leggings.||||&dPrice: &a${@ironLeggings}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@ironLeggings}%" to close then run [make console execute command "{@ironLeggingsCommand}"]->[subtract {@ironLeggings} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6iron leggings!"]->[make player execute command "unlockarmour"]
  195. if player has permission "{@ironLeggingsPerm}":
  196. format slot 32 of player with glowing iron leggings named "&e&lIRON LEGGINGS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  197. if player's money is less than {@ironBoots}:
  198. format slot 41 of player with iron boots named "&e&lIRON BOOTS" with lore "&7Click here to purchase the||&7ability to craft iron boots.||||&dPrice: &a${@ironBoots}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@ironBoots}-(money of player)%" to be unstealable
  199. if player's money is more than or equal to {@ironBoots}:
  200. format slot 41 of player with iron boots named "&e&lIRON BOOTS" with lore "&7Click here to purchase the||&7ability to craft iron boots.||||&dPrice: &a${@ironBoots}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@ironBoots}%" to close then run [make console execute command "{@ironBootsCommand}"]->[subtract {@ironBoots} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6iron boots!"]->[make player execute command "unlockarmour"]
  201. if player has permission "{@ironBootsPerm}":
  202. format slot 41 of player with glowing iron boots named "&e&lIRON BOOTS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  203.  
  204.  
  205.  
  206. if player's money is less than {@goldHelm}:
  207. format slot 12 of player with gold helmet named "&e&lGOLD HELMET" with lore "&7Click here to purchase the||&7ability to craft gold helmet.||||&dPrice: &a${@goldHelm}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@goldHelm}-(money of player)%" to be unstealable
  208. if player's money is more than or equal to {@goldHelm}:
  209. format slot 12 of player with gold helmet named "&e&lGOLD HELMET" with lore "&7Click here to purchase the||&7ability to craft gold helmet.||||&dPrice: &a${@goldHelm}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@goldHelm}%" to close then run [make console execute command "{@goldHelmCommand}"]->[subtract {@goldHelm} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6gold helmet!"]->[make player execute command "unlockarmour"]
  210. if player has permission "{@goldHelmPerm}":
  211. format slot 12 of player with glowing gold helmet named "&e&lGOLD HELMET" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  212. if player's money is less than {@goldChestplate}:
  213. format slot 21 of player with gold chestplate named "&e&lGOLD CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft gold chestplate.||||&dPrice: &a${@goldChestplate}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@goldChestplate}-(money of player)%" to be unstealable
  214. if player's money is more than or equal to {@goldChestplate}:
  215. format slot 21 of player with gold chestplate named "&e&lGOLD CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft gold chestplate.||||&dPrice: &a${@goldChestplate}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@goldChestplate}%" to close then run [make console execute command "{@goldChestplateCommand}"]->[subtract {@goldChestplate} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6gold chestplate!"]->[make player execute command "unlockarmour"]
  216. if player has permission "{@goldChestplatePerm}":
  217. format slot 21 of player with glowing gold chestplate named "&e&lGOLD CHESTPLATE" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  218. if player's money is less than {@goldLeggings}:
  219. format slot 30 of player with gold leggings named "&e&lGOLD LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft gold leggings.||||&dPrice: &a${@goldLeggings}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@goldLeggings}-(money of player)%" to be unstealable
  220. if player's money is more than or equal to {@goldLeggings}:
  221. format slot 30 of player with gold leggings named "&e&lGOLD LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft gold leggings.||||&dPrice: &a${@goldLeggings}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@goldLeggings}%" to close then run [make console execute command "{@goldLeggingsCommand}"]->[subtract {@goldLeggings} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6gold leggings!"]->[make player execute command "unlockarmour"]
  222. if player has permission "{@goldLeggingsPerm}":
  223. format slot 30 of player with glowing gold leggings named "&e&lGOLD LEGGINGS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  224. if player's money is less than {@goldBoots}:
  225. format slot 39 of player with gold boots named "&e&lGOLD BOOTS" with lore "&7Click here to purchase the||&7ability to craft gold boots.||||&dPrice: &a${@goldBoots}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@goldBoots}-(money of player)%" to be unstealable
  226. if player's money is more than or equal to {@goldBoots}:
  227. format slot 39 of player with gold boots named "&e&lGOLD BOOTS" with lore "&7Click here to purchase the||&7ability to craft gold boots.||||&dPrice: &a${@goldBoots}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@goldBoots}%" to close then run [make console execute command "{@goldBootsCommand}"]->[subtract {@goldBoots} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6gold boots!"]->[make player execute command "unlockarmour"]
  228. if player has permission "{@goldBootsPerm}":
  229. format slot 39 of player with glowing gold boots named "&e&lGOLD BOOTS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  230.  
  231.  
  232.  
  233. if player's money is less than {@diamondHelm}:
  234. format slot 16 of player with diamond helmet named "&e&lDIAMOND HELMET" with lore "&7Click here to purchase the||&7ability to craft diamond helmet.||||&dPrice: &a${@diamondHelm}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@diamondHelm}-(money of player)%" to be unstealable
  235. if player's money is more than or equal to {@diamondHelm}:
  236. format slot 16 of player with diamond helmet named "&e&lDIAMOND HELMET" with lore "&7Click here to purchase the||&7ability to craft diamond helmet.||||&dPrice: &a${@diamondHelm}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@diamondHelm}%" to close then run [make console execute command "{@diamondHelmCommand}"]->[subtract {@diamondHelm} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6diamond helmet!"]->[make player execute command "unlockarmour"]
  237. if player has permission "{@diamondHelmPerm}":
  238. format slot 16 of player with glowing diamond helmet named "&e&lDIAMOND HELMET" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  239. if player's money is less than {@diamondChestplate}:
  240. format slot 25 of player with diamond chestplate named "&e&lDIAMOND CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft diamond chestplate.||||&dPrice: &a${@diamondChestplate}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@diamondChestplate}-(money of player)%" to be unstealable
  241. if player's money is more than or equal to {@diamondChestplate}:
  242. format slot 25 of player with diamond chestplate named "&e&lDIAMOND CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft diamond chestplate.||||&dPrice: &a${@diamondChestplate}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@diamondChestplate}%" to close then run [make console execute command "{@diamondChestplateCommand}"]->[subtract {@diamondChestplate} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6diamond chestplate!"]->[make player execute command "unlockarmour"]
  243. if player has permission "{@diamondChestplatePerm}":
  244. format slot 25 of player with glowing diamond chestplate named "&e&lDIAMOND CHESTPLATE" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  245. if player's money is less than {@diamondLeggings}:
  246. format slot 34 of player with diamond leggings named "&e&lDIAMOND LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft diamond leggings.||||&dPrice: &a${@diamondLeggings}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@diamondLeggings}-(money of player)%" to be unstealable
  247. if player's money is more than or equal to {@diamondLeggings}:
  248. format slot 34 of player with diamond leggings named "&e&lDIAMOND LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft diamond leggings.||||&dPrice: &a${@diamondLeggings}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@diamondLeggings}%" to close then run [make console execute command "{@diamondLeggingsCommand}"]->[subtract {@diamondLeggings} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6diamond leggings!"]->[make player execute command "unlockarmour"]
  249. if player has permission "{@diamondLeggingsPerm}":
  250. format slot 34 of player with glowing diamond leggings named "&e&lDIAMOND LEGGINGS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  251. if player's money is less than {@diamondBoots}:
  252. format slot 43 of player with diamond boots named "&e&lDIAMOND BOOTS" with lore "&7Click here to purchase the||&7ability to craft diamond boots.||||&dPrice: &a${@diamondBoots}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@diamondBoots}-(money of player)%" to be unstealable
  253. if player's money is more than or equal to {@diamondBoots}:
  254. format slot 43 of player with diamond boots named "&e&lDIAMOND BOOTS" with lore "&7Click here to purchase the||&7ability to craft diamond boots.||||&dPrice: &a${@diamondBoots}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@diamondBoots}%" to close then run [make console execute command "{@diamondBootsCommand}"]->[subtract {@diamondBoots} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6diamond boots!"]->[make player execute command "unlockarmour"]
  255. if player has permission "{@diamondBootsPerm}":
  256. format slot 43 of player with glowing diamond boots named "&e&lDIAMOND BOOTS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  257.  
  258. command /unlockweapons:
  259. trigger:
  260. wait 4 ticks
  261. open chest with 3 rows named "&c&lUNLOCK WEAPONARY" to player
  262. format slot 0 of player with black glass pane named " " to be unstealable
  263. format slot 1 of player with black glass pane named " " to be unstealable
  264. format slot 2 of player with black glass pane named " " to be unstealable
  265. format slot 3 of player with black glass pane named " " to be unstealable
  266. format slot 4 of player with black glass pane named " " to be unstealable
  267. format slot 5 of player with black glass pane named " " to be unstealable
  268. format slot 6 of player with black glass pane named " " to be unstealable
  269. format slot 7 of player with black glass pane named " " to be unstealable
  270. format slot 8 of player with black glass pane named " " to be unstealable
  271. format slot 9 of player with black glass pane named " " to be unstealable
  272. format slot 17 of player with black glass pane named " " to be unstealable
  273. format slot 18 of player with black glass pane named " " to be unstealable
  274. format slot 19 of player with black glass pane named " " to be unstealable
  275. format slot 20 of player with black glass pane named " " to be unstealable
  276. format slot 21 of player with black glass pane named " " to be unstealable
  277. format slot 22 of player with black glass pane named " " to be unstealable
  278. format slot 23 of player with black glass pane named " " to be unstealable
  279. format slot 24 of player with black glass pane named " " to be unstealable
  280. format slot 25 of player with black glass pane named " " to be unstealable
  281. format slot 26 of player with black glass pane named " " to be unstealable
  282. if player's money is less than {@arrow}:
  283. format slot 10 of player with arrow named "&e&lARROW" with lore "&7Click here to purchase the||&7ability to craft arrows.||||&dPrice: &a${@arrow}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@arrow}-(money of player)%" to be unstealable
  284. if player's money is more than or equal to {@arrow}:
  285. format slot 10 of player with arrow named "&e&lARROW" with lore "&7Click here to purchase the||&7ability to craft arrows.||||&dPrice: &a${@arrow}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@arrow}%" to close then run [make console execute command "{@arrowCommand}"]->[subtract {@arrow} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6arrows!"]->[make player execute command "unlockweapons"]
  286. if player has permission "{@arrowPerm}":
  287. format slot 10 of player with glowing arrow named "&e&lARROW" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  288. if player's money is less than {@bow}:
  289. format slot 11 of player with bow named "&e&lBOW" with lore "&7Click here to purchase the||&7ability to craft bows.||||&dPrice: &a${@bow}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@bow}-(money of player)%" to be unstealable
  290. if player's money is more than or equal to {@bow}:
  291. format slot 11 of player with bow named "&e&lBOW" with lore "&7Click here to purchase the||&7ability to craft bows.||||&dPrice: &a${@bow}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@bow}%" to close then run [make console execute command "{@bowCommand}"]->[subtract {@bow} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6bows!"]->[make player execute command "unlockweapons"]
  292. if player has permission "{@bowPerm}":
  293. format slot 11 of player with glowing bow named "&e&lBOW" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  294. if player's money is less than {@stonesword}:
  295. format slot 13 of player with stone sword named "&e&lSTONE SWORD" with lore "&7Click here to purchase the||&7ability to craft stone sword.||||&dPrice: &a${@stonesword}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@stonesword}-(money of player)%" to be unstealable
  296. if player's money is more than or equal to {@stonesword}:
  297. format slot 13 of player with stone sword named "&e&lSTONE SWORD" with lore "&7Click here to purchase the||&7ability to craft stone sword.||||&dPrice: &a${@stonesword}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@stonesword}%" to close then run [make console execute command "{@stoneswordCommand}"]->[subtract {@stonesword} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6stone swords!"]->[make player execute command "unlockweapons"]
  298. if player has permission "{@stoneswordPerm}":
  299. format slot 13 of player with glowing stone sword named "&e&lSTONE SWORD" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  300. if player's money is less than {@woodensword}:
  301. format slot 12 of player with wooden sword named "&e&lWOODEN SWORD" with lore "&7Click here to purchase the||&7ability to craft wooden swords.||||&dPrice: &a${@woodensword}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@woodensword}-(money of player)%" to be unstealable
  302. if player's money is more than or equal to {@woodensword}:
  303. format slot 12 of player with wooden sword named "&e&lWOODEN SWORD" with lore "&7Click here to purchase the||&7ability to craft wooden swords.||||&dPrice: &a${@woodensword}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@woodensword}%" to close then run [make console execute command "{@woodenswordCommand}"]->[subtract {@woodensword} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6wooden swords!"]->[make player execute command "unlockweapons"]
  304. if player has permission "{@woodenswordPerm}":
  305. format slot 12 of player with glowing wooden sword named "&e&lWOODEN SWORD" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  306. if player's money is less than {@goldsword}:
  307. format slot 14 of player with gold sword named "&e&lGOLD SWORD" with lore "&7Click here to purchase the||&7ability to craft gold swords.||||&dPrice: &a${@goldsword}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@goldsword}-(money of player)%" to be unstealable
  308. if player's money is more than or equal to {@goldsword}:
  309. format slot 14 of player with gold sword named "&e&lGOLD SWORD" with lore "&7Click here to purchase the||&7ability to craft gold swords.||||&dPrice: &a${@goldsword}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@goldsword}%" to close then run [make console execute command "{@goldswordCommand}"]->[subtract {@goldsword} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6gold swords!"]->[make player execute command "unlockweapons"]
  310. if player has permission "{@goldswordPerm}":
  311. format slot 14 of player with glowing gold sword named "&e&lGOLD SWORD" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  312. if player's money is less than {@ironsword}:
  313. format slot 15 of player with iron sword named "&e&lIRON SWORD" with lore "&7Click here to purchase the||&7ability to craft iron swords.||||&dPrice: &a${@ironsword}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@ironsword}-(money of player)%" to be unstealable
  314. if player's money is more than or equal to {@ironsword}:
  315. format slot 15 of player with iron sword named "&e&lIRON SWORD" with lore "&7Click here to purchase the||&7ability to craft iron swords.||||&dPrice: &a${@ironsword}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@ironsword}%" to close then run [make console execute command "{@ironswordCommand}"]->[subtract {@ironsword} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6iron swords!"]->[make player execute command "unlockweapons"]
  316. if player has permission "{@ironswordPerm}":
  317. format slot 15 of player with glowing iron sword named "&e&lIRON SWORD" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  318. if player's money is less than {@diamondsword}:
  319. format slot 16 of player with diamond sword named "&e&lDIAMOND SWORD" with lore "&7Click here to purchase the||&7ability to craft diamond swords.||||&dPrice: &a${@diamondsword}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@diamondsword}-(money of player)%" to be unstealable
  320. if player's money is more than or equal to {@diamondsword}:
  321. format slot 16 of player with diamond sword named "&e&lDIAMOND SWORD" with lore "&7Click here to purchase the||&7ability to craft diamond swords.||||&dPrice: &a${@diamondsword}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@diamondsword}%" to close then run [make console execute command "{@diamondswordCommand}"]->[subtract {@diamondsword} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6diamond swords!"]->[make player execute command "unlockweapons"]
  322. if player has permission "{@diamondswordPerm}":
  323. format slot 16 of player with glowing diamond sword named "&e&lDIAMOND SWORD" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
  324.  
  325.  
  326.  
  327. on craft of leather helmet:
  328. if player doesn't have permission "{@leatherHelmPerm}":
  329. cancel event
  330. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dleather helmet&e!"
  331. send "&aUnlock to do so with &d/unlock&a!"
  332.  
  333. on craft of leather chestplate:
  334. if player doesn't have permission "{@leatherChestplatePerm}":
  335. cancel event
  336. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dleather chestplate&e!"
  337. send "&aUnlock to do so with &d/unlock&a!"
  338.  
  339. on craft of leather leggings:
  340. if player doesn't have permission "{@leatherLeggingsPerm}":
  341. cancel event
  342. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dleather leggings"
  343. send "&aUnlock to do so with &d/unlock&a!"
  344.  
  345. on craft of leather boots:
  346. if player doesn't have permission "{@leatherBootsPerm}":
  347. cancel event
  348. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dleather boots&e!"
  349. send "&aUnlock to do so with &d/unlock&a!"
  350.  
  351. on craft of iron helmet:
  352. if player doesn't have permission "{@ironHelmPerm}":
  353. cancel event
  354. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &diron helmet&e!"
  355. send "&aUnlock to do so with &d/unlock&a!"
  356.  
  357. on craft of iron chestplate:
  358. if player doesn't have permission "{@ironChestplatePerm}":
  359. cancel event
  360. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &diron chestplate&e!"
  361. send "&aUnlock to do so with &d/unlock&a!"
  362.  
  363. on craft of iron leggings:
  364. if player doesn't have permission "{@ironLeggingsPerm}":
  365. cancel event
  366. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &diron leggings&e!"
  367. send "&aUnlock to do so with &d/unlock&a!"
  368.  
  369. on craft of iron boots:
  370. if player doesn't have permission "{@ironBootsPerm}":
  371. cancel event
  372. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &diron boots&e!"
  373. send "&aUnlock to do so with &d/unlock&a!"
  374.  
  375. on craft of gold helmet:
  376. if player doesn't have permission "{@goldHelmPerm}":
  377. cancel event
  378. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dgold helmet&e!"
  379. send "&aUnlock to do so with &d/unlock&a!"
  380.  
  381. on craft of gold chestplate:
  382. if player doesn't have permission "{@goldChestplatePerm}":
  383. cancel event
  384. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dgold chestplate&e!"
  385. send "&aUnlock to do so with &d/unlock&a!"
  386.  
  387. on craft of gold leggings:
  388. if player doesn't have permission "{@goldLeggingsPerm}":
  389. cancel event
  390. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dgold leggings&e!"
  391. send "&aUnlock to do so with &d/unlock&a!"
  392.  
  393. on craft of gold boots:
  394. if player doesn't have permission "{@goldBootsPerm}":
  395. cancel event
  396. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dgold boots&e!"
  397. send "&aUnlock to do so with &d/unlock&a!"
  398.  
  399. on craft of diamond helmet:
  400. if player doesn't have permission "{@diamondHelmPerm}":
  401. cancel event
  402. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &ddiamond helmet&e!"
  403. send "&aUnlock to do so with &d/unlock&a!"
  404.  
  405. on craft of diamond chestplate:
  406. if player doesn't have permission "{@diamondChestplatePerm}":
  407. cancel event
  408. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &ddiamond chestplate&e!"
  409. send "&aUnlock to do so with &d/unlock&a!"
  410.  
  411. on craft of diamond leggings:
  412. if player doesn't have permission "{@diamondLeggingsPerm}":
  413. cancel event
  414. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &ddiamond leggings"
  415. send "&aUnlock to do so with &d/unlock&a!"
  416.  
  417. on craft of diamond boots:
  418. if player doesn't have permission "{@diamondBoots}":
  419. cancel event
  420. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &ddiamond boots&e!"
  421. send "&aUnlock to do so with &d/unlock&a!"
  422.  
  423. on craft of arrow:
  424. if player doesn't have permission "{@arrowPerm}":
  425. cancel event
  426. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &darrows&e!"
  427. send "&aUnlock to do so with &d/unlock&a!"
  428.  
  429. on craft of bow:
  430. if player doesn't have permission "{@bowPerm}":
  431. cancel event
  432. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dbows&e!"
  433. send "&aUnlock to do so with &d/unlock&a!"
  434.  
  435. on craft of wooden sword:
  436. if player doesn't have permission "{@woodenswordPerm}":
  437. cancel event
  438. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dwooden swords&e!"
  439. send "&aUnlock to do so with &d/unlock&a!"
  440.  
  441. on craft of stone sword:
  442. if player doesn't have permission "{@stoneswordPerm}":
  443. cancel event
  444. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dstone swords&e!"
  445. send "&aUnlock to do so with &d/unlock&a!"
  446.  
  447. on craft of gold sword:
  448. if player doesn't have permission "{@goldswordPerm}":
  449. cancel event
  450. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dgold swords&e!"
  451. send "&aUnlock to do so with &d/unlock&a!"
  452.  
  453. on craft of iron sword:
  454. if player doesn't have permission "{@ironswordPerm}":
  455. cancel event
  456. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &diron swords&e!"
  457. send "&aUnlock to do so with &d/unlock&a!"
  458.  
  459. on craft of diamond sword:
  460. if player doesn't have permission "{@diamondswordPerm}":
  461. cancel event
  462. send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &ddiamond swords&e!"
  463. send "&aUnlock to do so with &d/unlock&a!"
Advertisement
Add Comment
Please, Sign In to add comment