Advertisement
Savanis

Untitled

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