Advertisement
Guest User

THIS IS FINAL FIX

a guest
Jul 21st, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 KB | None | 0 0
  1. on join:
  2. if {noob.%player%} is true:
  3. clear player's inventory
  4. teleport player to {darkloc}
  5. open chest with 1 row named "&cClasses" to player
  6. wait 1 tick
  7. format slot 0 of player with gray glass pane named "&7JutouRPG" to be unstealable
  8. format slot 1 of player with gray glass pane named "&7JutouRPG" to be unstealable
  9. format slot 2 of player with gray glass pane named "&7JutouRPG" to be unstealable
  10. format slot 6 of player with gray glass pane named "&7JutouRPG" to be unstealable
  11. format slot 7 of player with gray glass pane named "&7JutouRPG" to be unstealable
  12. format slot 8 of player with gray glass pane named "&7JutouRPG" to be unstealable
  13. format slot 3 of player with stick named "&cMage" to close then run [make player execute command "/mage"]
  14. format slot 4 of player with iron sword named "&cWarrior" to close then run [make player execute command "/warrior"]
  15. format slot 5 of player with iron axe named "&cArcher" to close then run [make player execute command "/archer"]
  16. else:
  17. teleport player to {spawnloc}
  18.  
  19. command /classes:
  20. trigger:
  21. if {noob.%player%} is true:
  22. open chest with 1 row named "&cClasses" to player
  23. wait 1 tick
  24. format slot 0 of player with gray glass pane named "&7JutouRPG" to be unstealable
  25. format slot 1 of player with gray glass pane named "&7JutouRPG" to be unstealable
  26. format slot 2 of player with gray glass pane named "&7JutouRPG" to be unstealable
  27. format slot 6 of player with gray glass pane named "&7JutouRPG" to be unstealable
  28. format slot 7 of player with gray glass pane named "&7JutouRPG" to be unstealable
  29. format slot 8 of player with gray glass pane named "&7JutouRPG" to be unstealable
  30. format slot 3 of player with stick named "&cMage" to close then run [make player execute command "/mage"]
  31. format slot 4 of player with iron sword named "&cWarrior" to close then run [make player execute command "/warrior"]
  32. format slot 5 of player with iron axe named "&cArcher" to close then run [make player execute command "/archer"]
  33.  
  34. every 5 seconds:
  35. loop all players:
  36. if {noob.%loop-player%} is true:
  37. make loop-player execute command "/classes"
  38.  
  39. command /noobify <offline player>:
  40. permission: *
  41. trigger:
  42. set {noob.%arg-1%} to true
  43. send "&aSuccessful!"
  44.  
  45. on join:
  46. if {noob.%player%} is not set:
  47. set {noob.%player%} to true
  48.  
  49.  
  50. command /mage:
  51. trigger:
  52. if {noob.%player%} is true:
  53. set {noob.%player%} to false
  54. make console execute command "/warp spawn2 %player%"
  55. set {class.%player%} to "mage"
  56. set {_stick} to a stick
  57. enchant {_stick} with sharpness 5
  58. give player {_stick} named "&cWand"
  59. give player a saddle named "&7Horse"
  60. give player a book named "&7Quest Book"
  61.  
  62. command /warrior:
  63. trigger:
  64. if {noob.%player%} is true:
  65. set {noob.%player%} to false
  66. make console execute command "/warp spawn2 %player%"
  67. set {class.%player%} to "warrior"
  68. give player a iron sword named "&cSword"
  69. give player a saddle named "&7Horse"
  70. give player a book named "&7Quest Book"
  71.  
  72. command /archer:
  73. trigger:
  74. if {noob.%player%} is true:
  75. set {noob.%player%} to false
  76. make console execute command "/warp spawn2 %player%"
  77. set {class.%player%} to "archer"
  78. give player a iron axe named "&cBow"
  79. give player a saddle named "&7Horse"
  80. give player a book named "&7Quest Book"
  81.  
  82. command /setdarkness:
  83. permission: *
  84. trigger:
  85. set {darkloc} to player's location
  86.  
  87. command /warn [<player>] [<text>]:
  88. permission: staff.warn
  89. permission message: No permission.
  90. trigger:
  91. if arg-1 is set:
  92. if arg-2 is set:
  93. send "&cYou have warned &r%arg-1% &cfor &r%arg-2%&c."
  94. send "&cYou have been warned for &r%arg-2%&c." to arg-1
  95. else:
  96. send "&cInvalid usage, use &r/warn player reason"
  97.  
  98. command /vanish:
  99. permission: staff.vanish
  100. permission message: No permission
  101. trigger:
  102. if {vanish.%player%} is not set:
  103. set {vanish.%player%} to true
  104. send "&cYou are now &rINVISIBLE &cto all &rNON-STAFF&c players."
  105. hide player from all players
  106. loop all players:
  107. if loop-player has permission "staff.vanish":
  108. reveal player to loop-player
  109. stop
  110. if {vanish.%player%} is false:
  111. set {vanish.%player%} to true
  112. send "&cYou are now &rINVISIBLE &cto all &rNON-STAFF&c players."
  113. hide player from all players
  114. loop all players:
  115. if loop-player has permission "staff.vanish":
  116. reveal player to loop-player
  117. stop
  118. if {vanish.%player%} is true:
  119. set {vanish.%player%} to false
  120. send "&cYou are now &rVISIBLE &cto all players."
  121. reveal player to all players
  122.  
  123.  
  124. command /trash:
  125. trigger:
  126. open chest with 3 rows named "&cTrash" to player
  127. wait 1 tick
  128. format slot 0 of player with stick named "&cThrow anything into here and then close the chest" to be unstealable
  129.  
  130. command /check <player>:
  131. permission: *
  132. trigger:
  133. send "&c%arg-1%'s info"
  134. send "&7"
  135. send "&cClass: %{class.%arg-1%}%"
  136. send "&cNew Player: %{noob.%arg-1%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement