Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 109.64 KB | None | 0 0
  1. options:
  2. Logo: &e[&6TeamTC&e]
  3.  
  4. command /shop:
  5. trigger:
  6. open chest with 3 rows named " &e[&6TeamTC&e] &aShop" to player
  7. wait 1 tick
  8. format slot 0 of player with diamond named "&bDiamonds" with lore "&aClick to view options." to close then run "sudo %player% redirect 1"
  9. format slot 1 of player with emerald named "&bEmeralds" with lore "&aClick to view options." to close then run "sudo %player% redirect 2"
  10. format slot 2 of player with gold ingot named "&bGold Ingots" with lore "&aClick to view options." to close then run "sudo %player% redirect 3"
  11. format slot 3 of player with iron ingot named "&bIron Ingots" with lore "&aClick to view options." to close then run "sudo %player% redirect 4"
  12. format slot 4 of player with lapis named "&bLapis Lazuli" with lore "&aClick to view options." to close then run "sudo %player% redirect 5"
  13. format slot 5 of player with nether quartz item named "&bNether Quartz" with lore "&aClick to view options." to close then run "sudo %player% redirect 6"
  14. format slot 6 of player with redstone named "&bRedstone" with lore "&aClick to view options." to close then run "sudo %player% redirect 7"
  15. format slot 7 of player with coal item named "&bCoal" with lore "&aClick to view options." to close then run "sudo %player% redirect 8"
  16. format slot 8 of player with ghast tear named "&bGhast Tears" with lore "&aClick to view options." to close then run "sudo %player% redirect 9"
  17. format slot 9 of player with gunpowder named "&bGunpowder" with lore "&aClick to view options." to close then run "sudo %player% redirect 10"
  18. format slot 10 of player with glowstone dust named "&bGlowstone Dust" with lore "&aClick to view options." to close then run "sudo %player% redirect 11"
  19. format slot 11 of player with slimeball named "&bSlimeballs" with lore "&aClick to view options." to close then run "sudo %player% redirect 12"
  20. format slot 12 of player with clay ball named "&bClay Balls" with lore "&aClick to view options." to close then run "sudo %player% redirect 13"
  21. format slot 13 of player with saddle named "&bSaddles" with lore "&aClick to view options." to close then run "sudo %player% redirect 14"
  22. format slot 14 of player with iron horse armor named "&bIron Horse Armor" with lore "&aClick to view options." to close then run "sudo %player% redirect 15"
  23. format slot 15 of player with gold horse armor named "&bGold Horse Armor" with lore "&aClick to view options." to close then run "sudo %player% redirect 16"
  24. format slot 16 of player with diamond horse armor named "&bDiamond Horse Armor" with lore "&aClick to view options." to close then run "sudo %player% redirect 17"
  25. format slot 26 of player with chest named "&bDonation Ranks" with lore "&aClick to view packages." to close then run "sudo %player% donate"
  26. format slot 17 of player with snowball of unbreaking 10 named "&bRandom Items(s)" with lore "&cNot Added yet.||&cNot added yet.||&cNot added yet." to close then run "sudo %player% oftherandom"
  27.  
  28. command /redirect <text>:
  29. trigger:
  30. wait 1 tick
  31. if argument 1 is "1":
  32. open chest with 3 rows named "&aDiamonds" to player
  33. wait 1 tick
  34. format slot 2 of player with 4 diamonds named "&a4 diamonds" with lore "&2Purchase||&a$2,000" to close then run "sudo %player% purchase 1"
  35. format slot 5 of player with 8 diamonds named "&a8 diamonds" with lore "&2Purchase||&a$4,000" to close then run "sudo %player% purchase 2"
  36. format slot 20 of player with 12 diamonds named "&a12 diamonds" with lore "&2Purchase||&a$6,000" to close then run "sudo %player% purchase 3"
  37. format slot 23 of player with 16 diamonds named "&a16 diamonds" with lore "&2Purchase||&a$8,000" to close then run "sudo %player% purchase 4"
  38. format slot 3 of player with 4 diamonds named "&c4 diamonds" with lore "&3Sell||&b$1,000" to close then run "sudo %player% sell 1"
  39. format slot 6 of player with 8 diamonds named "&c8 diamonds" with lore "&3Sell||&b$2,000" to close then run "sudo %player% sell 2"
  40. format slot 21 of player with 12 diamonds named "&c12 diamonds" with lore "&3Sell||&b$3,000" to close then run "sudo %player% sell 3"
  41. format slot 24 of player with 16 diamonds named "&c16 diamonds" with lore "&3Sell||&b$4,000" to close then run "sudo %player% sell 4"
  42. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  43. if argument 1 is "2":
  44. open chest with 3 rows named "&aEmeralds" to player
  45. wait 1 tick
  46. format slot 2 of player with 4 emeralds named "&a4 emeralds" with lore "&2Purchase||&a$600" to close then run "sudo %player% purchase 5"
  47. format slot 5 of player with 8 emeralds named "&a8 emeralds" with lore "&2Purchase||&a$1,200" to close then run "sudo %player% purchase 6"
  48. format slot 20 of player with 12 emeralds named "&a12 emeralds" with lore "&2Purchase||&a$1,800" to close then run "sudo %player% purchase 7"
  49. format slot 23 of player with 16 emeralds named "&a16 emeralds" with lore "&2Purchase||&a$2,400" to close then run "sudo %player% purchase 8"
  50. format slot 3 of player with 4 emeralds named "&c4 emeralds" with lore "&3Sell||&b$200" to close then run "sudo %player% sell 5"
  51. format slot 6 of player with 8 emeralds named "&c8 emeralds" with lore "&3Sell||&b$400" to close then run "sudo %player% sell 6"
  52. format slot 21 of player with 12 emeralds named "&c12 emeralds" with lore "&3Sell||&b$600" to close then run "sudo %player% sell 7"
  53. format slot 24 of player with 16 emeralds named "&c16 emeralds" with lore "&3Sell||&b$800" to close then run "sudo %player% sell 8"
  54. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  55. if argument 1 is "3":
  56. open chest with 3 rows named "&aGold Ingots" to player
  57. wait 1 tick
  58. format slot 2 of player with 16 gold ingots named "&a16 Gold Ingots" with lore "&2Purchase||&a$800" to close then run "sudo %player% purchase 9"
  59. format slot 5 of player with 32 gold ingots named "&a32 Gold Ingots" with lore "&2Purchase||&a$1,600" to close then run "sudo %player% purchase 10"
  60. format slot 20 of player with 48 gold ingots named "&a48 Gold Ingots" with lore "&2Purchase||&a$2,400" to close then run "sudo %player% purchase 11"
  61. format slot 23 of player with 64 gold ingots named "&a64 Gold Ingots" with lore "&2Purchase||&a$3,200" to close then run "sudo %player% purchase 12"
  62. format slot 3 of player with 16 gold ingots named "&c16 Gold Ingots" with lore "&3Sell||&b$300" to close then run "sudo %player% sell 9"
  63. format slot 6 of player with 32 gold ingots named "&c32 Gold Ingots" with lore "&3Sell||&b$600" to close then run "sudo %player% sell 10"
  64. format slot 21 of player with 48 gold ingots named "&c48 Gold Ingots" with lore "&3Sell||&b$900" to close then run "sudo %player% sell 11"
  65. format slot 24 of player with 64 gold ingots named "&c64 Gold Ingots" with lore "&3Sell||&b$1,200" to close then run "sudo %player% sell 12"
  66. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  67. if argument 1 is "4":
  68. open chest with 3 rows named "&aIron Ingots" to player
  69. wait 1 tick
  70. format slot 2 of player with 16 iron ingots named "&a16 Iron Ingots" with lore "&2Purchase||&a$400" to close then run "sudo %player% purchase 13"
  71. format slot 5 of player with 32 iron ingots named "&a32 Iron Ingots" with lore "&2Purchase||&a$800" to close then run "sudo %player% purchase 14"
  72. format slot 20 of player with 48 iron ingots named "&a48 Iron Ingots" with lore "&2Purchase||&a$1,200" to close then run "sudo %player% purchase 15"
  73. format slot 23 of player with 64 iron ingots named "&a64 Iron Ingots" with lore "&2Purchase||&a$1,600" to close then run "sudo %player% purchase 16"
  74. format slot 3 of player with 16 iron ingots named "&c16 Iron Ingots" with lore "&3Sell||&b$150" to close then run "sudo %player% sell 13"
  75. format slot 6 of player with 32 iron ingots named "&c32 Iron Ingots" with lore "&3Sell||&b$300" to close then run "sudo %player% sell 14"
  76. format slot 21 of player with 48 iron ingots named "&c48 Iron Ingots" with lore "&3Sell||&b$450" to close then run "sudo %player% sell 15"
  77. format slot 24 of player with 64 iron ingots named "&c64 Iron Ingots" with lore "&3Sell||&b$600" to close then run "sudo %player% sell 16"
  78. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  79. if argument 1 is "5":
  80. open chest with 3 rows named "&aLapis Lazuli" to player
  81. wait 1 tick
  82. format slot 2 of player with 16 lapis named "&a16 Lapis Lazuli" with lore "&2Purchase||&a$100" to close then run "sudo %player% purchase 17"
  83. format slot 5 of player with 32 lapis named "&a32 Lapis Lazuli" with lore "&2Purchase||&a$200" to close then run "sudo %player% purchase 18"
  84. format slot 20 of player with 48 lapis named "&a48 Lapis Lazuli" with lore "&2Purchase||&a$300" to close then run "sudo %player% purchase 19"
  85. format slot 23 of player with 64 lapis named "&a64 Lapis Lazuli" with lore "&2Purchase||&a$400" to close then run "sudo %player% purchase 20"
  86. format slot 3 of player with 16 lapis named "&c16 Lapis Lazuli" with lore "&3Sell||&b$50" to close then run "sudo %player% sell 17"
  87. format slot 6 of player with 32 lapis named "&c32 Lapis Lazuli" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 18"
  88. format slot 21 of player with 48 lapis named "&c48 Lapis Lazuli" with lore "&3Sell||&b$150" to close then run "sudo %player% sell 19"
  89. format slot 24 of player with 64 lapis named "&c64 Lapis Lazuli" with lore "&3Sell||&b$200" to close then run "sudo %player% sell 20"
  90. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  91. if argument 1 is "6":
  92. open chest with 3 rows named "&aNether Quartz" to player
  93. wait 1 tick
  94. format slot 2 of player with 16 nether quartz item named "&a16 Nether Quartz" with lore "&2Purchase||&a$150" to close then run "sudo %player% purchase 21"
  95. format slot 5 of player with 32 nether quartz item named "&a32 Nether Quartz" with lore "&2Purchase||&a$300" to close then run "sudo %player% purchase 22"
  96. format slot 20 of player with 48 nether quartz item named "&a48 Nether Quartz" with lore "&2Purchase||&a$450" to close then run "sudo %player% purchase 23"
  97. format slot 23 of player with 64 nether quartz item named "&a64 Nether Quartz" with lore "&2Purchase||&a$600" to close then run "sudo %player% purchase 24"
  98. format slot 3 of player with 16 nether quartz item named "&c16 Nether Quartz" with lore "&3Sell||&b$75" to close then run "sudo %player% sell 21"
  99. format slot 6 of player with 32 nether quartz item named "&c32 Nether Quartz" with lore "&3Sell||&b$150" to close then run "sudo %player% sell 22"
  100. format slot 21 of player with 48 nether quartz item named "&c48 Nether Quartz" with lore "&3Sell||&b$225" to close then run "sudo %player% sell 23"
  101. format slot 24 of player with 64 nether quartz item named "&c64 Nether Quartz" with lore "&3Sell||&b$300" to close then run "sudo %player% sell 24"
  102. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  103. if argument 1 is "7":
  104. open chest with 3 rows named "&aRedstone" to player
  105. wait 1 tick
  106. format slot 2 of player with 16 redstone named "&a16 Redstone" with lore "&2Purchase||&a$50" to close then run "sudo %player% purchase 25"
  107. format slot 5 of player with 32 redstone named "&a32 Redstone" with lore "&2Purchase||&a$100" to close then run "sudo %player% purchase 26"
  108. format slot 20 of player with 48 redstone named "&a48 Redstone" with lore "&2Purchase||&a$150" to close then run "sudo %player% purchase 27"
  109. format slot 23 of player with 64 redstone named "&a64 Redstone" with lore "&2Purchase||&a$200" to close then run "sudo %player% purchase 28"
  110. format slot 3 of player with 16 redstone named "&c16 Redstone" with lore "&3Sell||&b$25" to close then run "sudo %player% sell 25"
  111. format slot 6 of player with 32 redstone named "&c32 Redstone" with lore "&3Sell||&b$50" to close then run "sudo %player% sell 26"
  112. format slot 21 of player with 48 redstone named "&c48 Redstone" with lore "&3Sell||&b$75" to close then run "sudo %player% sell 27"
  113. format slot 24 of player with 64 redstone named "&c64 Redstone" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 28"
  114. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  115. if argument 1 is "8":
  116. open chest with 3 rows named "&aCoal" to player
  117. wait 1 tick
  118. format slot 2 of player with 16 coal item named "&a16 Coal" with lore "&2Purchase||&a$50" to close then run "sudo %player% purchase 29"
  119. format slot 5 of player with 32 coal item named "&a32 Coal" with lore "&2Purchase||&a$100" to close then run "sudo %player% purchase 30"
  120. format slot 20 of player with 48 coal item named "&a48 Coal" with lore "&2Purchase||&a$150" to close then run "sudo %player% purchase 31"
  121. format slot 23 of player with 64 coal item named "&a64 Coal" with lore "&2Purchase||&a$200" to close then run "sudo %player% purchase 32"
  122. format slot 3 of player with 16 coal item named "&c16 Coal" with lore "&3Sell||&b$15" to close then run "sudo %player% sell 29"
  123. format slot 6 of player with 32 coal item named "&c32 Coal" with lore "&3Sell||&b$30" to close then run "sudo %player% sell 30"
  124. format slot 21 of player with 48 coal item named "&c48 Coal" with lore "&3Sell||&b$45" to close then run "sudo %player% sell 31"
  125. format slot 24 of player with 64 coal item named "&c64 Coal" with lore "&3Sell||&b$60" to close then run "sudo %player% sell 32"
  126. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  127. if argument 1 is "9":
  128. open chest with 3 rows named "&aGhast Tears" to player
  129. wait 1 tick
  130. format slot 2 of player with 3 ghast tears named "&a3 Ghast Tear" with lore "&2Purchase||&a$450" to close then run "sudo %player% purchase 33"
  131. format slot 5 of player with 6 ghast tears named "&a6 Ghast Tear" with lore "&2Purchase||&a$900" to close then run "sudo %player% purchase 34"
  132. format slot 20 of player with 9 ghast tears named "&a9 Ghast Tear" with lore "&2Purchase||&a$1,350" to close then run "sudo %player% purchase 35"
  133. format slot 23 of player with 12 ghast tears named "&a12 Ghast Tear" with lore "&2Purchase||&a$1,800" to close then run "sudo %player% purchase 36"
  134. format slot 3 of player with 3 ghast tears named "&c3 Ghast Tear" with lore "&3Sell||&b$300" to close then run "sudo %player% sell 33"
  135. format slot 6 of player with 6 ghast tears named "&c6 Ghast Tear" with lore "&3Sell||&b$600" to close then run "sudo %player% sell 34"
  136. format slot 21 of player with 9 ghast tears named "&c9 Ghast Tear" with lore "&3Sell||&b$900" to close then run "sudo %player% sell 35"
  137. format slot 24 of player with 12 ghast tears named "&c12 Ghast Tear" with lore "&3Sell||&b$1,200" to close then run "sudo %player% sell 36"
  138. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  139. if argument 1 is "10":
  140. open chest with 3 rows named "&aRedstone" to player
  141. wait 1 tick
  142. format slot 2 of player with 16 gunpowder named "&a16 Gunpowder" with lore "&2Purchase||&a$50" to close then run "sudo %player% purchase 37"
  143. format slot 5 of player with 32 gunpowder named "&a32 Gunpowder" with lore "&2Purchase||&a$100" to close then run "sudo %player% purchase 38"
  144. format slot 20 of player with 48 gunpowder named "&a48 Gunpowder" with lore "&2Purchase||&a$150" to close then run "sudo %player% purchase 39"
  145. format slot 23 of player with 64 gunpowder named "&a64 Runpowder" with lore "&2Purchase||&a$200" to close then run "sudo %player% purchase 40"
  146. format slot 3 of player with 16 gunpowder named "&c16 Gunpowder" with lore "&3Sell||&b$25" to close then run "sudo %player% sell 37"
  147. format slot 6 of player with 32 gunpowder named "&c32 Gunpowder" with lore "&3Sell||&b$50" to close then run "sudo %player% sell 38"
  148. format slot 21 of player with 48 gunpowder named "&c48 Gunpower" with lore "&3Sell||&b$75" to close then run "sudo %player% sell 39"
  149. format slot 24 of player with 64 gunpowder named "&c64 Gunpowder" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 40"
  150. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  151. if argument 1 is "11":
  152. open chest with 3 rows named "&aGlowstone Dust" to player
  153. wait 1 tick
  154. format slot 2 of player with 16 glowstone dust named "&a16 Glowstone Dust" with lore "&2Purchase||&a$80" to close then run "sudo %player% purchase 41"
  155. format slot 5 of player with 32 glowstone dust named "&a32 Glowstone Dust" with lore "&2Purchase||&a$160" to close then run "sudo %player% purchase 42"
  156. format slot 20 of player with 48 glowstone dust named "&a48 Glowstone Dust" with lore "&2Purchase||&a$240" to close then run "sudo %player% purchase 43"
  157. format slot 23 of player with 64 glowstone dust named "&a64 Glowstone Dust" with lore "&2Purchase||&a$320" to close then run "sudo %player% purchase 44"
  158. format slot 3 of player with 16 glowstone dust named "&c16 Glowstone Dust" with lore "&3Sell||&b$40" to close then run "sudo %player% sell 41"
  159. format slot 6 of player with 32 glowstone dust named "&c32 Glowstone Dust" with lore "&3Sell||&b$80" to close then run "sudo %player% sell 42"
  160. format slot 21 of player with 48 glowstone dust named "&c48 Glowstone Dust" with lore "&3Sell||&b$120" to close then run "sudo %player% sell 43"
  161. format slot 24 of player with 64 glowstone dust named "&c64 Glowstone Dust" with lore "&3Sell||&b$160" to close then run "sudo %player% sell 44"
  162. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  163. if argument 1 is "12":
  164. open chest with 3 rows named "&aSlimeballs" to player
  165. wait 1 tick
  166. format slot 2 of player with 16 slimeballs named "&a16 Slimeball" with lore "&2Purchase||&a$100" to close then run "sudo %player% purchase 45"
  167. format slot 5 of player with 32 slimeballs named "&a32 Slimeball" with lore "&2Purchase||&a$200" to close then run "sudo %player% purchase 46"
  168. format slot 20 of player with 48 slimeballs named "&a48 Slimeball" with lore "&2Purchase||&a$300" to close then run "sudo %player% purchase 47"
  169. format slot 23 of player with 64 slimeballs named "&a64 Slimeball" with lore "&2Purchase||&a$400" to close then run "sudo %player% purchase 48"
  170. format slot 3 of player with 16 slimeballs named "&c16 Slimeball" with lore "&3Sell||&b$50" to close then run "sudo %player% sell 45"
  171. format slot 6 of player with 32 slimeballs named "&c32 Slimeball" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 46"
  172. format slot 21 of player with 48 slimeballs named "&c48 Slimeball" with lore "&3Sell||&b$150" to close then run "sudo %player% sell 47"
  173. format slot 24 of player with 64 slimeballs named "&c64 Slimeball" with lore "&3Sell||&b$200" to close then run "sudo %player% sell 48"
  174. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  175. if argument 1 is "13":
  176. open chest with 3 rows named "&aClay" to player
  177. wait 1 tick
  178. format slot 2 of player with 16 clay balls named "&a16 Clay Ball" with lore "&2Purchase||&a$50" to close then run "sudo %player% purchase 49"
  179. format slot 5 of player with 32 clay balls named "&a32 Clay Ball" with lore "&2Purchase||&a$100" to close then run "sudo %player% purchase 50"
  180. format slot 20 of player with 48 clay balls named "&a48 Clay Ball" with lore "&2Purchase||&a$150" to close then run "sudo %player% purchase 51"
  181. format slot 23 of player with 64 clay balls named "&a64 Clay Ball" with lore "&2Purchase||&a$200" to close then run "sudo %player% purchase 52"
  182. format slot 3 of player with 16 clay balls named "&c16 Clay Ball" with lore "&3Sell||&b$25" to close then run "sudo %player% sell 49"
  183. format slot 6 of player with 32 clay balls named "&c32 Clay Ball" with lore "&3Sell||&b$50" to close then run "sudo %player% sell 50"
  184. format slot 21 of player with 48 clay balls named "&c48 Clay Ball" with lore "&3Sell||&b$75" to close then run "sudo %player% sell 51"
  185. format slot 24 of player with 64 clay balls named "&c64 Clay Ball" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 52"
  186. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  187. if argument 1 is "14":
  188. wait 1 tick
  189. open chest with 3 rows named "&aSaddles" to player
  190. wait 1 tick
  191. format slot 2 of player with 1 saddle named "&a1 Saddle" with lore "&2Purchase||&a$500" to close then run "sudo %player% purchase 53"
  192. format slot 5 of player with 2 saddles named "&a2 Saddles" with lore "&2Purchase||&a$1,000" to close then run "sudo %player% purchase 54"
  193. format slot 20 of player with 3 saddles named "&a3 Saddles" with lore "&2Purchase||&a$1,500" to close then run "sudo %player% purchase 55"
  194. format slot 23 of player with 4 saddles named "&a4 Saddles" with lore "&2Purchase||&a$2,000" to close then run "sudo %player% purchase 56"
  195. format slot 3 of player with 1 saddles named "&c1 Saddles" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 53"
  196. format slot 6 of player with 2 saddles named "&c2 Saddles" with lore "&3Sell||&b$200" to close then run "sudo %player% sell 54"
  197. format slot 21 of player with 3 saddles named "&c3 Saddles" with lore "&3Sell||&b$300" to close then run "sudo %player% sell 55"
  198. format slot 24 of player with 4 saddles named "&c4 Saddles" with lore "&3Sell||&b$400" to close then run "sudo %player% sell 56"
  199. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  200. if argument 1 is "15":
  201. open chest with 3 rows named "&aIron Horse Armor" to player
  202. wait 1 tick
  203. format slot 2 of player with 1 iron horse armor named "&a1 Iron Horse Armor" with lore "&2Purchase||&a$300" to close then run "sudo %player% purchase 57"
  204. format slot 5 of player with 2 iron horse armor named "&a2 Iron Horse Armor" with lore "&2Purchase||&a$600" to close then run "sudo %player% purchase 58"
  205. format slot 20 of player with 3 iron horse armor named "&a3 Iron Horse Armor" with lore "&2Purchase||&a$900" to close then run "sudo %player% purchase 59"
  206. format slot 23 of player with 4 iron horse armor named "&a4 Iron Horse Armor" with lore "&2Purchase||&a$1,200" to close then run "sudo %player% purchase 60"
  207. format slot 3 of player with 1 iron horse armor named "&c1 Iron Horse Armor" with lore "&3Sell||&b$50" to close then run "sudo %player% sell 57"
  208. format slot 6 of player with 2 iron horse armor named "&c2 Iron Horse Armor" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 58"
  209. format slot 21 of player with 3 iron horse armor named "&c3 Iron Horse Armor" with lore "&3Sell||&b$150" to close then run "sudo %player% sell 59"
  210. format slot 24 of player with 4 iron horse armor named "&c4 Iron Horse Armor" with lore "&3Sell||&b$200" to close then run "sudo %player% sell 60"
  211. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  212. if argument 1 is "16":
  213. open chest with 3 rows named "&aGold Horse Armor" to player
  214. wait 1 tick
  215. format slot 2 of player with 1 gold horse armor named "&a1 Gold Horse Armor" with lore "&2Purchase||&a$500" to close then run "sudo %player% purchase 61"
  216. format slot 5 of player with 2 gold horse armor named "&a2 Gold Horse Armor" with lore "&2Purchase||&a$1,000" to close then run "sudo %player% purchase 62"
  217. format slot 20 of player with 3 gold horse armor named "&a3 Gold Horse Armor" with lore "&2Purchase||&a$1,500" to close then run "sudo %player% purchase 63"
  218. format slot 23 of player with 4 gold horse armor named "&a4 Gold Horse Armor" with lore "&2Purchase||&a$2,000" to close then run "sudo %player% purchase 64"
  219. format slot 3 of player with 1 gold horse armor named "&c1 Gold Horse Armor" with lore "&3Sell||&b$80" to close then run "sudo %player% sell 61"
  220. format slot 6 of player with 2 gold horse armor named "&c2 Gold Horse Armor" with lore "&3Sell||&b$160" to close then run "sudo %player% sell 62"
  221. format slot 21 of player with 3 gold horse armor named "&c3 Gold Horse Armor" with lore "&3Sell||&b$240" to close then run "sudo %player% sell 63"
  222. format slot 24 of player with 4 gold horse armor named "&c4 Gold Horse Armor" with lore "&3Sell||&b$320" to close then run "sudo %player% sell 64"
  223. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  224. if argument 1 is "17":
  225. open chest with 3 rows named "&aIron Horse Armor" to player
  226. wait 1 tick
  227. format slot 2 of player with 1 diamond horse armor named "&a1 Diamond Horse Armor" with lore "&2Purchase||&a$1,000" to close then run "sudo %player% purchase 65"
  228. format slot 5 of player with 2 diamond horse armor named "&a2 Diamond Horse Armor" with lore "&2Purchase||&a$2,000" to close then run "sudo %player% purchase 66"
  229. format slot 20 of player with 3 diamond horse armor named "&a3 Diamond Horse Armor" with lore "&2Purchase||&a$3,000" to close then run "sudo %player% purchase 67"
  230. format slot 23 of player with 4 diamond horse armor named "&a4 Diamond Horse Armor" with lore "&2Purchase||&a$4,000" to close then run "sudo %player% purchase 68"
  231. format slot 3 of player with 1 diamond horse armor named "&c1 Diamond Horse Armor" with lore "&3Sell||&b$100" to close then run "sudo %player% sell 65"
  232. format slot 6 of player with 2 diamond horse armor named "&c2 Diamond Horse Armor" with lore "&3Sell||&b$200" to close then run "sudo %player% sell 66"
  233. format slot 21 of player with 3 diamond horse armor named "&c3 Diamond Horse Armor" with lore "&3Sell||&b$300" to close then run "sudo %player% sell 67"
  234. format slot 24 of player with 4 diamond horse armor named "&c4 Diamond Horse Armor" with lore "&3Sell||&b$400" to close then run "sudo %player% sell 68"
  235. format slot 13 of player with ender pearl of unbreaking 10 named "&6Back" with lore "&aClick to go back." to close then run "sudo %player% sback"
  236.  
  237.  
  238.  
  239. command /purchase <text>:
  240. trigger:
  241. wait 1 tick
  242. if argument 1 is "1":
  243. if balance of player is less than 2000:
  244. send "&cYou do not have enough money to purchase 4 diamonds!"
  245. make the player execute command "redirect 1"
  246. stop
  247. else:
  248. if player cannot hold 4 diamonds:
  249. send "&4Error: &cYou do not have enough inventory space for that."
  250. stop
  251. else:
  252. give 4 diamonds to the player
  253. send "&aSuccessfully purchased 4 diamonds!"
  254. remove 2000 from the player's balance
  255. make the player execute command "redirect 1"
  256. if argument 1 is "2":
  257. if balance of player is less than 4000:
  258. send "&cYou do not have enough money to purchase 8 diamonds!"
  259. make the player execute command "redirect 1"
  260. stop
  261. else:
  262. if player cannot hold 8 diamonds:
  263. send "&4Error: &cYou do not have enough inventory space for that."
  264. stop
  265. else:
  266. give 8 diamonds to the player
  267. send "&aSuccessfully purchased 8 diamonds!"
  268. remove 4000 from the player's balance
  269. make the player execute command "redirect 1"
  270. if argument 1 is "3":
  271. if balance of player is less than 6000:
  272. send "&cYou do not have enough money to purchase 12 diamonds!"
  273. make the player execute command "redirect 1"
  274. stop
  275. else:
  276. if player cannot hold 12 diamonds:
  277. send "&4Error: &cYou do not have enough inventory space for that."
  278. stop
  279. else:
  280. give 12 diamonds to the player
  281. send "&aSuccessfully purchased 12 diamonds!"
  282. remove 6000 from the player's balance
  283. make the player execute command "redirect 1"
  284. if argument 1 is "4":
  285. if balance of player is less than 8000:
  286. send "&cYou do not have enough money to purchase 16 diamonds!"
  287. make the player execute command "redirect 1"
  288. stop
  289. else:
  290. if player cannot hold 16 diamonds:
  291. send "&4Error: &cYou do not have enough inventory space for that."
  292. stop
  293. else:
  294. give 16 diamonds to the player
  295. send "&aSuccessfully purchased 16 diamonds!"
  296. remove 8000 from the player's balance
  297. make the player execute command "redirect 1"
  298. if argument 1 is "5":
  299. if balance of player is less than 600:
  300. send "&cYou do not have enough money to purchase 4 emeralds!"
  301. make the player execute command "redirect 2"
  302. stop
  303. else:
  304. if player cannot hold 4 emeralds:
  305. send "&4Error: &cYou do not have enough inventory space for that."
  306. stop
  307. else:
  308. give 4 emeralds to the player
  309. send "&aSuccessfully purchased 4 emeralds!"
  310. remove 600 from the player's balance
  311. make the player execute command "redirect 2"
  312. if argument 1 is "6":
  313. if balance of player is less than 1200:
  314. send "&cYou do not have enough money to purchase 8 emeralds!"
  315. make the player execute command "redirect 2"
  316. stop
  317. else:
  318. if player cannot hold 8 emeralds:
  319. send "&4Error: &cYou do not have enough inventory space for that."
  320. stop
  321. else:
  322. give 8 emeralds to the player
  323. send "&aSuccessfully purchased 8 emeralds!"
  324. remove 1200 from the player's balance
  325. make the player execute command "redirect 2"
  326. if argument 1 is "7":
  327. if balance of player is less than 1800:
  328. send "&cYou do not have enough money to purchase 12 emeralds!"
  329. make the player execute command "redirect 2"
  330. stop
  331. else:
  332. if player cannot hold 12 emeralds:
  333. send "&4Error: &cYou do not have enough inventory space for that."
  334. stop
  335. else:
  336. give 12 emeralds to the player
  337. send "&aSuccessfully purchased 12 emeralds!"
  338. remove 1800 from the player's balance
  339. make the player execute command "redirect 2"
  340. if argument 1 is "8":
  341. if balance of player is less than 2400:
  342. send "&cYou do not have enough money to purchase 16 emeralds!"
  343. make the player execute command "redirect 2"
  344. stop
  345. else:
  346. if player cannot hold 16 emeralds:
  347. send "&4Error: &cYou do not have enough inventory space for that."
  348. stop
  349. else:
  350. give 16 emeralds to the player
  351. send "&aSuccessfully purchased 16 emeralds!"
  352. remove 2400 from the player's balance
  353. make the player execute command "redirect 2"
  354. if argument 1 is "9":
  355. if balance of player is less than 800:
  356. send "&cYou do not have enough money to purchase 16 gold ingots!"
  357. make the player execute command "redirect 3"
  358. stop
  359. else:
  360. if player cannot hold 16 gold ingots:
  361. send "&4Error: &cYou do not have enough inventory space for that."
  362. stop
  363. else:
  364. give 16 gold ingots to the player
  365. send "&aSuccessfully purchased 16 gold ingots!"
  366. remove 800 from the player's balance
  367. make the player execute command "redirect 3"
  368. if argument 1 is "10":
  369. if balance of player is less than 1600:
  370. send "&cYou do not have enough money to purchase 32 gold ingots!"
  371. make the player execute command "redirect 3"
  372. stop
  373. else:
  374. if player cannot hold 32 gold ingots:
  375. send "&4Error: &cYou do not have enough inventory space for that."
  376. stop
  377. else:
  378. give 32 gold ingots to the player
  379. send "&aSuccessfully purchased 32 gold ingots!"
  380. remove 1600 from the player's balance
  381. make the player execute command "redirect 3"
  382. if argument 1 is "11":
  383. if balance of player is less than 2400:
  384. send "&cYou do not have enough money to purchase 48 gold ingots!"
  385. make the player execute command "redirect 3"
  386. stop
  387. else:
  388. if player cannot hold 48 gold ingots:
  389. send "&4Error: &cYou do not have enough inventory space for that."
  390. stop
  391. else:
  392. give 48 gold ingots to the player
  393. send "&aSuccessfully purchased 48 gold ingots!"
  394. remove 2400 from the player's balance
  395. make the player execute command "redirect 3"
  396. if argument 1 is "12":
  397. if balance of player is less than 3200:
  398. send "&cYou do not have enough money to purchase 64 gold ingots!"
  399. make the player execute command "redirect 3"
  400. stop
  401. else:
  402. if player cannot hold 64 gold ingots:
  403. send "&4Error: &cYou do not have enough inventory space for that."
  404. stop
  405. else:
  406. give 64 gold ingots to the player
  407. send "&aSuccessfully purchased 64 gold ingots!"
  408. remove 3200 from the player's balance
  409. make the player execute command "redirect 3"
  410. if argument 1 is "13":
  411. if balance of player is less than 400:
  412. send "&cYou do not have enough money to purchase 16 iron ingots!"
  413. make the player execute command "redirect 4"
  414. stop
  415. else:
  416. if player cannot hold 16 iron ingots:
  417. send "&4Error: &cYou do not have enough inventory space for that."
  418. stop
  419. else:
  420. give 16 iron ingots to the player
  421. send "&aSuccessfully purchased 16 iron ingots!"
  422. remove 400 from the player's balance
  423. make the player execute command "redirect 4"
  424. if argument 1 is "14":
  425. if balance of player is less than 800:
  426. send "&cYou do not have enough money to purchase 32 iron ingots!"
  427. make the player execute command "redirect 4"
  428. stop
  429. else:
  430. if player cannot hold 32 iron ingots:
  431. send "&4Error: &cYou do not have enough inventory space for that."
  432. stop
  433. else:
  434. give 32 iron ingots to the player
  435. send "&aSuccessfully purchased 32 iron ingots!"
  436. remove 800 from the player's balance
  437. make the player execute command "redirect 4"
  438. if argument 1 is "15":
  439. if balance of player is less than 1200:
  440. send "&cYou do not have enough money to purchase 48 iron ingots!"
  441. make the player execute command "redirect 4"
  442. stop
  443. else:
  444. if player cannot hold 48 iron ingots:
  445. send "&4Error: &cYou do not have enough inventory space for that."
  446. stop
  447. else:
  448. give 48 iron ingots to the player
  449. send "&aSuccessfully purchased 48 iron ingots!"
  450. remove 1200 from the player's balance
  451. make the player execute command "redirect 4"
  452. if argument 1 is "16":
  453. if balance of player is less than 1600:
  454. send "&cYou do not have enough money to purchase 64 iron ingots!"
  455. make the player execute command "redirect 4"
  456. stop
  457. else:
  458. if player cannot hold 64 iron ingots:
  459. send "&4Error: &cYou do not have enough inventory space for that."
  460. stop
  461. else:
  462. give 64 iron ingots to the player
  463. send "&aSuccessfully purchased 64 iron ingots!"
  464. remove 1600 from the player's balance
  465. make the player execute command "redirect 4"
  466. if argument 1 is "17":
  467. if balance of player is less than 100:
  468. send "&cYou do not have enough money to purchase 16 lapis lazuli!"
  469. make the player execute command "redirect 5"
  470. stop
  471. else:
  472. if player cannot hold 16 lapis:
  473. send "&4Error: &cYou do not have enough inventory space for that."
  474. stop
  475. else:
  476. give 16 lapis to the player
  477. send "&aSuccessfully purchased 16 lapis lazuli!"
  478. remove 100 from the player's balance
  479. make the player execute command "redirect 5"
  480. if argument 1 is "18":
  481. if balance of player is less than 200:
  482. send "&cYou do not have enough money to purchase 32 lapis lazuli!"
  483. make the player execute command "redirect 5"
  484. stop
  485. else:
  486. if player cannot hold 32 lapis:
  487. send "&4Error: &cYou do not have enough inventory space for that."
  488. stop
  489. else:
  490. give 32 lapis to the player
  491. send "&aSuccessfully purchased 32 lapis lazuli!"
  492. remove 200 from the player's balance
  493. make the player execute command "redirect 5"
  494. if argument 1 is "19":
  495. if balance of player is less than 300:
  496. send "&cYou do not have enough money to purchase 48 lapis lazuli!"
  497. make the player execute command "redirect 5"
  498. stop
  499. else:
  500. if player cannot hold 48 lapis:
  501. send "&4Error: &cYou do not have enough inventory space for that."
  502. stop
  503. else:
  504. give 48 lapis to the player
  505. send "&aSuccessfully purchased 48 lapis lazuli!"
  506. remove 300 from the player's balance
  507. make the player execute command "redirect 5"
  508. if argument 1 is "20":
  509. if balance of player is less than 400:
  510. send "&cYou do not have enough money to purchase 64 lapis lazuli!"
  511. make the player execute command "redirect 5"
  512. stop
  513. else:
  514. if player cannot hold 64 lapis:
  515. send "&4Error: &cYou do not have enough inventory space for that."
  516. stop
  517. else:
  518. give 64 lapis to the player
  519. send "&aSuccessfully purchased 64 lapis lazuli!"
  520. remove 400 from the player's balance
  521. make the player execute command "redirect 5"
  522. if argument 1 is "21":
  523. if balance of player is less than 150:
  524. send "&cYou do not enough enough money to purchase 16 nether quartz!"
  525. make the player execute command "redirect 6"
  526. stop
  527. else:
  528. if player cannot hold 16 nether quartz item:
  529. send "&4Error: &cYou do not have enough inventory space for that."
  530. stop
  531. else:
  532. give 16 nether quartz item to the player
  533. send "&aSuccessfully purchased 16 nether quartz!"
  534. remove 150 from the player's balance
  535. make the player execute command "redirect 6"
  536. if argument 1 is "22":
  537. if balance of player is less than 300:
  538. send "&cYou do not enough enough money to purchase 32 nether quartz!"
  539. make the player execute command "redirect 6"
  540. stop
  541. else:
  542. if player cannot hold 32 nether quartz item:
  543. send "&4Error: &cYou do not have enough inventory space for that."
  544. stop
  545. else:
  546. give 32 nether quartz item to the player
  547. send "&aSuccessfully purchased 32 nether quartz!"
  548. remove 300 from the player's balance
  549. make the player execute command "redirect 6"
  550. if argument 1 is "23":
  551. if balance of player is less than 450:
  552. send "&cYou do not enough enough money to purchase 48 nether quartz!"
  553. make the player execute command "redirect 6"
  554. stop
  555. else:
  556. if player cannot hold 48 nether quartz item:
  557. send "&4Error: &cYou do not have enough inventory space for that."
  558. stop
  559. else:
  560. give 48 nether quartz item to the player
  561. send "&aSuccessfully purchased 48 nether quartz!"
  562. remove 450 from the player's balance
  563. make the player execute command "redirect 6"
  564. if argument 1 is "24":
  565. if balance of player is less than 600:
  566. send "&cYou do not enough enough money to purchase 64 nether quartz!"
  567. make the player execute command "redirect 6"
  568. stop
  569. else:
  570. if player cannot hold 64 nether quartz item:
  571. send "&4Error: &cYou do not have enough inventory space for that."
  572. stop
  573. else:
  574. give 64 nether quartz item to the player
  575. send "&aSuccessfully purchased 64 nether quartz!"
  576. remove 600 from the player's balance
  577. make the player execute command "redirect 6"
  578. if argument 1 is "25":
  579. if balance of player is less than 50:
  580. send "&cYou do not have enough money to purchase 16 redstone!"
  581. make the player execute command "redirect 7"
  582. stop
  583. else:
  584. if player cannot hold 16 redstone:
  585. send "&4Error: &cYou do not have enough inventory space for that."
  586. stop
  587. else:
  588. give 16 redstone to the player
  589. send "&aSuccessfully purchased 16 redstone!"
  590. remove 50 from the player's balance
  591. make the player execute command "redirect 7"
  592. if argument 1 is "26":
  593. if balance of player is less than 100:
  594. send "&cYou do not have enough money to purchase 32 redstone!"
  595. make the player execute command "redirect 7"
  596. stop
  597. else:
  598. if player cannot hold 32 redstone:
  599. send "&4Error: &cYou do not have enough inventory space for that."
  600. stop
  601. else:
  602. give 32 redstone to the player
  603. send "&aSuccessfully purchased 32 redstone!"
  604. remove 100 from the player's balance
  605. make the player execute command "redirect 7"
  606. if argument 1 is "27":
  607. if balance of player is less than 150:
  608. send "&cYou do not have enough money to purchase 48 redstone!"
  609. make the player execute command "redirect 7"
  610. stop
  611. else:
  612. if player cannot hold 48 redstone:
  613. send "&4Error: &cYou do not have enough inventory space for that."
  614. stop
  615. else:
  616. give 48 redstone to the player
  617. send "&aSuccessfully purchased 48 redstone!"
  618. remove 150 from the player's balance
  619. make the player execute command "redirect 7"
  620. if argument 1 is "28":
  621. if balance of player is less than 200:
  622. send "&cYou do not have enough money to purchase 64 redstone!"
  623. make the player execute command "redirect 7"
  624. stop
  625. else:
  626. if player cannot hold 64 redstone:
  627. send "&4Error: &cYou do not have enough inventory space for that."
  628. stop
  629. else:
  630. give 64 redstone to the player
  631. send "&aSuccessfully purchased 64 redstone!"
  632. remove 200 from the player's balance
  633. make the player execute command "redirect 7"
  634. if argument 1 is "29":
  635. if balance of player is less than 50:
  636. send "&cYou do not have enough money to purchase 16 coal!"
  637. make the player execute command "redirect 8"
  638. stop
  639. else:
  640. if player cannot hold 16 coal item:
  641. send "&4Error: &cYou do not have enough inventory space for that."
  642. stop
  643. else:
  644. give 16 coal item to the player
  645. send "&aSuccessfully purchased 16 coal!"
  646. remove 50 from the player's balance
  647. make the player execute command "redirect 8"
  648. if argument 1 is "30":
  649. if balance of player is less than 100:
  650. send "&cYou do not have enough money to purchase 32 coal!"
  651. make the player execute command "redirect 8"
  652. stop
  653. else:
  654. if player cannot hold 32 coal item:
  655. send "&4Error: &cYou do not have enough inventory space for that."
  656. stop
  657. else:
  658. give 32 coal item to the player
  659. send "&aSuccessfully purchased 32 coal!"
  660. remove 100 from the player's balance
  661. make the player execute command "redirect 8"
  662. if argument 1 is "31":
  663. if balance of player is less than 150:
  664. send "&cYou do not have enough money to purchase 48 coal!"
  665. make the player execute command "redirect 8"
  666. stop
  667. else:
  668. if player cannot hold 48 coal item:
  669. send "&4Error: &cYou do not have enough inventory space for that."
  670. stop
  671. else:
  672. give 48 coal item to the player
  673. send "&aSuccessfully purchased 48 coal!"
  674. remove 150 from the player's balance
  675. make the player execute command "redirect 8"
  676. if argument 1 is "32":
  677. if balance of player is less than 200:
  678. send "&cYou do not have enough money to purchase 64 coal!"
  679. make the player execute command "redirect 8"
  680. stop
  681. else:
  682. if player cannot hold 64 coal item:
  683. send "&4Error: &cYou do not have enough inventory space for that."
  684. stop
  685. else:
  686. give 64 coal item to the player
  687. send "&aSuccessfully purchased 64 coal!"
  688. remove 200 from the player's balance
  689. make the player execute command "redirect 8"
  690. if argument 1 is "33":
  691. if balance of player is less than 450:
  692. send "&cYou do not have enough money to purchase 3 ghast tears!"
  693. make the player execute command "redirect 9"
  694. stop
  695. else:
  696. if player cannot hold 3 ghast tears:
  697. send "&4Error: &cYou do not have enough inventory space for that."
  698. stop
  699. else:
  700. give 3 ghast tears to the player
  701. send "&aSuccessfully purchased 3 ghast tears!"
  702. remove 450 from the player's balance
  703. make the player execute command "redirect 9"
  704. if argument 1 is "34":
  705. if balance of player is less than 900:
  706. send "&cYou do not have enough money to purchase 6 ghast tears!"
  707. make the player execute command "redirect 9"
  708. stop
  709. else:
  710. if player cannot hold 6 ghast tears:
  711. send "&4Error: &cYou do not have enough inventory space for that."
  712. stop
  713. else:
  714. give 6 ghast tears to the player
  715. send "&aSuccessfully purchased 6 ghast tears!"
  716. remove 900 from the player's balance
  717. make the player execute command "redirect 9"
  718. if argument 1 is "35":
  719. if balance of player is less than 1350:
  720. send "&cYou do not have enough money to purchase 9 ghast tears!"
  721. make the player execute command "redirect 9"
  722. stop
  723. else:
  724. if player cannot hold 9 ghast tears:
  725. send "&4Error: &cYou do not have enough inventory space for that."
  726. stop
  727. else:
  728. give 9 ghast tears to the player
  729. send "&aSuccessfully purchased 9 ghast tears!"
  730. remove 1350 from the player's balance
  731. make the player execute command "redirect 9"
  732. if argument 1 is "36":
  733. if balance of player is less than 1800:
  734. send "&cYou do not have enough money to purchase 12 ghast tears!"
  735. make the player execute command "redirect 9"
  736. stop
  737. else:
  738. if player cannot hold 12 ghast tears:
  739. send "&4Error: &cYou do not have enough inventory space for that."
  740. stop
  741. else:
  742. give 12 ghast tears to the player
  743. send "&aSuccessfully purchased 12 ghast tears!"
  744. remove 1800 from the player's balance
  745. make the player execute command "redirect 9"
  746. if argument 1 is "37":
  747. if balance of player is less than 50:
  748. send "&cYou do not have enough money to purchase 16 gunpowder!"
  749. make the player execute command "redirect 10"
  750. stop
  751. else:
  752. if player cannot hold 16 gunpowder:
  753. send "&4Error: &cYou do not have enough inventory space for that."
  754. stop
  755. else:
  756. give 16 gunpowder to the player
  757. send "&aSuccessfully purchased 16 gunpowder!"
  758. remove 50 from the player's balance
  759. make the player execute command "redirect 10"
  760. if argument 1 is "38":
  761. if balance of player is less than 100:
  762. send "&cYou do not have enough money to purchase 32 gunpowder!"
  763. make the player execute command "redirect 10"
  764. stop
  765. else:
  766. if player cannot hold 32 gunpowder:
  767. send "&4Error: &cYou do not have enough inventory space for that."
  768. stop
  769. else:
  770. give 32 gunpowder to the player
  771. send "&aSuccessfully purchased 32 gunpowder!"
  772. remove 100 from the player's balance
  773. make the player execute command "redirect 10"
  774. if argument 1 is "39":
  775. if balance of player is less than 150:
  776. send "&cYou do not have enough money to purchase 48 gunpowder!"
  777. make the player execute command "redirect 10"
  778. stop
  779. else:
  780. if player cannot hold 48 gunpowder:
  781. send "&4Error: &cYou do not have enough inventory space for that."
  782. stop
  783. else:
  784. give 48 gunpowder to the player
  785. send "&aSuccessfully purchased 48 gunpowder!"
  786. remove 150 from the player's balance
  787. make the player execute command "redirect 10"
  788. if argument 1 is "40":
  789. if balance of player is less than 200:
  790. send "&cYou do not have enough money to purchase 64 gunpowder!"
  791. make the player execute command "redirect 10"
  792. stop
  793. else:
  794. if player cannot hold 64 gunpowder:
  795. send "&4Error: &cYou do not have enough inventory space for that."
  796. stop
  797. else:
  798. give 64 gunpowder to the player
  799. send "&aSuccessfully purchased 64 gunpowder!"
  800. remove 200 from the player's balance
  801. make the player execute command "redirect 10"
  802. if argument 1 is "41":
  803. if balance of player is less than 80:
  804. send "&cYou do not have enough money to purchased 16 glowstone dust!"
  805. make the player execute command "redirect 11"
  806. stop
  807. else:
  808. if player cannot hold 16 glowstone dust:
  809. send "&4Error: &cYou do not have enough inventory space for that."
  810. stop
  811. else:
  812. give 16 glowstone dust to the player
  813. send "&aSuccessfully purchased 16 glowstone dust!"
  814. remove 80 from the player's balance
  815. make the player execute command "redirect 11"
  816. if argument 1 is "42":
  817. if balance of player is less than 160:
  818. send "&cYou do not have enough money to purchased 32 glowstone dust!"
  819. make the player execute command "redirect 11"
  820. stop
  821. else:
  822. if player cannot hold 32 glowstone dust:
  823. send "&4Error: &cYou do not have enough inventory space for that."
  824. stop
  825. else:
  826. give 32 glowstone dust to the player
  827. send "&aSuccessfully purchased 32 glowstone dust!"
  828. remove 160 from the player's balance
  829. make the player execute command "redirect 11"
  830. if argument 1 is "43":
  831. if balance of player is less than 240:
  832. send "&cYou do not have enough money to purchased 48 glowstone dust!"
  833. make the player execute command "redirect 11"
  834. stop
  835. else:
  836. if player cannot hold 48 glowstone dust:
  837. send "&4Error: &cYou do not have enough inventory space for that."
  838. stop
  839. else:
  840. give 48 glowstone dust to the player
  841. send "&aSuccessfully purchased 48 glowstone dust!"
  842. remove 240 from the player's balance
  843. make the player execute command "redirect 11"
  844. if argument 1 is "44":
  845. if balance of player is less than 320:
  846. send "&cYou do not have enough money to purchased 64 glowstone dust!"
  847. make the player execute command "redirect 11"
  848. stop
  849. else:
  850. if player cannot hold 64 glowstone dust:
  851. send "&4Error: &cYou do not have enough inventory space for that."
  852. stop
  853. else:
  854. give 64 glowstone dust to the player
  855. send "&aSuccessfully purchased 64 glowstone dust!"
  856. remove 320 from the player's balance
  857. make the player execute command "redirect 11"
  858. if argument 1 is "45":
  859. if balance of player is less than 100:
  860. send "&cyou do not have enough money to purchase 16 slimeballs!"
  861. make the player execute command "redirect 12"
  862. stop
  863. else:
  864. if player cannot hold 16 slimeballs:
  865. send "&4Error: &cYou do not have enough inventory space for that."
  866. stop
  867. else:
  868. give 16 slimeballs to the player
  869. send "&aSuccessfully purchased 16 slimeballs!"
  870. remove 100 from the player's balance
  871. make the player execute command "redirect 12"
  872. if argument 1 is "46":
  873. if balance of player is less than 200:
  874. send "&cyou do not have enough money to purchase 32 slimeballs!"
  875. make the player execute command "redirect 12"
  876. stop
  877. else:
  878. if player cannot hold 32 slimeballs:
  879. send "&4Error: &cYou do not have enough inventory space for that."
  880. stop
  881. else:
  882. give 32 slimeballs to the player
  883. send "&aSuccessfully purchased 32 slimeballs!"
  884. remove 200 from the player's balance
  885. make the player execute command "redirect 12"
  886. if argument 1 is "47":
  887. if balance of player is less than 300:
  888. send "&cyou do not have enough money to purchase 48 slimeballs!"
  889. make the player execute command "redirect 12"
  890. stop
  891. else:
  892. if player cannot hold 48 slimeballs:
  893. send "&4Error: &cYou do not have enough inventory space for that."
  894. stop
  895. else:
  896. give 48 slimeballs to the player
  897. send "&aSuccessfully purchased 48 slimeballs!"
  898. remove 300 from the player's balance
  899. make the player execute command "redirect 12"
  900. if argument 1 is "48":
  901. if balance of player is less than 400:
  902. send "&cyou do not have enough money to purchase 64 slimeballs!"
  903. make the player execute command "redirect 12"
  904. stop
  905. else:
  906. if player cannot hold 64 slimeballs:
  907. send "&4Error: &cYou do not have enough inventory space for that."
  908. stop
  909. else:
  910. give 64 slimeballs to the player
  911. send "&aSuccessfully purchased 64 slimeballs!"
  912. remove 400 from the player's balance
  913. make the player execute command "redirect 12"
  914. if argument 1 is "49":
  915. if balance of player is less than 50:
  916. send "&cYou do not have enough money to purchase 16 clay balls!"
  917. make the player execute command "redirect 13"
  918. stop
  919. else:
  920. if player cannot hold 16 clay balls:
  921. send "&4Error: &cYou do not have enough inventory space for that."
  922. stop
  923. else:
  924. give 16 clay balls to the player
  925. send "&aSuccessfully purchases 16 clay balls!"
  926. remove 50 from the player's balance
  927. make the player execute command "redirect 13"
  928. if argument 1 is "50":
  929. if balance of player is less than 100:
  930. send "&cYou do not have enough money to purchase 32 clay balls!"
  931. make the player execute command "redirect 13"
  932. stop
  933. else:
  934. if player cannot hold 32 clay balls:
  935. send "&4Error: &cYou do not have enough inventory space for that."
  936. stop
  937. else:
  938. give 32 clay balls to the player
  939. send "&aSuccessfully purchases 32 clay balls!"
  940. remove 100 from the player's balance
  941. make the player execute command "redirect 13"
  942. if argument 1 is "51":
  943. if balance of player is less than 150:
  944. send "&cYou do not have enough money to purchase 48 clay balls!"
  945. make the player execute command "redirect 13"
  946. stop
  947. else:
  948. if player cannot hold 48 clay balls:
  949. send "&4Error: &cYou do not have enough inventory space for that."
  950. stop
  951. else:
  952. give 48 clay balls to the player
  953. send "&aSuccessfully purchases 48 clay balls!"
  954. remove 150 from the player's balance
  955. make the player execute command "redirect 13"
  956. if argument 1 is "52":
  957. if balance of player is less than 200:
  958. send "&cYou do not have enough money to purchase 64 clay balls!"
  959. make the player execute command "redirect 13"
  960. stop
  961. else:
  962. if player cannot hold 64 clay balls:
  963. send "&4Error: &cYou do not have enough inventory space for that."
  964. stop
  965. else:
  966. give 64 clay balls to the player
  967. send "&aSuccessfully purchases 64 clay balls!"
  968. remove 200 from the player's balance
  969. make the player execute command "redirect 13"
  970. if argument 1 is "53":
  971. if balance of player is less than 500:
  972. send "&cYou do not have enough money to purchase a saddle!"
  973. make the player execute command "redirect 14"
  974. stop
  975. else:
  976. if player cannot hold 1 saddle:
  977. send "&4Error: &cYou do not have enough inventory space for that."
  978. stop
  979. else:
  980. give 1 saddle to the player
  981. send "&aSuccessfully purchased a saddle!"
  982. remove 500 from the player's balance
  983. make the player execute command "redirect 14"
  984. if argument 1 is "54":
  985. if balance of player is less than 1000:
  986. send "&cYou do not have enough money to purchase 2 saddles!"
  987. make the player execute command "redirect 14"
  988. stop
  989. else:
  990. if player cannot hold 1 saddle:
  991. send "&4Error: &cYou do not have enough inventory space for that."
  992. stop
  993. else:
  994. execute console command "give %player% saddle 2"
  995. send "&aSuccessfully purchased 2 saddles!"
  996. remove 1000 from the player's balance
  997. make the player execute command "redirect 14"
  998. if argument 1 is "55":
  999. if balance of player is less than 1500:
  1000. send "&cYou do not have enough money to purchase 3 saddles!"
  1001. make the player execute command "redirect 14"
  1002. stop
  1003. else:
  1004. if player cannot hold 1 saddle:
  1005. send "&4Error: &cYou do not have enough inventory space for that."
  1006. stop
  1007. else:
  1008. execute console command "give %player% saddle 3"
  1009. send "&aSuccessfully purchased 3 saddles!"
  1010. remove 1500 from the player's balance
  1011. make the player execute command "redirect 14"
  1012. if argument 1 is "56":
  1013. if balance of player is less than 2000:
  1014. send "&cYou do not have enough money to purchase 4 saddles!"
  1015. make the player execute command "redirect 14"
  1016. stop
  1017. else:
  1018. if player cannot hold 1 saddle:
  1019. send "&4Error: &cYou do not have enough inventory space for that."
  1020. stop
  1021. else:
  1022. execute console command "give %player% saddle 4"
  1023. send "&aSuccessfully purchased 4 saddles!"
  1024. remove 2000 from the player's balance
  1025. make the player execute command "redirect 14"
  1026. if argument 1 is "57":
  1027. if balance of player is less than 300:
  1028. send "&cYou do not have enough money to purchase 1 iron horse armor!"
  1029. make the player execute command "redirect 15"
  1030. stop
  1031. else:
  1032. if player cannot hold 1 iron horse armor:
  1033. send "&4Error: &cYou do not have enough inventory space for that."
  1034. stop
  1035. else:
  1036. give 1 iron horse armor to the player
  1037. send "&aSuccessfully purchased 1 iron horse armor!"
  1038. remove 300 from the player's balance
  1039. make the player execute command "redirect 15"
  1040. if argument 1 is "58":
  1041. if balance of player is less than 600:
  1042. send "&cYou do not have enough money to purchase 2 iron horse armor!"
  1043. make the player execute command "redirect 15"
  1044. stop
  1045. else:
  1046. if player cannot hold 1 iron horse armor:
  1047. send "&4Error: &cYou do not have enough inventory space for that."
  1048. stop
  1049. else:
  1050. execute console command "give %player% 417 2"
  1051. send "&aSuccessfully purchased 2 iron horse armor!"
  1052. remove 600 from the player's balance
  1053. make the player execute command "redirect 15"
  1054. if argument 1 is "59":
  1055. if balance of player is less than 900:
  1056. send "&cYou do not have enough money to purchase 3 iron horse armor!"
  1057. make the player execute command "redirect 15"
  1058. stop
  1059. else:
  1060. if player cannot hold 1 iron horse armor:
  1061. send "&4Error: &cYou do not have enough inventory space for that."
  1062. stop
  1063. else:
  1064. execute console command "give %player% 417 3"
  1065. send "&aSuccessfully purchased 2 iron horse armor!"
  1066. remove 900 from the player's balance
  1067. make the player execute command "redirect 15"
  1068. if argument 1 is "60":
  1069. if balance of player is less than 1200:
  1070. send "&cYou do not have enough money to purchase 4 iron horse armor!"
  1071. make the player execute command "redirect 15"
  1072. stop
  1073. else:
  1074. if player cannot hold 1 iron horse armor:
  1075. send "&4Error: &cYou do not have enough inventory space for that."
  1076. stop
  1077. else:
  1078. execute console command "give %player% 417 4"
  1079. send "&aSuccessfully purchased 2 iron horse armor!"
  1080. remove 1200 from the player's balance
  1081. make the player execute command "redirect 15"
  1082. if argument 1 is "61":
  1083. if balance of player is less than 500:
  1084. send "&cYou do not have enough money to purchase 1 gold horse armor!"
  1085. make the player execute command "redirect 16"
  1086. stop
  1087. else:
  1088. if player cannot hold 1 gold horse armor:
  1089. send "&4Error: &cYou do not have enough inventory space for that."
  1090. stop
  1091. else:
  1092. give 1 gold horse armor to the player
  1093. send "&aSuccessfully purchased 1 gold horse armor!"
  1094. remove 500 from the player's balance
  1095. make the player execute command "redirect 16"
  1096. if argument 1 is "62":
  1097. if balance of player is less than 1000:
  1098. send "&cYou do not have enough money to purchase 2 gold horse armor!"
  1099. make the player execute command "redirect 16"
  1100. stop
  1101. else:
  1102. if player cannot hold 1 gold horse armor:
  1103. send "&4Error: &cYou do not have enough inventory space for that."
  1104. stop
  1105. else:
  1106. execute console command "give %player% 418 2"
  1107. send "&aSuccessfully purchased 2 gold horse armor!"
  1108. remove 1000 from the player's balance
  1109. make the player execute command "redirect 16"
  1110. if argument 1 is "63":
  1111. if balance of player is less than 1500:
  1112. send "&cYou do not have enough money to purchase 3 gold horse armor!"
  1113. make the player execute command "redirect 16"
  1114. stop
  1115. else:
  1116. if player cannot hold 1 gold horse armor:
  1117. send "&4Error: &cYou do not have enough inventory space for that."
  1118. stop
  1119. else:
  1120. execute console command "give %player% 418 3"
  1121. send "&aSuccessfully purchased 3 gold horse armor!"
  1122. remove 1500 from the player's balance
  1123. make the player execute command "redirect 16"
  1124. if argument 1 is "64":
  1125. if balance of player is less than 2000:
  1126. send "&cYou do not have enough money to purchase 4 gold horse armor!"
  1127. make the player execute command "redirect 16"
  1128. stop
  1129. else:
  1130. if player cannot hold 1 gold horse armor:
  1131. send "&4Error: &cYou do not have enough inventory space for that."
  1132. stop
  1133. else:
  1134. execute console command "give %player% 418 4"
  1135. send "&aSuccessfully purchased 4 gold horse armor!"
  1136. remove 2000 from the player's balance
  1137. make the player execute command "redirect 16"
  1138. if argument 1 is "65":
  1139. if balance of player is less than 1000:
  1140. send "&cYou do not have enough money to purchase 1 diamond horse armor!"
  1141. make the player execute command "redirect 17"
  1142. stop
  1143. else:
  1144. if player cannot hold 1 diamond horse armor:
  1145. send "&4Error: &cYou do not have enough inventory space for that."
  1146. stop
  1147. else:
  1148. give 1 diamond horse armor to the player
  1149. send "&aSuccessfully purchased 1 diamond horse armor!"
  1150. remove 1000 from the player's balance
  1151. make the player execute command "redirect 17"
  1152. if argument 1 is "66":
  1153. if balance of player is less than 2000:
  1154. send "&cYou do not have enough money to purchase 2 diamond horse armor!"
  1155. make the player execute command "redirect 17"
  1156. stop
  1157. else:
  1158. if player cannot hold 1 diamond horse armor:
  1159. send "&4Error: &cYou do not have enough inventory space for that."
  1160. stop
  1161. else:
  1162. execute console command "give %player% 419 2"
  1163. send "&aSuccessfully purchased 2 diamond horse armor!"
  1164. remove 2000 from the player's balance
  1165. make the player execute command "redirect 17"
  1166. if argument 1 is "67":
  1167. if balance of player is less than 3000:
  1168. send "&cYou do not have enough money to purchase 3 diamond horse armor!"
  1169. make the player execute command "redirect 17"
  1170. stop
  1171. else:
  1172. if player cannot hold 1 diamond horse armor:
  1173. send "&4Error: &cYou do not have enough inventory space for that."
  1174. stop
  1175. else:
  1176. execute console command "give %player% 419 3"
  1177. send "&aSuccessfully purchased 3 diamond horse armor!"
  1178. remove 3000 from the player's balance
  1179. make the player execute command "redirect 17"
  1180. if argument 1 is "68":
  1181. if balance of player is less than 4000:
  1182. send "&cYou do not have enough money to purchase 4 diamond horse armor!"
  1183. make the player execute command "redirect 17"
  1184. stop
  1185. else:
  1186. if player cannot hold 1 diamond horse armor:
  1187. send "&4Error: &cYou do not have enough inventory space for that."
  1188. stop
  1189. else:
  1190. execute console command "give %player% 419 4"
  1191. send "&aSuccessfully purchased 4 diamond horse armor!"
  1192. remove 4000 from the player's balance
  1193. make the player execute command "redirect 17"
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199. #==================================================================================================================
  1200. #==================================================================================================================
  1201. #==================================================================================================================
  1202. #==================================================================================================================
  1203. #==================================================================================================================
  1204.  
  1205. command /sell <text>:
  1206. trigger:
  1207. if argument 1 is "1":
  1208. if player does not have 4 diamonds:
  1209. send "&cYou do not have enough diamonds to sell!"
  1210. make the player execute command "redirect 1"
  1211. stop
  1212. else:
  1213. remove 4 diamonds from the player
  1214. send "&aSuccessfully sold 4 diamonds for &2$1,000"
  1215. add 1000 to the player's balance
  1216. make the player execute command "redirect 1"
  1217. if argument 1 is "2":
  1218. if player does not have 8 diamonds:
  1219. send "&cYou do not have enough diamonds to sell!"
  1220. make the player execute command "redirect 1"
  1221. stop
  1222. else:
  1223. remove 8 diamonds from the player
  1224. send "&aSuccessfully sold 8 diamonds for &2$2,000"
  1225. add 2000 to the player's balance
  1226. make the player execute command "redirect 1"
  1227. if argument 1 is "3":
  1228. if player does not have 12 diamonds:
  1229. send "&cYou do not have enough diamonds to sell!"
  1230. make the player execute command "redirect 1"
  1231. stop
  1232. else:
  1233. remove 12 diamonds from the player
  1234. send "&aSuccessfully sold 12 diamonds for &2$3,000"
  1235. add 3000 to the player's balance
  1236. make the player execute command "redirect 1"
  1237. if argument 1 is "4":
  1238. if player does not have 16 diamonds:
  1239. send "&cYou do not have enough diamonds to sell!"
  1240. make the player execute command "redirect 1"
  1241. stop
  1242. else:
  1243. remove 16 diamonds from the player
  1244. send "&aSuccessfully sold 16 diamonds for &2$4,000"
  1245. add 4000 to the player's balance
  1246. make the player execute command "redirect 1"
  1247. if argument 1 is "5":
  1248. if player does not have 4 emeralds:
  1249. send "&cYou do not have enough emeralds to sell!"
  1250. make the player execute command "redirect 2"
  1251. stop
  1252. else:
  1253. remove 4 emeralds from the player
  1254. send "&aSuccessfully sold 4 emeralds for &2$200"
  1255. add 200 to the player's balance
  1256. make the player execute command "redirect 2"
  1257. if argument 1 is "6":
  1258. if player does not have 8 emeralds:
  1259. send "&cYou do not have enough emeralds to sell!"
  1260. make the player execute command "redirect 2"
  1261. stop
  1262. else:
  1263. remove 8 emeralds from the player
  1264. send "&aSuccessfully sold 8 emeralds for &2$400"
  1265. add 400 to the player's balance
  1266. make the player execute command "redirect 2"
  1267. if argument 1 is "7":
  1268. if player does not have 12 emeralds:
  1269. send "&cYou do not have enough emeralds to sell!"
  1270. make the player execute command "redirect 2"
  1271. stop
  1272. else:
  1273. remove 12 emeralds from the player
  1274. send "&aSuccessfully sold 12 emeralds for &2$600"
  1275. add 600 to the player's balance
  1276. make the player execute command "redirect 2"
  1277. if argument 1 is "8":
  1278. if player does not have 16 emeralds:
  1279. send "&cYou do not have enough emeralds to sell!"
  1280. make the player execute command "redirect 2"
  1281. stop
  1282. else:
  1283. remove 16 emeralds from the player
  1284. send "&aSuccessfully sold 16 emeralds for &2$800"
  1285. add 800 to the player's balance
  1286. make the player execute command "redirect 2"
  1287. if argument 1 is "9":
  1288. if player does not have 16 gold ingots:
  1289. send "&cYou do not have enough gold ingots to sell!"
  1290. make the player execute command "redirect 3"
  1291. stop
  1292. else:
  1293. remove 16 gold ingots from the player
  1294. send "&aSuccessfully sold 16 gold ingots for &2$300"
  1295. add 300 to the player's balance
  1296. make the player execute command "redirect 3"
  1297. if argument 1 is "10":
  1298. if player does not have 32 gold ingots:
  1299. send "&cYou do not have enough gold ingots to sell!"
  1300. make the player execute command "redirect 3"
  1301. stop
  1302. else:
  1303. remove 32 gold ingots from the player
  1304. send "&aSuccessfully sold 32 gold ingots for &2$600"
  1305. add 600 to the player's balance
  1306. make the player execute command "redirect 3"
  1307. if argument 1 is "11":
  1308. if player does not have 48 gold ingots:
  1309. send "&cYou do not have enough gold ingots to sell!"
  1310. make the player execute command "redirect 3"
  1311. stop
  1312. else:
  1313. remove 48 gold ingots from the player
  1314. send "&aSuccessfully sold 48 gold ingots for &2$900"
  1315. add 900 to the player's balance
  1316. make the player execute command "redirect 3"
  1317. if argument 1 is "12":
  1318. if player does not have 64 gold ingots:
  1319. send "&cYou do not have enough gold ingots to sell!"
  1320. make the player execute command "redirect 3"
  1321. stop
  1322. else:
  1323. remove 64 gold ingots from the player
  1324. send "&aSuccessfully sold 64 gold ingots for &2$1,200"
  1325. add 1200 to the player's balance
  1326. make the player execute command "redirect 3"
  1327. if argument 1 is "13":
  1328. if player does not have 16 iron ingots:
  1329. send "&cYou do not have enough iron ingots to sell!"
  1330. make the player execute command "redirect 4"
  1331. stop
  1332. else:
  1333. remove 16 iron ingots from the player
  1334. send "&aSuccessfully sold 16 iron ingots for &2$150"
  1335. add 150 to the player's balance
  1336. make the player execute command "redirect 4"
  1337. if argument 1 is "14":
  1338. if player does not have 32 iron ingots:
  1339. send "&cYou do not have enough iron ingots to sell!"
  1340. make the player execute command "redirect 4"
  1341. stop
  1342. else:
  1343. remove 32 iron ingots from the player
  1344. send "&aSuccessfully sold 32 iron ingots for &2$300"
  1345. add 300 to the player's balance
  1346. make the player execute command "redirect 4"
  1347. if argument 1 is "15":
  1348. if player does not have 48 iron ingots:
  1349. send "&cYou do not have enough iron ingots to sell!"
  1350. make the player execute command "redirect 4"
  1351. stop
  1352. else:
  1353. remove 48 iron ingots from the player
  1354. send "&aSuccessfully sold 48 iron ingots for &2$450"
  1355. add 450 to the player's balance
  1356. make the player execute command "redirect 4"
  1357. if argument 1 is "16":
  1358. if player does not have 64 iron ingots:
  1359. send "&cYou do not have enough iron ingots to sell!"
  1360. make the player execute command "redirect 4"
  1361. stop
  1362. else:
  1363. remove 64 iron ingots from the player
  1364. send "&aSuccessfully sold 64 iron ingots for &2$600"
  1365. add 600 to the player's balance
  1366. make the player execute command "redirect 4"
  1367. if argument 1 is "17":
  1368. if player does not have 16 lapis:
  1369. send "&cYou do not have enough lapis to sell!"
  1370. make the player execute command "redirect 5"
  1371. stop
  1372. else:
  1373. remove 16 lapis from the player
  1374. send "&aSuccessfully sold 16 lapis for &2$50"
  1375. add 50 to the player's balance
  1376. make the player execute command "redirect 5"
  1377. if argument 1 is "18":
  1378. if player does not have 32 lapis:
  1379. send "&cYou do not have enough lapis to sell!"
  1380. make the player execute command "redirect 5"
  1381. stop
  1382. else:
  1383. remove 32 lapis from the player
  1384. send "&aSuccessfully sold 32 lapis for &2$100"
  1385. add 100 to the player's balance
  1386. make the player execute command "redirect 5"
  1387. if argument 1 is "19":
  1388. if player does not have 48 lapis:
  1389. send "&cYou do not have enough lapis to sell!"
  1390. make the player execute command "redirect 5"
  1391. stop
  1392. else:
  1393. remove 48 lapis from the player
  1394. send "&aSuccessfully sold 48 lapis for &2$150"
  1395. add 150 to the player's balance
  1396. make the player execute command "redirect 5"
  1397. if argument 1 is "20":
  1398. if player does not have 64 lapis:
  1399. send "&cYou do not have enough lapis to sell!"
  1400. make the player execute command "redirect 5"
  1401. stop
  1402. else:
  1403. remove 64 lapis from the player
  1404. send "&aSuccessfully sold 64 lapis for &2$200"
  1405. add 200 to the player's balance
  1406. make the player execute command "redirect 5"
  1407. if argument 1 is "21":
  1408. if player does not have 16 nether quartz item:
  1409. send "&cYou do not have enough quartz to sell!"
  1410. make the player execute command "redirect 6"
  1411. stop
  1412. else:
  1413. remove 16 nether quartz item from the player
  1414. send "&aSuccessfully sold 16 nether quartz for &2$75"
  1415. add 75 to the player's balance
  1416. make the player execute command "redirect 6"
  1417. if argument 1 is "22":
  1418. if player does not have 32 nether quartz item:
  1419. send "&cYou do not have enough quartz to sell!"
  1420. make the player execute command "redirect 6"
  1421. stop
  1422. else:
  1423. remove 32 nether quartz item from the player
  1424. send "&aSuccessfully sold 32 nether quartz for &2$150"
  1425. add 150 to the player's balance
  1426. make the player execute command "redirect 6"
  1427. if argument 1 is "23":
  1428. if player does not have 48 nether quartz item:
  1429. send "&cYou do not have enough quartz to sell!"
  1430. make the player execute command "redirect 6"
  1431. stop
  1432. else:
  1433. remove 48 nether quartz item from the player
  1434. send "&aSuccessfully sold 48 nether quartz for &2$225"
  1435. add 225 to the player's balance
  1436. make the player execute command "redirect 6"
  1437. if argument 1 is "24":
  1438. if player does not have 64 nether quartz item:
  1439. send "&cYou do not have enough quartz to sell!"
  1440. make the player execute command "redirect 6"
  1441. stop
  1442. else:
  1443. remove 64 nether quartz item from the player
  1444. send "&aSuccessfully sold 64 nether quartz for &2$300"
  1445. add 300 to the player's balance
  1446. make the player execute command "redirect 6"
  1447. if argument 1 is "25":
  1448. if player does not have 16 redstone:
  1449. send "&cYou do not have enough redstone to sell!"
  1450. make the player execute command "redirect 7"
  1451. stop
  1452. else:
  1453. remove 16 redstone from the player
  1454. send "&aSuccessfully sold 16 redstone for &2$25"
  1455. add 25 to the player's balance
  1456. make the player execute command "redirect 7"
  1457. if argument 1 is "26":
  1458. if player does not have 32 redstone:
  1459. send "&cYou do not have enough redstone to sell!"
  1460. make the player execute command "redirect 7"
  1461. stop
  1462. else:
  1463. remove 32 redstone from the player
  1464. send "&aSuccessfully sold 32 redstone for &2$50"
  1465. add 50 to the player's balance
  1466. make the player execute command "redirect 7"
  1467. if argument 1 is "27":
  1468. if player does not have 48 redstone:
  1469. send "&cYou do not have enough redstone to sell!"
  1470. make the player execute command "redirect 7"
  1471. stop
  1472. else:
  1473. remove 48 redstone from the player
  1474. send "&aSuccessfully sold 48 redstone for &2$75"
  1475. add 75 to the player's balance
  1476. make the player execute command "redirect 7"
  1477. if argument 1 is "28":
  1478. if player does not have 64 redstone:
  1479. send "&cYou do not have enough redstone to sell!"
  1480. make the player execute command "redirect 7"
  1481. stop
  1482. else:
  1483. remove 64 redstone from the player
  1484. send "&aSuccessfully sold 64 redstone for &2$100"
  1485. add 100 to the player's balance
  1486. make the player execute command "redirect 7"
  1487. if argument 1 is "29":
  1488. if player does not have 16 coal item:
  1489. send "&cYou do not have enough coal to sell!"
  1490. make the player execute command "redirect 8"
  1491. stop
  1492. else:
  1493. remove 16 coal item from the player
  1494. send "&aSuccessfully sold 16 coal for &2$15"
  1495. add 15 to the player's balance
  1496. make the player execute command "redirect 8"
  1497. if argument 1 is "30":
  1498. if player does not have 32 coal item:
  1499. send "&cYou do not have enough coal to sell!"
  1500. make the player execute command "redirect 8"
  1501. stop
  1502. else:
  1503. remove 32 coal item from the player
  1504. send "&aSuccessfully sold 32 coal for &2$30"
  1505. add 30 to the player's balance
  1506. make the player execute command "redirect 8"
  1507. if argument 1 is "31":
  1508. if player does not have 48 coal item:
  1509. send "&cYou do not have enough coal to sell!"
  1510. make the player execute command "redirect 8"
  1511. stop
  1512. else:
  1513. remove 48 coal item from the player
  1514. send "&aSuccessfully sold 48 coal for &2$45"
  1515. add 45 to the player's balance
  1516. make the player execute command "redirect 8"
  1517. if argument 1 is "32":
  1518. if player does not have 64 coal item:
  1519. send "&cYou do not have enough coal to sell!"
  1520. make the player execute command "redirect 8"
  1521. stop
  1522. else:
  1523. remove 64 coal item from the player
  1524. send "&aSuccessfully sold 64 coal for &2$60"
  1525. add 60 to the player's balance
  1526. make the player execute command "redirect 8"
  1527. if argument 1 is "33":
  1528. if player does not have 3 ghast tears:
  1529. send "&cYou do not have enough ghast tears to sell!"
  1530. make the player execute command "redirect 9"
  1531. stop
  1532. else:
  1533. remove 3 ghast tears from the player
  1534. send "&aSuccessfully sold 3 ghast tears for &2$300"
  1535. add 300 to the player's balance
  1536. make the player execute command "redirect 9"
  1537. if argument 1 is "34":
  1538. if player does not have 6 ghast tears:
  1539. send "&cYou do not have enough ghast tears to sell!"
  1540. make the player execute command "redirect 9"
  1541. stop
  1542. else:
  1543. remove 6 ghast tears from the player
  1544. send "&aSuccessfully sold 6 ghast tears for &2$600"
  1545. add 600 to the player's balance
  1546. make the player execute command "redirect 9"
  1547. if argument 1 is "35":
  1548. if player does not have 9 ghast tears:
  1549. send "&cYou do not have enough ghast tears to sell!"
  1550. make the player execute command "redirect 9"
  1551. stop
  1552. else:
  1553. remove 9 ghast tears from the player
  1554. send "&aSuccessfully sold 9 ghast tears for &2$900"
  1555. add 900 to the player's balance
  1556. make the player execute command "redirect 9"
  1557. if argument 1 is "36":
  1558. if player does not have 12 ghast tears:
  1559. send "&cYou do not have enough ghast tears to sell!"
  1560. make the player execute command "redirect 9"
  1561. stop
  1562. else:
  1563. remove 12 ghast tears from the player
  1564. send "&aSuccessfully sold 12 ghast tears for &2$1,200"
  1565. add 1200 to the player's balance
  1566. make the player execute command "redirect 9"
  1567. if argument 1 is "37":
  1568. if player does not have 16 gunpowder:
  1569. send "&cYou do not have enough gunpowder to sell!"
  1570. make the player execute command "redirect 10"
  1571. stop
  1572. else:
  1573. remove 16 gunpowder from the player
  1574. send "&aSuccessfully sold 16 gunpowder for &2$25"
  1575. add 25 to the player's balance
  1576. make the player execute command "redirect 10"
  1577. if argument 1 is "38":
  1578. if player does not have 32 gunpowder:
  1579. send "&cYou do not have enough gunpowder to sell!"
  1580. make the player execute command "redirect 10"
  1581. stop
  1582. else:
  1583. remove 32 gunpowder from the player
  1584. send "&aSuccessfully sold 32 gunpowder for &2$50"
  1585. add 50 to the player's balance
  1586. make the player execute command "redirect 10"
  1587. if argument 1 is "39":
  1588. if player does not have 48 gunpowder:
  1589. send "&cYou do not have enough gunpowder to sell!"
  1590. make the player execute command "redirect 10"
  1591. stop
  1592. else:
  1593. remove 48 gunpowder from the player
  1594. send "&aSuccessfully sold 48 gunpowder for &2$75"
  1595. add 75 to the player's balance
  1596. make the player execute command "redirect 10"
  1597. if argument 1 is "40":
  1598. if player does not have 64 gunpowder:
  1599. send "&cYou do not have enough gunpowder to sell!"
  1600. make the player execute command "redirect 10"
  1601. stop
  1602. else:
  1603. remove 64 gunpowder from the player
  1604. send "&aSuccessfully sold 64 gunpowder for &2$100"
  1605. add 100 to the player's balance
  1606. make the player execute command "redirect 10"
  1607. if argument 1 is "41":
  1608. if player does not have 16 glowstone dust:
  1609. send "&cYou do not have enough glowstone dust to sell!"
  1610. make the player execute command "redirect 11"
  1611. stop
  1612. else:
  1613. remove 16 glowstone dust from the player
  1614. send "&aSuccessfully sold 16 glowstone dust for &2$40"
  1615. add 40 to the player's balance
  1616. make the player execute command "redirect 11"
  1617. if argument 1 is "42":
  1618. if player does not have 32 glowstone dust:
  1619. send "&cYou do not have enough glowstone dust to sell!"
  1620. make the player execute command "redirect 11"
  1621. stop
  1622. else:
  1623. remove 32 glowstone dust from the player
  1624. send "&aSuccessfully sold 16 glowstone dust for &2$80"
  1625. add 80 to the player's balance
  1626. make the player execute command "redirect 11"
  1627. if argument 1 is "43":
  1628. if player does not have 48 glowstone dust:
  1629. send "&cYou do not have enough glowstone dust to sell!"
  1630. make the player execute command "redirect 11"
  1631. stop
  1632. else:
  1633. remove 48 glowstone dust from the player
  1634. send "&aSuccessfully sold 48 glowstone dust for &2$120"
  1635. add 120 to the player's balance
  1636. make the player execute command "redirect 11"
  1637. if argument 1 is "44":
  1638. if player does not have 64 glowstone dust:
  1639. send "&cYou do not have enough glowstone dust to sell!"
  1640. make the player execute command "redirect 11"
  1641. stop
  1642. else:
  1643. remove 64 glowstone dust from the player
  1644. send "&aSuccessfully sold 64 glowstone dust for &2$160"
  1645. add 160 to the player's balance
  1646. make the player execute command "redirect 11"
  1647. if argument 1 is "45":
  1648. if player does not have 16 slimeballs:
  1649. send "&cYou do not have enough slimeballs to sell!"
  1650. make the player execute command "redirect 12"
  1651. stop
  1652. else:
  1653. remove 16 slimeballs from the player
  1654. send "&aSuccessfully sold 16 slimeballs for &2$50"
  1655. add 50 to the player's balance
  1656. make the player execute command "redirect 12"
  1657. if argument 1 is "46":
  1658. if player does not have 32 slimeballs:
  1659. send "&cYou do not have enough slimeballs to sell!"
  1660. make the player execute command "redirect 12"
  1661. stop
  1662. else:
  1663. remove 32 slimeballs from the player
  1664. send "&aSuccessfully sold 32 slimeballs for &2$100"
  1665. add 100 to the player's balance
  1666. make the player execute command "redirect 12"
  1667. if argument 1 is "47":
  1668. if player does not have 48 slimeballs:
  1669. send "&cYou do not have enough slimeballs to sell!"
  1670. make the player execute command "redirect 12"
  1671. stop
  1672. else:
  1673. remove 48 slimeballs from the player
  1674. send "&aSuccessfully sold 48 slimeballs for &2$150"
  1675. add 150 to the player's balance
  1676. make the player execute command "redirect 12"
  1677. if argument 1 is "48":
  1678. if player does not have 64 slimeballs:
  1679. send "&cYou do not have enough slimeballs to sell!"
  1680. make the player execute command "redirect 12"
  1681. stop
  1682. else:
  1683. remove 64 slimeballs from the player
  1684. send "&aSuccessfully sold 64 slimeballs for &2$200"
  1685. add 200 to the player's balance
  1686. make the player execute command "redirect 12"
  1687. if argument 1 is "49":
  1688. if player does not have 16 clay balls:
  1689. send "&cYou do not have enough clay balls to sell!"
  1690. make the player execute command "redirect 13"
  1691. stop
  1692. else:
  1693. remove 16 clay balls from the player
  1694. send "&aSuccessfully sold 16 clay balls for &2$25"
  1695. add 25 to the player's balance
  1696. make the player execute command "redirect 13"
  1697. if argument 1 is "50":
  1698. if player does not have 32 clay balls:
  1699. send "&cYou do not have enough clay balls to sell!"
  1700. make the player execute command "redirect 13"
  1701. stop
  1702. else:
  1703. remove 32 clay balls from the player
  1704. send "&aSuccessfully sold 32 clay balls for &2$50"
  1705. add 50 to the player's balance
  1706. make the player execute command "redirect 13"
  1707. if argument 1 is "51":
  1708. if player does not have 48 clay balls:
  1709. send "&cYou do not have enough clay balls to sell!"
  1710. make the player execute command "redirect 13"
  1711. stop
  1712. else:
  1713. remove 48 clay balls from the player
  1714. send "&aSuccessfully sold 48 clay balls for &2$75"
  1715. add 75 to the player's balance
  1716. make the player execute command "redirect 13"
  1717. if argument 1 is "52":
  1718. if player does not have 64 clay balls:
  1719. send "&cYou do not have enough clay balls to sell!"
  1720. make the player execute command "redirect 13"
  1721. stop
  1722. else:
  1723. remove 64 clay balls from the player
  1724. send "&aSuccessfully sold 64 clay balls for &2$100"
  1725. add 100 to the player's balance
  1726. make the player execute command "redirect 13"
  1727. if argument 1 is "53":
  1728. if player does not have 1 saddle:
  1729. send "&cYou do not have a saddle to sell!"
  1730. make the player execute command "redirect 14"
  1731. stop
  1732. else:
  1733. remove 1 saddle from the player
  1734. send "&aSuccessfully sold 1 saddle for &2$100"
  1735. add 100 to the player's balance
  1736. make the player execute command "redirect 14"
  1737. if argument 1 is "54":
  1738. if player does not have 2 saddles:
  1739. send "&cYou do not have enough saddles to sell!"
  1740. make the player execute command "redirect 14"
  1741. stop
  1742. else:
  1743. remove 2 saddle from the player
  1744. send "&aSuccessfully sold 2 saddle for &2$200"
  1745. add 200 to the player's balance
  1746. make the player execute command "redirect 14"
  1747. if argument 1 is "55":
  1748. if player does not have 3 saddles:
  1749. send "&cYou do not have enough saddles to sell!"
  1750. make the player execute command "redirect 14"
  1751. stop
  1752. else:
  1753. remove 3 saddles from the player
  1754. send "&aSuccessfully sold 3 saddle for &2$300"
  1755. add 300 to the player's balance
  1756. make the player execute command "redirect 14"
  1757. if argument 1 is "56":
  1758. if player does not have 4 saddles:
  1759. send "&cYou do not have enough saddles to sell!"
  1760. make the player execute command "redirect 14"
  1761. stop
  1762. else:
  1763. remove 4 saddles from the player
  1764. send "&aSuccessfully sold 4 saddle for &2$400"
  1765. add 400 to the player's balance
  1766. make the player execute command "redirect 14"
  1767. if argument 1 is "57":
  1768. if player does not have 1 iron horse armor:
  1769. send "&cYou do not have a iron horse armor to sell!"
  1770. make the player execute command "redirect 15"
  1771. stop
  1772. else:
  1773. remove 1 iron horse armor from the player
  1774. send "&aSuccessfully sold 1 iron horse armor for &2$50"
  1775. add 50 to the player's balance
  1776. make the player execute command "redirect 15"
  1777. if argument 1 is "58":
  1778. if player does not have 2 iron horse armor:
  1779. send "&cYou do not have enough iron horse armor to sell!"
  1780. make the player execute command "redirect 15"
  1781. stop
  1782. else:
  1783. remove 2 iron horse armor from the player
  1784. send "&aSuccessfully sold 2 iron horse armor for &2$100"
  1785. add 100 to the player's balance
  1786. make the player execute command "redirect 15"
  1787. if argument 1 is "59":
  1788. if player does not have 3 iron horse armor:
  1789. send "&cYou do not have enough iron horse armor to sell!"
  1790. make the player execute command "redirect 15"
  1791. stop
  1792. else:
  1793. remove 3 iron horse armor from the player
  1794. send "&aSuccessfully sold 3 iron horse armor for &2$150"
  1795. add 150 to the player's balance
  1796. make the player execute command "redirect 15"
  1797. if argument 1 is "60":
  1798. if player does not have 4 iron horse armor:
  1799. send "&cYou do not have enough iron horse armor to sell!"
  1800. make the player execute command "redirect 15"
  1801. stop
  1802. else:
  1803. remove 4 iron horse armor from the player
  1804. send "&aSuccessfully sold 4 iron horse armor for &2$200"
  1805. add 200 to the player's balance
  1806. make the player execute command "redirect 15"
  1807. if argument 1 is "61":
  1808. if player does not have 1 gold horse armor:
  1809. send "&cYou do not have a gold horse armor to sell!"
  1810. make the player execute command "redirect 16"
  1811. stop
  1812. else:
  1813. remove 1 gold horse armor from the player
  1814. send "&aSuccessfully sold 1 gold horse armor for &2$80"
  1815. add 80 to the player's balance
  1816. make the player execute command "redirect 16"
  1817. if argument 1 is "62":
  1818. if player does not have 2 gold horse armor:
  1819. send "&cYou do not have enough gold horse armor to sell!"
  1820. make the player execute command "redirect 16"
  1821. stop
  1822. else:
  1823. remove 2 gold horse armor from the player
  1824. send "&aSuccessfully sold 2 gold horse armor for &2$160"
  1825. add 160 to the player's balance
  1826. make the player execute command "redirect 16"
  1827. if argument 1 is "63":
  1828. if player does not have 3 gold horse armor:
  1829. send "&cYou do not have enough gold horse armor to sell!"
  1830. make the player execute command "redirect 16"
  1831. stop
  1832. else:
  1833. remove 3 gold horse armor from the player
  1834. send "&aSuccessfully sold 3 gold horse armor for &2$240"
  1835. add 240 to the player's balance
  1836. make the player execute command "redirect 16"
  1837. if argument 1 is "64":
  1838. if player does not have 4 gold horse armor:
  1839. send "&cYou do not have enough gold horse armor to sell!"
  1840. make the player execute command "redirect 16"
  1841. stop
  1842. else:
  1843. remove 4 gold horse armor from the player
  1844. send "&aSuccessfully sold 4 gold horse armor for &2$320"
  1845. add 320 to the player's balance
  1846. make the player execute command "redirect 16"
  1847. if argument 1 is "65":
  1848. if player does not have 1 diamond horse armor:
  1849. send "&cYou do not have a diamond horse armor to sell!"
  1850. make the player execute command "redirect 17"
  1851. stop
  1852. else:
  1853. remove 1 diamond horse armor from the player
  1854. send "&aSuccessfully sold 1 gold horse armor for &2$100"
  1855. add 100 to the player's balance
  1856. make the player execute command "redirect 17"
  1857. if argument 1 is "66":
  1858. if player does not have 2 diamond horse armor:
  1859. send "&cYou do not have enough diamond horse armor to sell!"
  1860. make the player execute command "redirect 17"
  1861. stop
  1862. else:
  1863. remove 2 diamond horse armor from the player
  1864. send "&aSuccessfully sold 2 gold horse armor for &2$200"
  1865. add 200 to the player's balance
  1866. make the player execute command "redirect 17"
  1867. if argument 1 is "67":
  1868. if player does not have 3 diamond horse armor:
  1869. send "&cYou do not have enough diamond horse armor to sell!"
  1870. make the player execute command "redirect 17"
  1871. stop
  1872. else:
  1873. remove 3 diamond horse armor from the player
  1874. send "&aSuccessfully sold 3 gold horse armor for &2$300"
  1875. add 300 to the player's balance
  1876. make the player execute command "redirect 17"
  1877. if argument 1 is "68":
  1878. if player does not have 4 diamond horse armor:
  1879. send "&cYou do not have enough diamond horse armor to sell!"
  1880. make the player execute command "redirect 17"
  1881. stop
  1882. else:
  1883. remove 4 diamond horse armor from the player
  1884. send "&aSuccessfully sold 4 gold horse armor for &2$400"
  1885. add 400 to the player's balance
  1886. make the player execute command "redirect 17"
  1887.  
  1888. command /sback:
  1889. trigger:
  1890. close the player's inventory
  1891. wait a tick
  1892. make the player execute command "shop"
  1893.  
  1894. command /oftherandom:
  1895. trigger:
  1896. send "&bThis will allow you to gamble on items, you may get good items, or bad items, will also have a 24 hour cooldown"
  1897.  
  1898. on command "/warp shop":
  1899. cancel event
  1900. send "&6=========================================="
  1901. send " &eLooking for the shop? Try &a/shop"
  1902. send "&6=========================================="
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement