Advertisement
Guest User

Fix

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