Advertisement
Savanis

Untitled

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