Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.78 KB | None | 0 0
  1. options:
  2. bypass: false
  3.  
  4.  
  5. on sign change:
  6. if line 1 is "Load" or "load" or "LOAD":
  7. if line 2 is "Gui" or "GUI" or "GUI":
  8. set line 1 to "&r"
  9. set line 2 to "&lLoading..."
  10. wait 1 second
  11. set line 2 to "&lLoading."
  12. wait 1 second
  13. set line 2 to "&lLoading.."
  14. wait 1 second
  15. set line 2 to "&lLoading..."
  16. wait 1 second
  17. set line 2 to "&lLoading."
  18. wait 1 second
  19. set line 2 to "&lLoading.."
  20. wait 1 second
  21. set line 2 to "&lLoading..."
  22. wait 1 second
  23. set line 2 to "&l."
  24. wait 1 second
  25. set line 2 to "&l.."
  26. wait 2 seconds
  27. set line 2 to "&lAnalyzing"
  28. set line 3 to "&lGUI"
  29. wait 5 seconds
  30. set line 2 to "&lPREPARING"
  31. set line 3 to "&lCOMPLETION"
  32. wait 5 seconds
  33. set line 2 to "Skripted By:"
  34. set line 3 to "&l&oAirlebnis"
  35. wait 3 seconds
  36. set line 1 to "&l&m------------"
  37. wait 1 second
  38. set line 2 to "Right Click"
  39. wait 2 seconds
  40. set line 3 to "&o&nOpen GUI"
  41. wait 1 second
  42. set line 4 to "&l&m------------"
  43.  
  44.  
  45.  
  46.  
  47.  
  48. on rightclick on sign:
  49. if line 1 of clicked block is "&l&m------------":
  50. if line 2 of clicked block is "Right Click":
  51. if line 3 of clicked block is "&o&nOpen GUI":
  52. if line 4 of clicked block is "&l&m------------":
  53. execute console command "playsound Minecraft:block.note.bell master %player% ~ ~ ~ 1000000 2"
  54. open chest with 3 rows named "&8Server Staff GUI" to player
  55. format slot 4 of player with skull of player named "&aYou" to be unstealable
  56. format slot 0 of player with black stained glass pane named "&f" to be unstealable
  57. wait 1 tick
  58. format slot 1 of player with black stained glass pane named "&f" to be unstealable
  59. wait 1 tick
  60. format slot 2 of player with black stained glass pane named "&f" to be unstealable
  61. wait 1 tick
  62. format slot 3 of player with black stained glass pane named "&f" to be unstealable
  63. wait 1 tick
  64. format slot 5 of player with black stained glass pane named "&f" to be unstealable
  65. wait 1 tick
  66. format slot 6 of player with black stained glass pane named "&f" to be unstealable
  67. wait 1 tick
  68. format slot 7 of player with black stained glass pane named "&f" to be unstealable
  69. wait 1 tick
  70. format slot 8 of player with black stained glass pane named "&f" to be unstealable
  71. wait 1 tick
  72. format slot 9 of player with black stained glass pane named "&f" to be unstealable
  73. wait 1 tick
  74. format slot 17 of player with black stained glass pane named "&f" to be unstealable
  75. wait 1 tick
  76. format slot 18 of player with black stained glass pane named "&f" to be unstealable
  77. wait 1 tick
  78. format slot 19 of player with black stained glass pane named "&f" to be unstealable
  79. wait 1 tick
  80. format slot 20 of player with black stained glass pane named "&f" to be unstealable
  81. wait 1 tick
  82. format slot 21 of player with black stained glass pane named "&f" to be unstealable
  83. wait 1 tick
  84. format slot 22 of player with black stained glass pane named "&f" to be unstealable
  85. wait 1 tick
  86. format slot 23 of player with black stained glass pane named "&f" to be unstealable
  87. wait 1 tick
  88. format slot 24 of player with black stained glass pane named "&f" to be unstealable
  89. wait 1 tick
  90. format slot 25 of player with black stained glass pane named "&f" to be unstealable
  91. wait 1 tick
  92. format slot 26 of player with black stained glass pane named "&f" to be unstealable
  93. wait 1 tick
  94. format slot 10 of player with gray wool named "&7Clear &nServer&7 Chat" with lore "||&fBy clicking on this,&7 ||&fit will clear&7 ||&fall public chat messages.&7||&7||" to close then run [execute player command "/clearchat"]
  95. format slot 12 of player with RED wool named "&cLock &nServer&c Chat" with lore "||&fBy clicking on this,&7 ||&fit will lock the server's&7 ||&fchat and deny's&7 ||&fplayers to chat in public.&7||&7||" to close then run [execute player command "/chatmute"]
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104. command /clearchat:
  105. permission: script.cc
  106. permission message: &cError&8> &4Unspecified Permissions.
  107. trigger:
  108. loop 170 times:
  109. broadcast ""
  110. broadcast "&7Chat has been cleared!"
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118. command /chatmute:
  119. permission: script.mute
  120. trigger:
  121. if {chatmute} is true:
  122. set {chatmute} to false
  123. broadcast ""
  124. broadcast "&8» &cChat has been muted! &8«"
  125. broadcast ""
  126. else:
  127. set {chatmute} to true
  128. broadcast ""
  129. broadcast "&8» &cChat was unmuted! &8«"
  130. broadcast ""
  131. on chat:
  132. if {chatmute} is true:
  133. if player has permission "script.bypass":
  134. broadcast "&7%player's displayname% &8» &7%message%"
  135. cancel event
  136. else:
  137. cancel event
  138. message "&7Chat is currently muted"
  139.  
  140.  
  141.  
  142. on chat:
  143. loop all players:
  144. replace all "%player%" in message with "&c@%player%&7"
  145.  
  146.  
  147.  
  148.  
  149. on break of sign:
  150. player's game mode is creative or survival:
  151. send "&8» &cYou cannot break signs! (Tell An Admin)" to player
  152. cancel event
  153.  
  154.  
  155.  
  156. command /forcerem:
  157. permission: force.rem
  158. trigger:
  159. set target block to air
  160. send "&8» &aSuccessfully removed" to player
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167. command /setrank [<player>] [<text>]:
  168. permission: script.GU
  169. trigger:
  170. if arg-1 isn't set:
  171. send "&c&l(!) &cIncorrect Usage, Check and try again!"
  172. stop
  173. if arg-2 isn't set:
  174. send "&c&l(!) &cIncorrect Usage, Check and try again!"
  175. stop
  176. if arg-1 is set:
  177. if arg-2 is set:
  178. if arg-2 is "Dev":
  179. set arg-1's prefix to "&8[&6&lDEV&8] &7"
  180. send "&7Your rank has been updated to &6&lDEV&r&7!" to arg-1
  181. send "&7You set %arg-1%'s rank to &6&lDEV&r&7!" to player
  182. execute console command "pex user %arg-1% group set Dev"
  183. if arg-2 is "Staff":
  184. set arg-1's prefix to "&8[&c&lSTAFF&8] &7"
  185. send "&7Your rank has been updated to &c&lSTAFF&r&7!" to arg-1
  186. send "&7You set %arg-1%'s rank to &c&lSTAFF&r&7!" to player
  187. execute console command "pex user %arg-1% group set Staff"
  188. if arg-2 is "Helper":
  189. set arg-1's prefix to "&8[&5Helper&8] &7"
  190. send "&7Your rank has been updated to &5Helper&r&7!" to arg-1
  191. send "&7You set %arg-1%'s rank to &5Helper&r&7!" to player
  192. execute console command "pex user %arg-1% group set Helper"
  193. if arg-2 is "Mod":
  194. set arg-1's prefix to "&8[&a&lMOD&8] &7"
  195. send "&7Your rank has been updated to &a&lMOD&r&7!" to arg-1
  196. send "&7You set %arg-1%'s rank to &a&lMOD&r&7!" to player
  197. execute console command "pex user %arg-1% group set Mod"
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204. command /ranks:
  205. permission: script.GU
  206. trigger:
  207. send "&7Here is a list of all"
  208. send "&7current server staff ranks to choose from."
  209. send ""
  210. send "&8- &fHelper"
  211. send "&8- &fMod"
  212. send "&8- &fSr. Mod &c(COMING SOON)"
  213. send "&8- &fAdmin &c(COMING SOON)"
  214. send "&8- &fManager &c(COMING SOON)"
  215. send "&8- &fDev"
  216. send "&8- &fOwner &c(COMING SOON)"
  217. send ""
  218.  
  219.  
  220.  
  221.  
  222. command /delrank [<player>]:
  223. permission: script.GU
  224. trigger:
  225. if arg-1 isn't set:
  226. send "&c&l(!) &cIncorrect Usage, Check and try again!"
  227. stop
  228. if arg-1 is set:
  229. set arg-1's prefix to ""
  230. execute console command "pex user %arg-1% group set Default"
  231. send "&7&l(!) &7You removed %arg-1%'s rank!" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement