Advertisement
Savanis

Untitled

Nov 10th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.77 KB | None | 0 0
  1. Command /Shop:
  2. trigger:
  3. set {_Money} to the player's balance
  4. open a chest with 6 rows named "&bSliceDice":
  5. format slot 0 with seed named "&2Farming shop" to run:
  6. format slot 0 with dirt named "&cSugarcane" with lore "&c$1,000" to run:
  7. if {_Money} is => 1000:
  8. add 1 to {ItemsPurchased::%player%}
  9. add 1 to {GlobalItems}
  10. remove 1000 from The player's balance
  11. give player 1 of sugarcane
  12. send "&c$-1,000"
  13. add 1000 to {MoneySpent::%player%}
  14. else:
  15. send "&cYou don't have the funds for this."
  16. format slot 1 with seeds named "&cSeeds" with lore "&c$500" to run:
  17. if {_Money} is => 500:
  18. add 1 to {ItemsPurchased::%player%}
  19. add 1 to {GlobalItems}
  20. remove 500 from the player's balance
  21. send "&c$-500"
  22. add 500 to {MoneySpent::%player%}
  23. give player 1 of seeds
  24. else:
  25. send "&cYou don't have the funds for this."
  26. format slot 2 with cactus named "&cCactus" with lore "&c$5,000" to run:
  27. if {_Money} is => 5000
  28. add 1 to {ItemsPurchased::%player%}
  29. add 1 to {GlobalItems}
  30. remove 5000 from the player's balance
  31. send "&c$-5000"
  32. add 5000 to {MoneySpent::%player%}
  33. give player 1 of cactus
  34. else:
  35. send "&cYou don't have the funds for this."
  36. format slot 3 with beetroot seeds named "&cBeetroot seeds" with lore "&c$10,000" to run:
  37. if {_Money} is => 10000
  38. add 1 to {ItemsPurchased::%player%}
  39. add 1 to {GlobalItems}
  40. remove 10000 from the player's balance
  41. send "&c$-10000"
  42. add 10000 to {MoneySpent::%player%}
  43. give player 1 of beetroot seeds
  44. else:
  45. format slot 4 with sugarcane named "&cSugarcane" with lore "&c$25,000" to run:
  46. if {_Money} is => 25000
  47. add 1 to {ItemsPurchased::%player%}
  48. add 1 to {GlobalItems}
  49. remove 10000 from the player's balance
  50. send "&c$-10000"
  51. add 25000 to {MoneySpent::%player%}
  52. give player 1 of sugarcane
  53. else:
  54. send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
  55. format slot 5 with beetroot seeds named "&cSugarcane" with lore "&c$25,000" to run:
  56. if {_Money} is => 25000
  57. add 1 to {ItemsPurchased::%player%}
  58. add 1 to {GlobalItems}
  59. remove 25000 from the player's balance
  60. send "&c$-25000"
  61. add 25000 to {MoneySpent::%player%}
  62. give player 1 of sugarcane
  63. else:
  64. send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
  65. format slot 6 with melon seeds named "&cMelon seeds" with lore "&c$100,000" to run:
  66. if {_Money} is => 100000
  67. add 1 to {ItemsPurchased::%player%}
  68. add 1 to {GlobalItems}
  69. remove 100000 from the player's balance
  70. send "&c$-100,000"
  71. add 100000 to {MoneySpent::%player%}
  72. give player 1 of sugarcane
  73. else:
  74. send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
  75. format slot 7 with kelp named "&cKelp" with lore "&c$1,000,000" to run:
  76. if {_Money} is => 1000000
  77. add 1 to {ItemsPurchased::%player%}
  78. add 1 to {GlobalItems}
  79. remove 1000000 from the player's balance
  80. send "&c$-1000000"
  81. add 1000000 to {MoneySpent::%player%}
  82. give player 1 of sugarcane
  83. else:
  84. send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
  85. format slot 8 with pumpkin seeds named "&cPumpkin seeds" with lore "&c$2,000,000" to run:
  86. if {_Money} is => 2000000
  87. add 1 to {ItemsPurchased::%player%}
  88. add 1 to {GlobalItems}
  89. remove 2000000 from the player's balance
  90. send "&c$-2000000"
  91. add 2000000 to {MoneySpent::%player%}
  92. give player 1 of pumpkin seeds
  93. else:
  94. send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
  95. format slot 9 with packed ice seeds named "&cPacked ice &7x16" with lore "&c$1,000" to run:
  96. if {_Money} is => 1000
  97. add 16 to {ItemsPurchased::%player%}
  98. add 16 to {GlobalItems}
  99. remove 1000 from the player's balance
  100. send "&c$-1000"
  101. add 1000 to {MoneySpent::%player%}
  102. give player 16 of packed ice
  103. else:
  104. send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
  105. format slot 10 with packed ice seeds named "&cIce &7x16" with lore "&c$1,000" to run:
  106. if {_Money} is => 1000
  107. add 16 to {ItemsPurchased::%player%}
  108. add 16 to {GlobalItems}
  109. remove 1000 from the player's balance
  110. send "&c$-1000"
  111. add 1000 to {MoneySpent::%player%}
  112. give player 16 of ice
  113. else:
  114. send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
  115. format slot 0 with seed named "&4Redstone shop" to run:
  116. format slot 0 with redstone named "&cRedstone &7x16" with lore "&c$10,000" to run:
  117. if {_Money} is => 10000
  118. add 16 to {ItemsPurchased::%player%}
  119. add 16 to {GlobalItems}
  120. remove 10000 from the player's balance
  121. send "&c$-10000"
  122. add 10000 to {MoneySpent::%player%}
  123. give player 16 of redstone
  124. else:
  125. send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
  126. format slot 1 with observers named "&cObservers &7x16" with lore "&c$10,000" to run:
  127. if {_Money} is => 10000
  128. add 16 to {ItemsPurchased::%player%}
  129. add 16 to {GlobalItems}
  130. remove 10000 from the player's balance
  131. send "&c$-10000"
  132. add 10000 to {MoneySpent::%player%}
  133. give player 16 of Observers
  134. else:
  135. send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
  136. format slot 2 with piston named "&cPiston &7x16" with lore "&c$10,000" to run:
  137. if {_Money} is => 10000
  138. add 16 to {ItemsPurchased::%player%}
  139. add 16 to {GlobalItems}
  140. remove 10000 from the player's balance
  141. send "&c$-10000"
  142. add 10000 to {MoneySpent::%player%}
  143. give player 16 of Piston
  144. else:
  145. send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
  146. format slot 3 with string named "&cString &7x16" with lore "&c$10,000" to run:
  147. if {_Money} is => 10000
  148. add 16 to {ItemsPurchased::%player%}
  149. add 16 to {GlobalItems}
  150. remove 10000 from the player's balance
  151. send "&c$-10000"
  152. add 10000 to {MoneySpent::%player%}
  153. give player 16 of String
  154. else:
  155. send "&cYou don't have the funds for this." send "&cYou don't have the funds for this."
  156. On join:
  157. add 1 to {Joins::%player%}
  158. if {Joins::%player%} is 1:
  159. give player 1 of diamond hoe
  160. give player 1 of leather boots
  161. give player 1 of leather leggings
  162. give player 1 of leather chestplate
  163. give player 1 of leather helmet
  164. give player 1 of wooden sword
  165. give player 1 of seed
  166. give player 1 of cactus
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement