Advertisement
oChampPlays

Untitled

Feb 25th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.63 KB | None | 0 0
  1. on skript stop:
  2. delete {moderator::*}
  3. delete {admin::*}
  4. delete {player::*}
  5. delete {owner::*}
  6. on skript start:
  7. delete {moderator::*}
  8. delete {admin::*}
  9. delete {player::*}
  10. delete {owner::*}
  11. on join:
  12. if player has permission "darkcheat.moderator":
  13. add player to {moderator::*}
  14. if player has permission "darkcheat.admin":
  15. add player to {admin::*}
  16. if player has permission "darkcheat.player":
  17. add player to {player::*}
  18. if player has permission "darkcheat.*":
  19. add player to {owner::*}
  20. remove player from {moderator::*}
  21. remove player from {admin::*}
  22. remove player from {player::*}
  23. on kick:
  24. if player has permission "darkcheat.moderator":
  25. remove player from {moderator::*}
  26. if player has permission "darkcheat.admin":
  27. remove player from {admin::*}
  28. if player has permission "darkcheat.*":
  29. remove player from {owner::*}
  30. if player has permission "darkcheat.player":
  31. remove player from {player::*}
  32. if {vanish.%player%} = 1:
  33. remove invisibility from player
  34. set {vanish.%player%} to 0
  35. reveal player to all players
  36. on quit:
  37. if player has permission "darkcheat.moderator":
  38. remove player from {moderator::*}
  39. if player has permission "darkcheat.admin":
  40. remove player from {admin::*}
  41. if player has permission "darkcheat.*":
  42. remove player from {owner::*}
  43. if player has permission "darkcheat.player":
  44. remove player from {player::*}
  45. if {vanish.%player%} = 1:
  46. remove invisibility from player
  47. set {vanish.%player%} to 0
  48. reveal player to all players
  49. on pickup:
  50. if {staffmode.%player%} is true:
  51. cancel event
  52. send "&7[&c!&7] &cYou may not pickup items while in Staff Mode."
  53. on jump:
  54. if {%player%.ss} is true:
  55. cancel event
  56. teleport player to {_ss.coords.%player%}
  57. on inventory click:
  58. if {staffmode.%player%} is true:
  59. cancel event
  60. send "&7[&c!&7] &cYou may not edit this inventory."
  61. on damage of a player:
  62. if {staffmode.%attacker%} is true:
  63. cancel event
  64. send "&7[&c!&7] &cYou may not damage this player while in this mode." to attacker
  65. if {staffmode.%victim%} is true:
  66. cancel event
  67. send "&7[&c!&7] &cYou may not damage this player." to attacker
  68. on build:
  69. if {staffmode.%player%} is true:
  70. cancel event
  71. send "&7[&c!&7] &cYou may not build while in Staff Mode."
  72. if {%player%.ss} is true:
  73. cancel event
  74. send "&7[&c!&7] &cYou are currently frozen by a staff member."
  75. on break:
  76. if {staffmode.%player%} is true:
  77. cancel event
  78. send "&7[&c!&7] &cYou may not build while in Staff Mode."
  79. if {%player%.ss} is true:
  80. cancel event
  81. send "&7[&c!&7] &cYou are currently frozen by a staff member."
  82.  
  83.  
  84.  
  85. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[COMMANDS]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  86. command /list [<text>]:
  87. description: Detailed list of the players!
  88. permission: darkcheat.player
  89. permission message: {servername} &cYou do not have access to this command!
  90. executable by: players and console
  91. trigger:
  92. if arg 1 is not set:
  93. send "&7Players:" to player
  94. send "&7%{player::*}%" to player
  95. send "&7Moderators:" to player
  96. send "&c%{moderator::*}%" to player
  97. send "&7Admins:" to player
  98. send "&c%{admin::*}%" to player
  99. send "&7Owners:" to player
  100. send "&b%{owner::*}%" to player
  101. if arg 1 is "players":
  102. send "&7Players:" to player
  103. send "&7%{player::*}%" to player
  104. if arg 1 is "moderators":
  105. send "&7Moderators:" to player
  106. send "&c%{moderator::*}%" to player
  107. if arg 1 is "admins":
  108. send "&7Admins:" to player
  109. send "&c%{admin::*}%" to player
  110. if arg 1 is "owners":
  111. send "&7Owners:" to player
  112. send "&b%{owner::*}%" to player
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119. command /ss [<player>]:
  120. description: Freeze the player and send them a request to join TS!
  121. permission: darkcheat.moderator
  122. permission message: {servername} &cYou do not have access to this command!
  123. executable by: players
  124. aliases: /ss,/screenshare,/freeze
  125. trigger:
  126. if arg 1 is not set:
  127. send "&7[&c!&7] &cError: &7You must enter the name of the player for the command to be executed." to player
  128. if arg 1 is set:
  129. if {%arg-1%.ss} is true:
  130. send "&7[&c!&7] &7%arg-1% &ais no longer frozen!" to player
  131. send "&7[&c!&7] &aYou are no longer frozen!" to arg 1
  132. set {%arg-1%.ss} to false
  133. set the arg-1's walk speed to 1
  134. delete {_ss.coords.%arg-1%}
  135. stop trigger
  136. if {%arg-1%.ss} is not set:
  137. set {%arg-1%.ss} to true
  138. add 1 to {frozencounter.%arg-1%}
  139. send "&7[&c!&7] &cThis player has been frozen %{frozencounter.%arg-1%}% times."
  140. send "&7[&c!&7] &7%arg-1% &ahas been frozen." to player
  141. send "&f█████████" to arg 1
  142. send "&f████&c█&f████" to arg 1
  143. send "&f███&c█&0█&c█&f███" to arg 1
  144. send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
  145. send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
  146. send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
  147. send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord." to arg 1
  148. send "&c█&6███&0█&6███&c█ &7%{teamspeak}%" to arg 1
  149. send "&c█████████" to arg 1
  150. send "&f█████████" to arg 1
  151. send "&cYou may not attack or get attacked by players whilst frozen." to arg 1
  152. send "&cYou may not disconnect. If you do, you will be permanently banned." to arg 1
  153. send "&cYou most likely will be asked to do a screenshare to prove you are not hacking." to arg 1
  154. send "&cFailure to comply will result in a permanent ban." to arg 1
  155. set the arg-1's walk speed to 0
  156. set {_ss.coords.%arg-1%} to arg-1's location
  157. stop trigger
  158. if {%arg-1%.ss} is false:
  159. add 1 to {frozencounter.%arg-1%}
  160. send "&7[&c!&7] &7%arg-1% &ahas been frozen." to players
  161. send "&7[&c!&7] &cThis player has been frozen %{frozencounter.%arg-1%}% time"
  162. send "&f█████████" to arg 1
  163. send "&f████&c█&f████" to arg 1
  164. send "&f███&c█&0█&c█&f███" to arg 1
  165. send "&f██&c█&6█&0█&6█&c█&f██" to arg 1
  166. send "&f██&c█&6█&0█&6█&c█&f██ &eYou have been frozen by a staff member." to arg 1
  167. send "&f██&c█&6█&0█&6█&c█&f██ &eIf you disconnect you will be &4&lBANNED&e." to arg 1
  168. send "&f█&c█&6█████&c█&f█ &ePlease connect to our Discord." to arg 1
  169. send "&c█&6███&0█&6███&c█ &7%{teamspeak}%" to arg 1
  170. send "&c█████████" to arg 1
  171. send "&f█████████" to arg 1
  172. send "&cYou may not attack or get attacked by players whilst frozen." to arg 1
  173. set {%arg-1%.ss} to true
  174. set the arg-1's walk speed to 0
  175. set {_ss.coords.%arg-1%} to arg-1's location
  176. stop trigger
  177.  
  178. every 5 second in "world":
  179. loop all players:
  180. if {vanish.%loop-player%} = 1:
  181. hide loop-player from all players
  182. reveal loop-player to {admin::*}
  183. reveal loop-player to {moderator::*}
  184. reveal loop-player to {owner::*}
  185.  
  186.  
  187. command /staff [<text>]:
  188. description: Staff menu.
  189. permission: darkcheat.moderator
  190. permission message: &7[&c%{servername}%&7 &cYou do not have access to this command!
  191. executable by: players
  192. trigger:
  193. if arg 1 is not set:
  194. if {staffmode.%player%} is true:
  195. send "&7[&c!&7] &7Staff mode is currently &aactivated&7!"
  196. if {staffmode.%player%} is false:
  197. send "&7[&c!&7] &7Staff mode is currently &cdeactivated&7!"
  198. if {staffmode.%player%} is not set:
  199. send "&7[&c!&7] &7Staff mode is currently &cdeactivated&7!"
  200. if arg 1 is "reload":
  201. if player is op:
  202. execute console command "/skript reload staff"
  203. execute console command "/skript reload Players"
  204. send "&7[&c!&7] &aPlugin reloaded successfully!"
  205. if arg 1 is "on":
  206. if {staffmode.%player%} is false:
  207. send "&7[&c!&7] &7Staff mode is now &aactivated&7!"
  208. wait 1 tick
  209. set {staffmode.%player%} to true
  210. set {save.helm.%player%} to the helmet of the player
  211. set {save.chestplate.%player%} to the chestplate of the player
  212. set {save.leggings.%player%} to the leggings of the player
  213. set {save.boots.%player%} to the boots of the player
  214. set {save.inv.%player%} to the player's serialized inventory
  215. set {save.lvls.%player%} to player's level
  216. set {save.lvls.%player%.progress} to level progress of the player
  217. send "&7[&c!&7] &7Inventory has been saved. You will now enter staff mode&7!"
  218. apply invisibility tier 2 to player for 99999 seconds
  219. send "&7[&c!&7] &7You are now invisible !"
  220. set {vanish.%player%} to 1
  221. hide player from all players
  222. reveal player to {admin::*}
  223. reveal player to {moderator::*}
  224. reveal player to {owner::*}
  225. clear player's inventory
  226. equip player with chain helmet of protection 1000
  227. equip player with chain chestplate of protection 1000
  228. equip player with chain leggings of protection 1000
  229. equip player with chain boots of protection 1000
  230. apply night vision 2 to player for 100000 seconds
  231. clear player's level progress
  232. clear player's level
  233. set player's gamemode to creative
  234. add a clock named "&7&lVanish" to the slot 0 of player
  235. 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
  236. 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
  237. add a wooden axe named "&6&lWorldEdit Wand" to the slot 3 of player
  238. add a nether star named "&4&lExit Staff Mode" to the slot 8 of player
  239. if {staffmode.%player%} is not set:
  240. send "&7[&c!&7] &7Staff mode is now &aactivated&7!"
  241. wait 1 tick
  242. set {staffmode.%player%} to true
  243. set {save.helm.%player%} to the helmet of the player
  244. set {save.chestplate.%player%} to the chestplate of the player
  245. set {save.leggings.%player%} to the leggings of the player
  246. set {save.boots.%player%} to the boots of the player
  247. set {save.inv.%player%} to the player's serialized inventory
  248. set {save.lvls.%player%} to player's level
  249. set {save.lvls.%player%.progress} to level progress of the player
  250. send "&7[&c!&7] &7Inventory has been saved. You will now enter staff mode&7!"
  251. apply invisibility tier 2 to player for 99999 seconds
  252. send "&7[&c!&7] &7You are now invisible !"
  253. set {vanish.%player%} to 1
  254. hide player from all players
  255. reveal player to {admin::*}
  256. reveal player to {moderator::*}
  257. reveal player to {owner::*}
  258. clear player's inventory
  259. equip player with chain helmet of protection 1000
  260. equip player with chain chestplate of protection 1000
  261. equip player with chain leggings of protection 1000
  262. equip player with chain boots of protection 1000
  263. apply night vision 2 to player for 100000 seconds
  264. clear player's level progress
  265. clear player's level
  266. set player's gamemode to creative
  267. add a clock named "&7&lVanish" to the slot 0 of player
  268. 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
  269. 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
  270. add a nether star named "&4&lExit Staff Mode" to the slot 8 of player
  271.  
  272.  
  273.  
  274.  
  275. if arg 1 is "off":
  276. if {staffmode.%player%} is true:
  277. send "&7[&c!&7] &7Staff mode is now &cdeactivated&7!"
  278. set {staffmode.%player%} to false
  279. restore inventory of player from {save.inv.%player%}
  280. set the helmet of the player to {save.helm.%player%}
  281. set the chestplate of the player to {save.chestplate.%player%}
  282. set the leggings of the player to {save.leggings.%player%}
  283. set the boots of the player to {save.boots.%player%}
  284. set player's level to {save.lvls.%player%}
  285. set player's level progress to {save.lvls.%player%.progress}
  286. reveal player to all players
  287. remove invisibility from the player
  288. remove night vision from the player
  289. set player's gamemode to survival
  290. else:
  291. send "&7[&c!&7] &7Staff mode is already &cdeactivated&7!"
  292. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[ITEMS]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  293. on right click with a clock:
  294. if {staffmode.%player%} is true:
  295. if {vanish.%player%} is not set:
  296. apply invisibility tier 2 to player for 99999 seconds
  297. send "&7[&c!&7] &7You are now invisible !"
  298. set {vanish.%player%} to 1
  299. hide player from all players
  300. stop trigger
  301. if {vanish.%player%} = 0:
  302. apply invisibility tier 2 to player for 99999 seconds
  303. send "&7[&c!&7] &7You are now invisible !"
  304. set {vanish.%player%} to 1
  305. hide player from all players
  306. stop trigger
  307. if {vanish.%player%} = 1:
  308. remove invisibility from player
  309. send "&7[&c!&7] &7You are now visible !"
  310. set {vanish.%player%} to 0
  311. reveal player to all players
  312. stop trigger
  313. on right click on a player:
  314. if player's tool is a compass:
  315. if {staffmode.%player%} is true:
  316. cancel event
  317. make player execute command "/invsee %clicked entity%"
  318. on right click with a nether star:
  319. if {staffmode.%player%} is true:
  320. cancel event
  321. make player execute command "/staff off"
  322. on damage of a player:
  323. if attacker's tool is a compass:
  324. if {staffmode.%attacker%} is true:
  325. cancel event
  326. make attacker execute command "/invsee %victim% 1"
  327. on right click with a eye of ender:
  328. if {staffmode.%player%} is true:
  329. cancel event
  330. set {_randomtp} to a random element out of {player::*}
  331. teleport player to {_randomtp}
  332. send "&8[&c!&8] &7You have been randomly teleported to &c%{_randomtp}%&7!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement