Advertisement
oChampPlays

Untitled

Feb 25th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.21 KB | None | 0 0
  1. command /mod:
  2. aliases: h
  3. permission: staff.rank
  4. permission message: &cYou are not a staff member!
  5. trigger:
  6. if {mod.%player%} is not set:
  7. set gamemode of player to creative
  8. clear player's inventory
  9. wait 1 tick
  10. send "&8(&4!&8) &eStaff mode has been &aEnabled"
  11. set slot 0 of player to chest named "&cInvsee"
  12. set slot 1 of player to paper named "&cStaff Online"
  13. set slot 8 of player to packed ice named "&cFreeze"
  14. set slot 7 of player to lead named "&cMount"
  15. set slot 4 of player to gray dye named "&cVanish&a ON &7(RightClick)"
  16. set slot 2 of player to firework star named "&cRandom Teleport"
  17. set {mod.%player%} to true
  18. stop
  19. else:
  20. wait 1 second
  21. set gamemode of player to survival
  22. clear player's inventory
  23. reveal player to all players
  24. send "&8(&4!&8) &eStaff mode has been &cDisabled"
  25. delete {mod.%player%}
  26. stop
  27. command /vanish-on:
  28. description: Use this command to be vanished.
  29. permission: staff.rank
  30. permission message: &cYou are not a staff member!
  31. aliases: /invis
  32. executable by: player
  33. trigger:
  34. player has permission "staff.rank"
  35. make player execute /vanish on
  36. send "&eVanish &aEnabled" to the player
  37. set the player's gamemode to creative
  38. command /vanish-off:
  39. description: Use this command to be vanished.
  40. permission: staff.rank
  41. permission message: &cYou are not a staff member!
  42. aliases: /vis
  43. executable by: player
  44. trigger:
  45. player has permission "staff.rank"
  46. make player execute /vanish off
  47. send "&eVanish &cDisabled" to the player
  48. on mine:
  49. if {mod::%player%} is true:
  50. cancel the event
  51.  
  52. on pickup:
  53. if {mod.%player%} is true:
  54. cancel the event
  55.  
  56. on hunger bar change:
  57. if {mod.%player%} is true:
  58. set the player's food level to 10
  59.  
  60. on damage:
  61. if {mod.%victim%} is true:
  62. cancel event
  63. if {mod.%attacker%} is true:
  64. cancel event
  65.  
  66. on break:
  67. if {mod.%player%} is true:
  68. cancel event
  69.  
  70.  
  71. on build:
  72. if {mod.%player%} is true:
  73. cancel event
  74.  
  75. on drop:
  76. if {mod.%player%} is true:
  77. cancel event
  78. on command "/v":
  79. if {mod.%player%} is true:
  80. cancel event
  81. send "&c(!) First back of ModMode"
  82. on command "/vanish":
  83. if {mod.%player%} is true:
  84. cancel event
  85. send "&c(!) First back of ModMode"
  86. on command "/v":
  87. if {mod.%player%} is true:
  88. cancel event
  89. send "&c(!) First back of ModMode"
  90. on command "/gm 0":
  91. if {mod.%player%} is true:
  92. cancel event
  93. send "&c(!) First back of ModMode"
  94. on command "/gm 1":
  95. if {mod.%player%} is true:
  96. cancel event
  97. send "&c(!) First back of ModMode"
  98. on command "/gm 2":
  99. if {mod.%player%} is true:
  100. cancel event
  101. send "&c(!) First back of ModMode"
  102. on command "/gmc":
  103. if {mod.%player%} is true:
  104. cancel event
  105. send "&c(!) First back of ModMode"
  106. on command "/gma":
  107. if {mod.%player%} is true:
  108. cancel event
  109. send "&c(!) First back of ModMode"
  110. on command "/gms":
  111. if {mod.%player%} is true:
  112. cancel event
  113. send "&c(!) First back of ModMode"
  114. on command "/gm c":
  115. if {mod.%player%} is true:
  116. cancel event
  117. send "&c(!) First back of ModMode"
  118. on command "/gm a":
  119. if {mod.%player%} is true:
  120. cancel event
  121. send "&c(!) First back of ModMode"
  122. on command "/gm s":
  123. if {mod.%player%} is true:
  124. cancel event
  125. send "&c(!) First back of ModMode"
  126. on command "/gamemode 1":
  127. if {mod.%player%} is true:
  128. cancel event
  129. send "&c(!) First back of ModMode"
  130. on command "/gamemode 2":
  131. if {mod.%player%} is true:
  132. cancel event
  133. send "&c(!) First back of ModMode"
  134. on command "/gamemode 0":
  135. if {mod.%player%} is true:
  136. cancel event
  137. send "&c(!) First back of ModMode"
  138. on command "/gamemode a":
  139. if {mod.%player%} is true:
  140. cancel event
  141. send "&c(!) First back of ModMode"
  142. on command "/gamemode c":
  143. if {mod.%player%} is true:
  144. cancel event
  145. send "&c(!) First back of ModMode"
  146. on command "/gamemode s":
  147. if {mod.%player%} is true:
  148. cancel event
  149. send "&c(!) First back of ModMode"
  150. on command "/clear":
  151. if {mod.%player%} is true:
  152. cancel event
  153. send "&c(!) First back of ModMode"
  154. on command "/ci":
  155. if {mod.%player%} is true:
  156. cancel event
  157. send "&c(!) First back of ModMode"
  158. on command "/asdunranked":
  159. if {mod.%player%} is true:
  160. cancel event
  161. send "&c(!) First back of ModMode"
  162. on command "/asdranked":
  163. if {mod.%player%} is true:
  164. cancel event
  165. send "&c(!) First back of ModMode"
  166. on command "/accept <player> [<text>]":
  167. if {mod.%player%} is true:
  168. cancel event
  169. send "&c(!) First back of ModMode"
  170. on command "/duel <player> [<text>]":
  171. if {mod.%player%} is true:
  172. cancel event
  173. send "&c(!) First back of ModMode"
  174. on command "/asdleave":
  175. if {mod.%player%} is true:
  176. cancel event
  177. send "&c(!) First back of ModMode"
  178. on command "/tp <player>":
  179. if {mod.%player%} is true:
  180. hide player to all players
  181. on command "/spawn":
  182. if {mod.%player%} is true:
  183. clear player's inventory
  184. teleport player to {spawn}
  185. reveal player to all players
  186. delete {modmode.%player%}
  187. on command "/suicide":
  188. if {mod.%player%} is true:
  189. kill the player
  190. reveal player to all players
  191. delete {mod.%player%}
  192. on quit:
  193. if {mod.%player%} is true:
  194. delete {mod.%player%}
  195. set gamemode of player to survival
  196. clear player's inventory
  197. reveal player to all players
  198. stop
  199. if {god.%player%} is true:
  200. delete {god.%player%}
  201. stop
  202. on place:
  203. if {mod.%player%} is true:
  204. cancel event
  205. stop
  206. on break:
  207. if {mod.%player%} is true:
  208. cancel event
  209. stop
  210. on inventory click:
  211. if {mod.%player%} is true:
  212. cancel event
  213. stop
  214. else:
  215. stop
  216.  
  217. on rightclick on player:
  218. if player's tool is a wheat:
  219. if name of player's tool is "&cFreeze":
  220. if player has permission "staff.rank":
  221. wait 1 ticks
  222. execute player command "/Freeze %clicked player%"
  223. stop
  224. on right click:
  225. if player's tool is a gray dye:
  226. if name of player's tool is "&cVanish&a ON &7(RightClick)":
  227. if player has permission "staff.rank":
  228. set slot 8 of player to light green dye named "&4Vanish OFF &7(LeftClick)"
  229. make player execute command "/vanish-on"
  230. delete {god.%player%}
  231. stop
  232.  
  233. on left click:
  234. if player's tool is a light green dye:
  235. if name of player's tool is "&cVanish OFF &7(LeftClick)":
  236. if player has permission "staff.rank":
  237. set slot 4 of player to gray dye named "&aVanish ON &7(RightClick)"
  238. make player execute command "/vanish-off"
  239. stop
  240.  
  241. on right click on a player:
  242. if player's tool is a chest:
  243. if name of player's tool is "&cInvsee":
  244. if player has permission "staff.rank":
  245. open the inventory of the clicked entity to the player
  246. stop
  247.  
  248. on right click with firework star:
  249. if player is holding a firework star named "&cRandom Teleport":
  250. if player has permission "staff.rank":
  251. set {_random} to a random player out of all players
  252. while {_random} is name of player:
  253. set {_random} to a random player out of all players
  254. wait 1 tick
  255. if {_random} is not name of player:
  256. teleport player 1 behind {_random}
  257. send "&3Teleported to &9%{_random}%"
  258. else:
  259. message "&cYou are not a staff member!"
  260.  
  261. on right click:
  262. if player's tool is a paper:
  263. if name of player's tool is "&cStaff Online":
  264. if player has permission "modmode.1":
  265. wait 5 ticks
  266. make player execute command "/stafflist"
  267. stop
  268.  
  269. command /stafflist:
  270. permission: modmode.1
  271. permission message: &cYou are not a staff member!
  272. description: Shows online staff
  273. trigger:
  274. loop all players:
  275. loop-player has permission "modmode.1"
  276. add loop-player to {_online staff::*}
  277.  
  278. size of {_online staff::*} is 0:
  279. message "No staff currently online!"
  280. else:
  281. message "&bStaff List&3&m+---&b---&3---&B---&3---&B---&3---&B---&3--+"
  282. message "&8ยป &3Staff &6ยป &b%{_online staff::*}%"
  283. message "&3&m+---&b---&3---&B---&3---&B---&3---&B---&3---&B---&3---&B--+"
  284. on join:
  285. if player have permission "modmode.1":
  286. add 1 to {_staffonline::*}
  287. on quit:
  288. if player have permission "modmode.1":
  289. remove 1 from {_staffonline::*}
  290.  
  291. on right click with lead:
  292. if player is holding a lead named "&cMount":
  293. if player has permission "hcf.staff":
  294. if entity's target is a player:
  295. set {_name} to "%target entity%" parsed as a player
  296. send "&7[&c&lSTAFF&7] &7You now follow &9%{_name}%"
  297. make player ride {_name}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement