Advertisement
Savanis

Untitled

Sep 28th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.72 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. stop
  11. else:
  12. make console execute command "/give %player% dirt 1"
  13. remove 50 from {Money::%player%}
  14. add 1 to {Cps::%player%}
  15. add 1 to {Dirt::%player%}
  16. add 1 to {Items::%player%}
  17. else:
  18. send "&cOmg you don't have enoth cash. &b&lNOOB"
  19. make gui slot 1 of player with cobblestone named "&7Cobblestone" with lore "&c+ 2 cps &7For $75" to run:
  20. if {Money::%player%} >= 75:
  21. if {Items::%player%} >= 192:
  22. send "&cYour inventory is full."
  23. stop
  24. else:
  25. make console execute command "/give %player% cobblestone 1"
  26. remove 75 from {Money::%player%}
  27. add 2 to {Cps::%player%}
  28. add 1 to {Cobblestone::%player%}
  29. add 1 to {Items::%player%}
  30. else:
  31. send "&cOmg you don't have enoth cash. &b&lNOOB"
  32. make gui slot 2 of player with stone named "&7Stone" with lore "&c+ 5 cps &7For $200" to run:
  33. if {Money::%player%} >= 200:
  34. if {Items::%player%} >= 192:
  35. send "&cYour inventory is full."
  36. stop
  37. else:
  38. make console execute command "/give %player% stone 1"
  39. remove 200 from {Money::%player%}
  40. add 2 to {Cps::%player%}
  41. add 1 to {Stone::%player%}
  42. add 1 to {Items::%player%}
  43. else:
  44. send "&cOmg you don't have enoth cash. &b&lNOOB"
  45.  
  46. Command /Gmc:
  47. trigger:
  48. if player has permission "Gamemode.Set":
  49. set the player's gamemode to creative
  50. Command /Gma:
  51. trigger:
  52. if player has permission "Gamemode.Set":
  53. set the player's gamemode to adventure
  54. Command /Gmsp:
  55. trigger:
  56. if player has permission "Gamemode.Set":
  57. set the player's gamemode to spectator
  58. Command /Gms:
  59. trigger:
  60. if player has permission "Gamemode.Set":
  61. set the player's gamemode to survival
  62. Command /Setrank [<Player>] [<String>]:
  63. trigger:
  64. if player has permission "Set.Rank":
  65. Set {Rank::%arg-1%} to "%arg-2%"
  66. else:
  67. kick the player due to "Trying to exploit our systems."
  68. command /bal:
  69. trigger:
  70. send "&dBalance: &c%{Money::%player%}%"
  71. on join:
  72. if {Money::%player%} is not set:
  73. set {Money::%player%} to 1
  74. Set {Cps::%player%} to 1
  75. make console execute command "/give %player% dirt 1"
  76. set {Items::%player%} to 1
  77. every second:
  78. loop all players:
  79. add {Cps::%loop-player%} to {Money::%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement