Advertisement
Guest User

sds

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