yozora_1202

Untitled

Jun 22nd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.67 KB | None | 0 0
  1. Options:
  2. Version: 1.1
  3.  
  4.  
  5. # (! QUICK NOTE AS WELL FOR THE DIFFERENT STAFF PARTS YOU WILL NEED TO REMOVE THE "#" FOR IT TO WORK !)
  6.  
  7.  
  8.  
  9.  
  10. #
  11. # W E L C O M E T O
  12. #
  13. # P I C K A X E L E V E L L I N G
  14. #
  15. # C R E A T E D B Y : J A C K | I P A R I S
  16. #
  17. # (! Below is the configuration settings you may edit them !)
  18.  
  19.  
  20. Options:
  21. GUIName: Staff
  22. # The name of the GUI
  23. MainGlassColour: white glass
  24. # The main colour of glass
  25. SecondGlassColour: gray glass
  26. # The second colour of glass
  27.  
  28. # THIS IS THE STAFF BIT
  29.  
  30. Owner1: Bulmsy
  31. Owner2: CHANGE
  32. Admin1: THESE
  33. Admin2: BITS
  34. Mod1: TO
  35. Mod2: PLAYER
  36. Dev1: NAMES
  37. Dev2: FROM
  38. Helper1: IN
  39. Helper2: GAME
  40. # What you need to do is in the space next to the staff you need to add in the player's IN-GAME name for it to show up
  41.  
  42.  
  43.  
  44. # (! Please don't edit the settings below unless you know what you are doing !)
  45.  
  46.  
  47.  
  48.  
  49. on join:
  50. if player is "{@Owner1}":
  51. set {Owner1} to "&a&lONLINE"
  52. if player is "{@Owner2}":
  53. set {Owner2} to "&a&lONLINE"
  54. if player is "{@Admin1}":
  55. set {Admin1} to "&a&lONLINE"
  56. if player is "{@Admin2}":
  57. set {Admin2} to "&a&lONLINE"
  58. if player is "{@Mod1}":
  59. set {Mod1} to "&a&lONLINE"
  60. if player is "{@Mod2}":
  61. set {Mod2} to "&a&lONLINE"
  62. if player is "{@Dev1}":
  63. set {Dev1} to "&a&lONLINE"
  64. if player is "{@Dev2}":
  65. set {Dev2} to "&a&lONLINE"
  66. if player is "{@Helper1}":
  67. set {Helper1} to "&a&lONLINE"
  68. if player is "{@Helper2}":
  69. set {Helper2} to "&a&lONLINE"
  70. on disconnect:
  71. if player is "{@Owner1}":
  72. set {Owner1} to "&c&lOFFLINE"
  73. if player is "{@Owner2}":
  74. set {Owner2} to "&c&lOFFLINE"
  75. if player is "{@Admin1}":
  76. set {Admin1} to "&c&lOFFLINE"
  77. if player is "{@Admin2}":
  78. set {Admin2} to "&c&lOFFLINE"
  79. if player is "{@Mod1}":
  80. set {Mod1} to "&c&lOFFLINE"
  81. if player is "{@Mod2}":
  82. set {Mod2} to "&c&lOFFLINE"
  83. if player is "{@Dev1}":
  84. set {Dev1} to "&c&lOFFLINE"
  85. if player is "{@Dev2}":
  86. set {Dev2} to "&c&lOFFLINE"
  87. if player is "{@Helper1}":
  88. set {Helper1} to "&c&lOFFLINE"
  89. if player is "{@Helper2}":
  90. set {Helper2} to "&c&lOFFLINE"
  91.  
  92.  
  93.  
  94.  
  95. command /staff:
  96. trigger:
  97. wait 5 ticks
  98. set {_head1} to "{@Owner1}" parsed as offline player
  99. set {_head2} to "{@Owner2}" parsed as offline player
  100. set {_head3} to "{@Admin1}" parsed as offline player
  101. set {_head4} to "{@Admin2}" parsed as offline player
  102. set {_head5} to "{@Mod1}" parsed as offline player
  103. set {_head6} to "{@Mod2}" parsed as offline player
  104. set {_head7} to "{@Dev1}" parsed as offline player
  105. set {_head8} to "{@Dev2}" parsed as offline player
  106. set {_head9} to "{@Helper1}" parsed as offline player
  107. set {_head10} to "{@Helper2}" parsed as offline player
  108. open chest with 5 rows named "{@GUIName}" to player
  109. wait 1 ticks
  110. format slot 0 of player with {@MainGlassColour} named "&a" to be unstealable
  111. wait 1 tick
  112. format slot 1 of player with {@MainGlassColour} named "&a" to be unstealable
  113. wait 1 tick
  114. format slot 2 of player with {@SecondGlassColour} named "&a" to be unstealable
  115. wait 1 tick
  116. format slot 3 of player with {@SecondGlassColour} named "&a" to be unstealable
  117. wait 1 tick
  118. format slot 4 of player with {@MainGlassColour} named "&a" to be unstealable
  119. wait 1 tick
  120. format slot 5 of player with {@SecondGlassColour} named "&a" to be unstealable
  121. wait 1 tick
  122. format slot 6 of player with {@SecondGlassColour} named "&a" to be unstealable
  123. wait 1 tick
  124. format slot 7 of player with {@MainGlassColour} named "&a" to be unstealable
  125. wait 1 tick
  126. format slot 8 of player with {@MainGlassColour} named "&a" to be unstealable
  127. wait 1 tick
  128. format slot 9 of player with {@MainGlassColour} named "&a" to be unstealable
  129. wait 1 tick
  130. format slot 12 of player with skull of {_head1} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Owner1}||&7Rank &8&l» &bOwner||&7Display &8&l» %{Owner1}%" to be unstealable
  131. wait 1 tick
  132. format slot 14 of player with skull of {_head2} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Owner2}||&7Rank &8&l» &bOwner||&7Display &8&l» %{Owner2}%" to be unstealable
  133. wait 1 tick
  134. format slot 17 of player with {@MainGlassColour} named "&a" to be unstealable
  135. wait 1 tick
  136. format slot 18 of player with {@SecondGlassColour} named "&a" to be unstealable
  137. wait 1 tick
  138. format slot 19 of player with skull of {_head3} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Admin1}||&7Rank &8&l» &bAdmin||&7Display &8&l» %{Admin1}%" to be unstealable
  139. wait 1 tick
  140. format slot 20 of player with skull of {_head4} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Admin2}||&7Rank &8&l» &bAdmin||&7Display &8&l» %{Admin2}%" to be unstealable
  141. wait 1 tick
  142. format slot 24 of player with skull of {_head5} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Mod1}||&7Rank &8&l» &bMod||&7Display &8&l» %{Mod1}%" to be unstealable
  143. wait 1 tick
  144. format slot 25 of player with skull of {_head6} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Mod2}||&7Rank &8&l» &bMod||&7Display &8&l» %{Mod2}%" to be unstealable
  145. wait 1 tick
  146. format slot 26 of player with {@SecondGlassColour} named "&a" to be unstealable
  147. wait 1 tick
  148. format slot 27 of player with {@MainGlassColour} named "&a" to be unstealable
  149. wait 1 tick
  150. format slot 29 of player with skull of {_head7} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Dev1}||&7Rank &8&l» &bDev||&7Display &8&l» %{Dev1}%" to be unstealable
  151. wait 1 tick
  152. format slot 30 of player with skull of {_head8} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Dev2}||&7Rank &8&l» &bADev||&7Display &8&l» %{Dev2}%" to be unstealable
  153. wait 1 tick
  154. format slot 32 of player with skull of {_head9} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Helper1}||&7Rank &8&l» &bHelper||&7Display &8&l» %{Helper1}%" to be unstealable
  155. wait 1 tick
  156. format slot 33 of player with skull of {_head10} named "&b&lStaff" with lore "&7IGN &8&l» &b{@Helper2}||&7Rank &8&l» &bHelper||&7Display &8&l» %{Helper2}%" to be unstealable
  157. wait 1 tick
  158. format slot 35 of player with {@MainGlassColour} named "&a" to be unstealable
  159. wait 1 tick
  160. format slot 36 of player with {@MainGlassColour} named "&a" to be unstealable
  161. wait 1 tick
  162. format slot 37 of player with {@MainGlassColour} named "&a" to be unstealable
  163. wait 1 tick
  164. format slot 38 of player with {@SecondGlassColour} named "&a" to be unstealable
  165. wait 1 tick
  166. format slot 39 of player with {@SecondGlassColour} named "&a" to be unstealable
  167. wait 1 tick
  168. format slot 40 of player with {@MainGlassColour} named "&a" to be unstealable
  169. wait 1 tick
  170. format slot 41 of player with {@SecondGlassColour} named "&a" to be unstealable
  171. wait 1 tick
  172. format slot 42 of player with {@SecondGlassColour} named "&a" to be unstealable
  173. wait 1 tick
  174. format slot 43 of player with {@MainGlassColour} named "&a" to be unstealable
  175. wait 1 tick
  176. format slot 44 of player with {@MainGlassColour} named "&a" to be unstealable
  177.  
  178.  
  179. command /name:
  180. trigger:
  181. send "%displayername%"
  182. send "%player's displayname%"
  183.  
  184. on skript stop:
  185. delete {moderator::*}
  186. delete {admin::*}
  187. delete {player::*}
  188. delete {owner::*}
  189. on skript start:
  190. delete {moderator::*}
  191. delete {admin::*}
  192. delete {player::*}
  193. delete {owner::*}
  194. on join:
  195. if player has permission "darkcheat.moderator":
  196. add player to {moderator::*}
  197. if player has permission "darkcheat.admin":
  198. add player to {admin::*}
  199. if player has permission "darkcheat.player":
  200. add player to {player::*}
  201. if player has permission "darkcheat.*":
  202. add player to {owner::*}
  203. remove player from {moderator::*}
  204. remove player from {admin::*}
  205. remove player from {player::*}
  206. on kick:
  207. if player has permission "darkcheat.moderator":
  208. remove player from {moderator::*}
  209. if player has permission "darkcheat.admin":
  210. remove player from {admin::*}
  211. if player has permission "darkcheat.*":
  212. remove player from {owner::*}
  213. if player has permission "darkcheat.player":
  214. remove player from {player::*}
  215. if {vanish.%player%} = 1:
  216. remove invisibility from player
  217. set {vanish.%player%} to 0
  218. reveal player to all players
  219. on quit:
  220. if player has permission "darkcheat.moderator":
  221. remove player from {moderator::*}
  222. if player has permission "darkcheat.admin":
  223. remove player from {admin::*}
  224. if player has permission "darkcheat.*":
  225. remove player from {owner::*}
  226. if player has permission "darkcheat.player":
  227. remove player from {player::*}
  228. if {vanish.%player%} = 1:
  229. remove invisibility from player
  230. set {vanish.%player%} to 0
  231. reveal player to all players
  232. on pickup:
  233. if {staffmode.%player%} is true:
  234. cancel event
  235. send "&7[&c!&7] &cYou may not pickup items while in Staff Mode."
  236. on jump:
  237. if {%player%.ss} is true:
  238. cancel event
  239. teleport player to {_ss.coords.%player%}
  240. on inventory click:
  241. if {staffmode.%player%} is true:
  242. cancel event
  243. send "&7[&c!&7] &cYou may not edit this inventory."
  244. on damage of a player:
  245. if {staffmode.%attacker%} is true:
  246. cancel event
  247. send "&7[&c!&7] &cYou may not damage this player while in this mode." to attacker
  248. if {staffmode.%victim%} is true:
  249. cancel event
  250. send "&7[&c!&7] &cYou may not damage this player." to attacker
  251. on build:
  252. if {staffmode.%player%} is true:
  253. cancel event
  254. send "&7[&c!&7] &cYou may not build while in Staff Mode."
  255. if {%player%.ss} is true:
  256. cancel event
  257. send "&7[&c!&7] &cYou are currently frozen by a staff member."
  258. on break:
  259. if {staffmode.%player%} is true:
  260. cancel event
  261. send "&7[&c!&7] &cYou may not build while in Staff Mode."
  262. if {%player%.ss} is true:
  263. cancel event
  264. send "&7[&c!&7] &cYou are currently frozen by a staff member."
  265.  
  266.  
  267.  
  268. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[COMMANDS]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  269. command /list [<text>]:
  270. description: Detailed list of the players!
  271. permission: darkcheat.player
  272. permission message: {servername} &cYou do not have access to this command!
  273. executable by: players and console
  274. trigger:
  275. if arg 1 is not set:
  276. send "&7Players:" to player
  277. send "&7%{player::*}%" to player
  278. send "&7Moderators:" to player
  279. send "&c%{moderator::*}%" to player
  280. send "&7Admins:" to player
  281. send "&c%{admin::*}%" to player
  282. send "&7Owners:" to player
  283. send "&b%{owner::*}%" to player
  284. if arg 1 is "players":
  285. send "&7Players:" to player
  286. send "&7%{player::*}%" to player
  287. if arg 1 is "moderators":
  288. send "&7Moderators:" to player
  289. send "&c%{moderator::*}%" to player
  290. if arg 1 is "admins":
  291. send "&7Admins:" to player
  292. send "&c%{admin::*}%" to player
  293. if arg 1 is "owners":
  294. send "&7Owners:" to player
  295. send "&b%{owner::*}%" to player
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302. command /ss [<player>]:
  303. description: Freeze the player and send them a request to join TS!
  304. permission: darkcheat.moderator
  305. permission message: {servername} &cYou do not have access to this command!
  306. executable by: players
  307. aliases: /ss,/screenshare,/freeze
  308. trigger:
  309. if arg 1 is not set:
  310. send "&7[&c!&7] &cError: &7You must enter the name of the player for the command to be executed." to player
  311. if arg 1 is set:
  312. if {%arg-1%.ss} is true:
  313. send "&7[&c!&7] &7%arg-1% &ais no longer frozen!" to player
  314. send "&7[&c!&7] &aYou are no longer frozen!" to arg 1
  315. set {%arg-1%.ss} to false
  316. set the arg-1's walk speed to 1
  317. delete {_ss.coords.%arg-1%}
  318. stop trigger
  319. if {%arg-1%.ss} is not set:
  320. set {%arg-1%.ss} to true
  321. add 1 to {frozencounter.%arg-1%}
  322. send "&7[&c!&7] &cThis player has been frozen %{frozencounter.%arg-1%}% times."
  323. send "&7[&c!&7] &7%arg-1% &ahas been frozen." to player
  324. send "&f█████████" to arg 1
  325. send "&f████&c█&f████" to arg 1
  326. send "&f███&c█&0█&c█&f███" to arg 1
  327. send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
  328. send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
  329. send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
  330. send "&f█&c█&6█████&c█&f█ &ePlease connect to our TeamSpeak." to arg 1
  331. send "&c█&6███&0█&6███&c█ &7%{teamspeak}%" to arg 1
  332. send "&c█████████" to arg 1
  333. send "&f█████████" to arg 1
  334. send "&cYou may not attack or get attacked by players whilst frozen." to arg 1
  335. send "&cYou may not disconnect. If you do, you will be permanently banned." to arg 1
  336. send "&cYou most likely will be asked to do a screenshare to prove you are not hacking." to arg 1
  337. send "&cFailure to comply will result in a permanent ban." to arg 1
  338. set the arg-1's walk speed to 0
  339. set {_ss.coords.%arg-1%} to arg-1's location
  340. stop trigger
  341. if {%arg-1%.ss} is false:
  342. add 1 to {frozencounter.%arg-1%}
  343. send "&7[&c!&7] &7%arg-1% &ahas been frozen." to players
  344. send "&7[&c!&7] &cThis player has been frozen %{frozencounter.%arg-1%}% time"
  345. send "&f█████████" to arg 1
  346. send "&f████&c█&f████" to arg 1
  347. send "&f███&c█&0█&c█&f███" to arg 1
  348. send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
  349. send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
  350. send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
  351. send "&f█&c█&6█████&c█&f█ &ePlease connect to our TeamSpeak." to arg 1
  352. send "&c█&6███&0█&6███&c█ &7%{teamspeak}%" to arg 1
  353. send "&c█████████" to arg 1
  354. send "&f█████████" to arg 1
  355. send "&cYou may not attack or get attacked by players whilst frozen." to arg 1
  356. set {%arg-1%.ss} to true
  357. set the arg-1's walk speed to 0
  358. set {_ss.coords.%arg-1%} to arg-1's location
  359. stop trigger
  360.  
  361. every 5 second in "world":
  362. loop all players:
  363. if {vanish.%loop-player%} = 1:
  364. hide loop-player from all players
  365. reveal loop-player to {admin::*}
  366. reveal loop-player to {moderator::*}
  367. reveal loop-player to {owner::*}
  368.  
  369.  
  370. command /staff [<text>]:
  371. description: Staff menu.
  372. permission: darkcheat.moderator
  373. permission message: &7[&c%{servername}%&7 &cYou do not have access to this command!
  374. executable by: players
  375. trigger:
  376. if arg 1 is not set:
  377. if {staffmode.%player%} is true:
  378. send "&7[&c!&7] &7Staff mode is currently &aactivated&7!"
  379. if {staffmode.%player%} is false:
  380. send "&7[&c!&7] &7Staff mode is currently &cdeactivated&7!"
  381. if {staffmode.%player%} is not set:
  382. send "&7[&c!&7] &7Staff mode is currently &cdeactivated&7!"
  383. if arg 1 is "reload":
  384. if player is op:
  385. execute console command "/skript reload staff"
  386. execute console command "/skript reload Players"
  387. send "&7[&c!&7] &aPlugin reloaded successfully!"
  388. if arg 1 is "on":
  389. if {staffmode.%player%} is false:
  390. send "&7[&c!&7] &7Staff mode is now &aactivated&7!"
  391. wait 1 tick
  392. set {staffmode.%player%} to true
  393. set {save.helm.%player%} to the helmet of the player
  394. set {save.chestplate.%player%} to the chestplate of the player
  395. set {save.leggings.%player%} to the leggings of the player
  396. set {save.boots.%player%} to the boots of the player
  397. set {save.inv.%player%} to the player's serialized inventory
  398. set {save.lvls.%player%} to player's level
  399. set {save.lvls.%player%.progress} to level progress of the player
  400. send "&7[&c!&7] &7Inventory has been saved. You will now enter staff mode&7!"
  401. apply invisibility tier 2 to player for 99999 seconds
  402. send "&7[&c!&7] &7You are now invisible !"
  403. set {vanish.%player%} to 1
  404. hide player from all players
  405. reveal player to {admin::*}
  406. reveal player to {moderator::*}
  407. reveal player to {owner::*}
  408. clear player's inventory
  409. equip player with chain helmet of protection 1000
  410. equip player with chain chestplate of protection 1000
  411. equip player with chain leggings of protection 1000
  412. equip player with chain boots of protection 1000
  413. apply night vision 2 to player for 100000 seconds
  414. clear player's level progress
  415. clear player's level
  416. set player's gamemode to creative
  417. add a clock named "&7&lVanish" to the slot 0 of player
  418. add a compass named "&7&lInventory See" with lore "&bRight click to see the inventory of a player||&bLeft click to see the armor of a player." to the slot 1 of player
  419. add a eye of ender named "&7&lRandom TP" with lore "&bRight click to teleport to a random player." to the slot 2 of player
  420. add a wooden axe named "&6&lWorldEdit Wand" to the slot 3 of player
  421. add a nether star named "&4&lExit Staff Mode" to the slot 8 of player
  422. if {staffmode.%player%} is not set:
  423. send "&7[&c!&7] &7Staff mode is now &aactivated&7!"
  424. wait 1 tick
  425. set {staffmode.%player%} to true
  426. set {save.helm.%player%} to the helmet of the player
  427. set {save.chestplate.%player%} to the chestplate of the player
  428. set {save.leggings.%player%} to the leggings of the player
  429. set {save.boots.%player%} to the boots of the player
  430. set {save.inv.%player%} to the player's serialized inventory
  431. set {save.lvls.%player%} to player's level
  432. set {save.lvls.%player%.progress} to level progress of the player
  433. send "&7[&c!&7] &7Inventory has been saved. You will now enter staff mode&7!"
  434. apply invisibility tier 2 to player for 99999 seconds
  435. send "&7[&c!&7] &7You are now invisible !"
  436. set {vanish.%player%} to 1
  437. hide player from all players
  438. reveal player to {admin::*}
  439. reveal player to {moderator::*}
  440. reveal player to {owner::*}
  441. clear player's inventory
  442. equip player with chain helmet of protection 1000
  443. equip player with chain chestplate of protection 1000
  444. equip player with chain leggings of protection 1000
  445. equip player with chain boots of protection 1000
  446. apply night vision 2 to player for 100000 seconds
  447. clear player's level progress
  448. clear player's level
  449. set player's gamemode to creative
  450. add a clock named "&7&lVanish" to the slot 0 of player
  451. add a compass named "&7&lInventory See" with lore "&bRight click to see the inventory of a player||&bLeft click to see the armor of a player." to the slot 1 of player
  452. add a eye of ender named "&7&lRandom TP" with lore "&bRight click to teleport to a random player." to the slot 2 of player
  453. add a wooden axe named "&6&lWorldEdit Wand" to the slot 3 of player
  454. add a nether star named "&4&lExit Staff Mode" to the slot 8 of player
  455.  
  456.  
  457.  
  458.  
  459. if arg 1 is "off":
  460. if {staffmode.%player%} is true:
  461. send "&7[&c!&7] &7Staff mode is now &cdeactivated&7!"
  462. set {staffmode.%player%} to false
  463. restore inventory of player from {save.inv.%player%}
  464. set the helmet of the player to {save.helm.%player%}
  465. set the chestplate of the player to {save.chestplate.%player%}
  466. set the leggings of the player to {save.leggings.%player%}
  467. set the boots of the player to {save.boots.%player%}
  468. set player's level to {save.lvls.%player%}
  469. set player's level progress to {save.lvls.%player%.progress}
  470. reveal player to all players
  471. remove invisibility from the player
  472. remove night vision from the player
  473. set player's gamemode to survival
  474. else:
  475. send "&7[&c!&7] &7Staff mode is already &cdeactivated&7!"
  476. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[ITEMS]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  477. on right click with a clock:
  478. if {staffmode.%player%} is true:
  479. if {vanish.%player%} is not set:
  480. apply invisibility tier 2 to player for 99999 seconds
  481. send "&7[&c!&7] &7You are now invisible !"
  482. set {vanish.%player%} to 1
  483. hide player from all players
  484. stop trigger
  485. if {vanish.%player%} = 0:
  486. apply invisibility tier 2 to player for 99999 seconds
  487. send "&7[&c!&7] &7You are now invisible !"
  488. set {vanish.%player%} to 1
  489. hide player from all players
  490. stop trigger
  491. if {vanish.%player%} = 1:
  492. remove invisibility from player
  493. send "&7[&c!&7] &7You are now visible !"
  494. set {vanish.%player%} to 0
  495. reveal player to all players
  496. stop trigger
  497. on right click on a player:
  498. if player's tool is a compass:
  499. if {staffmode.%player%} is true:
  500. cancel event
  501. make player execute command "/invsee %clicked entity%"
  502. on right click with a nether star:
  503. if {staffmode.%player%} is true:
  504. cancel event
  505. make player execute command "/staff off"
  506. on damage of a player:
  507. if attacker's tool is a compass:
  508. if {staffmode.%attacker%} is true:
  509. cancel event
  510. make attacker execute command "/invsee %victim% 1"
  511. on right click with a eye of ender:
  512. if {staffmode.%player%} is true:
  513. cancel event
  514. set {_randomtp} to a random element out of {player::*}
  515. teleport player to {_randomtp}
  516. send "&8[&c!&8] &7You have been randomly teleported to &c%{_randomtp}%&7!"
Add Comment
Please, Sign In to add comment