Advertisement
Savanis

Untitled

Sep 28th, 2019
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.96 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 obsidian named "&c&lBlock Shop" 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 "&c+ 1 cps &7For $50" to run:
  7. if {Money::%player%} >= 50:
  8. if {Items::%player%} is >= 192:
  9. send "&cYour inventory is full"
  10. else:
  11. give the player 1 of dirt
  12. remove 50 from {Money::%player%}
  13. add 1 to {Cps::%player%}
  14. add 1 to {Dirt::%player%}
  15. add 1 to {Items::%player%}
  16. else:
  17. send "&cOmg you don't have enoth cash. &b&lNOOB"
  18. make gui slot 1 of player with cobblestone named "&7Cobblestone" with lore "&c+ 2 cps &7For $75" to run:
  19. if {Money::%player%} >= 75:
  20. if {Items::%player%} >= 192:
  21. send "&cYour inventory is full."
  22. else:
  23. give the player 1 of cobblestone
  24. remove 75 from {Money::%player%}
  25. add 2 to {Cps::%player%}
  26. add 1 to {Cobblestone::%player%}
  27. add 1 to {Items::%player%}
  28. else:
  29. send "&cOmg you don't have enoth cash. &b&lNOOB"
  30. make gui slot 2 of player with stone named "&7Stone" with lore "&c+ 5 cps &7For $200" to run:
  31. if {Money::%player%} >= 200:
  32. if {Items::%player%} >= 192:
  33. send "&cYour inventory is full."
  34. else:
  35. give player 1 of stone
  36. remove 200 from {Money::%player%}
  37. add 5 to {Cps::%player%}
  38. add 1 to {Stone::%player%}
  39. add 1 to {Items::%player%}
  40. else:
  41. send "&cOmg you don't have enoth cash. &b&lNOOB"
  42. make gui slot 3 of player with Oak planks named "&7Oak planks" with lore "&c+ 15 cps &7For $550" to run:
  43. if {Money::%player%} >= 550:
  44. if {Items::%player%} 192:
  45. send "&cYour inventory is full."
  46. else:
  47. give the player 1 of oak planks
  48. remove 550 from {Money::%player%}
  49. add 15 to {Cps::%player%}
  50. add 1 to {Stone::%player%}
  51. add 1 to {Items::%player%}
  52. else:
  53. send "&cOmg you don't have enoth cash. &b&lNOOB"
  54. make gui slot 2 of player with stone named "&7Stripped oak log" with lore "&c+ 50 cps &7For $200" to run:
  55. if {Money::%player%} >= 200:
  56. if {Items::%player%} >= 192:
  57. send "&cYour inventory is full."
  58. else:
  59. make console execute command "/give %player% stone 1"
  60. remove 200 from {Money::%player%}
  61. add 2 to {Cps::%player%}
  62. add 1 to {Stone::%player%}
  63. add 1 to {Items::%player%}
  64. else:
  65. send "&cOmg you don't have enoth cash. &b&lNOOB"
  66.  
  67. Command /Gmc:
  68. trigger:
  69. if player has permission "Gamemode.Set":
  70. set the player's gamemode to creative
  71. Command /Gma:
  72. trigger:
  73. if player has permission "Gamemode.Set":
  74. set the player's gamemode to adventure
  75. Command /Gmsp:
  76. trigger:
  77. if player has permission "Gamemode.Set":
  78. set the player's gamemode to spectator
  79. Command /Gms:
  80. trigger:
  81. if player has permission "Gamemode.Set":
  82. set the player's gamemode to survival
  83. Command /Setrank [<Player>] [<String>]:
  84. trigger:
  85. if player has permission "Set.Rank":
  86. Set {Rank::%arg-1%} to "%arg-2%"
  87. else:
  88. kick the player due to "Trying to exploit our systems."
  89. command /bal:
  90. trigger:
  91. send "&dBalance: &c%{Money::%player%}%"
  92. on join:
  93. if {Money::%player%} is not set:
  94. set {Money::%player%} to 1
  95. Set {Cps::%player%} to 1
  96. make console execute command "/give %player% dirt 1"
  97. set {Items::%player%} to 1
  98. every second:
  99. loop all players:
  100. add {Cps::%loop-player%} to {Money::%loop-player%}
  101. command /resetall:
  102. trigger:
  103. if player has permission "Operation.Perms":
  104. delete {Money::*}
  105. delete {Cps::*}
  106. delete {Items::*}
  107. delete {Dirt::*}
  108. delete {Cobblestone::*}
  109. delete {Stone::*}
  110. make console execute command "/clear @e"
  111. on drop:
  112. cancel event
  113. send "&cDropping items is not allowed"
  114. on break:
  115. if player has permission "Break.Blocks":
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement