Advertisement
Savanis

Untitled

Sep 28th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.16 KB | None | 0 0
  1. Command /Shop:
  2. trigger:
  3. open virtual hopper inventory with size 1 named "&c&nMain Menu" to player
  4. make gui slot 0 of player with barrier named "&c&lBlock Deletion" with lore "&bLeft Click" to run:
  5. open virtual chest inventory with size 6 named "&c&lBlocks" to player
  6. make gui slot 0 of player with dirt named "&7Dirt" with lore "&cYou have &7%{Dirt::%player%}||&7Left click to delete 1." to run:
  7.  
  8. make gui slot 0 of player with obsidian named "&c&lBlock Shop" with lore "&bLeft Click" to run:
  9. open virtual chest inventory with size 6 named "&c&lBlocks" to player
  10. make gui slot 0 of player with dirt named "&7Dirt" with lore "&c+ 1 cps &7For $50" to run:
  11. if {Money::%player%} >= 50:
  12. if {Items::%player%} is >= 192:
  13. send "&cYour inventory is full"
  14. stop
  15. else:
  16. make console execute command "/give %player% dirt 1"
  17. remove 50 from {Money::%player%}
  18. add 1 to {Cps::%player%}
  19. add 1 to {Dirt::%player%}
  20. add 1 to {Items::%player%}
  21. else:
  22. send "&cOmg you don't have enoth cash. &b&lNOOB"
  23. make gui slot 1 of player with cobblestone named "&7Cobblestone" with lore "&c+ 2 cps &7For $75" to run:
  24. if {Money::%player%} >= 75:
  25. if {Items::%player%} >= 192:
  26. send "&cYour inventory is full."
  27. stop
  28. else:
  29. make console execute command "/give %player% cobblestone 1"
  30. remove 75 from {Money::%player%}
  31. add 2 to {Cps::%player%}
  32. add 1 to {Cobblestone::%player%}
  33. add 1 to {Items::%player%}
  34. else:
  35. send "&cOmg you don't have enoth cash. &b&lNOOB"
  36. make gui slot 2 of player with stone named "&7Stone" with lore "&c+ 5 cps &7For $200" to run:
  37. if {Money::%player%} >= 200:
  38. if {Items::%player%} >= 192:
  39. send "&cYour inventory is full."
  40. stop
  41. else:
  42. make console execute command "/give %player% stone 1"
  43. remove 200 from {Money::%player%}
  44. add 2 to {Cps::%player%}
  45. add 1 to {Stone::%player%}
  46. add 1 to {Items::%player%}
  47. else:
  48. send "&cOmg you don't have enoth cash. &b&lNOOB"
  49.  
  50. Command /Gmc:
  51. trigger:
  52. if player has permission "Gamemode.Set":
  53. set the player's gamemode to creative
  54. Command /Gma:
  55. trigger:
  56. if player has permission "Gamemode.Set":
  57. set the player's gamemode to adventure
  58. Command /Gmsp:
  59. trigger:
  60. if player has permission "Gamemode.Set":
  61. set the player's gamemode to spectator
  62. Command /Gms:
  63. trigger:
  64. if player has permission "Gamemode.Set":
  65. set the player's gamemode to survival
  66. Command /Setrank [<Player>] [<String>]:
  67. trigger:
  68. if player has permission "Set.Rank":
  69. Set {Rank::%arg-1%} to "%arg-2%"
  70. else:
  71. kick the player due to "Trying to exploit our systems."
  72. command /bal:
  73. trigger:
  74. send "&dBalance: &c%{Money::%player%}%"
  75. on join:
  76. if {Money::%player%} is not set:
  77. set {Money::%player%} to 1
  78. Set {Cps::%player%} to 1
  79. make console execute command "/give %player% dirt 1"
  80. set {Items::%player%} to 1
  81. every second:
  82. loop all players:
  83. add {Cps::%loop-player%} to {Money::%loop-player%}
  84. Command /Shop:
  85. trigger:
  86. open virtual hopper inventory with size 1 named "&c&nMain Menu" to player
  87. make gui slot 0 of player with obsidian named "&c&lBlock Shop" with lore "&bLeft Click" to run:
  88. open virtual chest inventory with size 6 named "&c&lBlocks" to player
  89. make gui slot 0 of player with dirt named "&7Dirt" with lore "&c+ 1 cps &7For $50" to run:
  90. if {Money::%player%} >= 50:
  91. if {Items::%player%} is >= 192:
  92. send "&cYour inventory is full"
  93. else:
  94. make console execute command "/give %player% dirt 1"
  95. remove 50 from {Money::%player%}
  96. add 1 to {Cps::%player%}
  97. add 1 to {Dirt::%player%}
  98. add 1 to {Items::%player%}
  99. else:
  100. send "&cOmg you don't have enoth cash. &b&lNOOB"
  101. make gui slot 1 of player with cobblestone named "&7Cobblestone" with lore "&c+ 2 cps &7For $75" to run:
  102. if {Money::%player%} >= 75:
  103. if {Items::%player%} >= 192:
  104. send "&cYour inventory is full."
  105. else:
  106. make console execute command "/give %player% cobblestone 1"
  107. remove 75 from {Money::%player%}
  108. add 2 to {Cps::%player%}
  109. add 1 to {Cobblestone::%player%}
  110. add 1 to {Items::%player%}
  111. else:
  112. send "&cOmg you don't have enoth cash. &b&lNOOB"
  113. make gui slot 2 of player with stone named "&7Stone" with lore "&c+ 5 cps &7For $200" to run:
  114. if {Money::%player%} >= 200:
  115. if {Items::%player%} >= 192:
  116. send "&cYour inventory is full."
  117. else:
  118. make console execute command "/give %player% stone 1"
  119. remove 200 from {Money::%player%}
  120. add 2 to {Cps::%player%}
  121. add 1 to {Stone::%player%}
  122. add 1 to {Items::%player%}
  123. else:
  124. send "&cOmg you don't have enoth cash. &b&lNOOB"
  125.  
  126. Command /Gmc:
  127. trigger:
  128. if player has permission "Gamemode.Set":
  129. set the player's gamemode to creative
  130. Command /Gma:
  131. trigger:
  132. if player has permission "Gamemode.Set":
  133. set the player's gamemode to adventure
  134. Command /Gmsp:
  135. trigger:
  136. if player has permission "Gamemode.Set":
  137. set the player's gamemode to spectator
  138. Command /Gms:
  139. trigger:
  140. if player has permission "Gamemode.Set":
  141. set the player's gamemode to survival
  142. Command /Setrank [<Player>] [<String>]:
  143. trigger:
  144. if player has permission "Set.Rank":
  145. Set {Rank::%arg-1%} to "%arg-2%"
  146. else:
  147. kick the player due to "Trying to exploit our systems."
  148. command /bal:
  149. trigger:
  150. send "&dBalance: &c%{Money::%player%}%"
  151. on join:
  152. if {Money::%player%} is not set:
  153. set {Money::%player%} to 1
  154. Set {Cps::%player%} to 1
  155. make console execute command "/give %player% dirt 1"
  156. set {Items::%player%} to 1
  157. every second:
  158. loop all players:
  159. add {Cps::%loop-player%} to {Money::%loop-player%}
  160. command /resetall:
  161. trigger:
  162. if player has permission "Operation.Perms":
  163. delete {Money::*}
  164. delete {Cps::*}
  165. delete {Items::*}
  166. delete {Dirt::*}
  167. delete {Cobblestone::*}
  168. delete {Stone::*}
  169. make console execute command "/clear @e"
  170. on drop:
  171. cancel event
  172. send "&cDropping items is not allowed"
  173. on break:
  174. if player has permission "Break.Blocks":
  175. stop
  176. else:
  177. send "&cNot even close baby."
  178. kill the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement