yozora_1202

Untitled

Jul 26th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.81 KB | None | 0 0
  1. on join:
  2. broadcast "&8&l[&e&l+&8&l]&a%player%"
  3.  
  4. on quit
  5. broadcast "&8&l[&e&l-&8&l]&a%player%"
  6.  
  7. Options:
  8. Version: 1.1
  9.  
  10.  
  11. # (! QUICK NOTE AS WELL FOR THE DIFFERENT STAFF PARTS YOU WILL NEED TO REMOVE THE "#" FOR IT TO WORK !)
  12.  
  13.  
  14.  
  15.  
  16. #
  17. # W E L C O M E T O
  18. #
  19. # P I C K A X E L E V E L L I N G
  20. #
  21. # C R E A T E D B Y : J A C K | I P A R I S
  22. #
  23. # (! Below is the configuration settings you may edit them !)
  24.  
  25.  
  26. Options:
  27. GUIName: Staff
  28. # The name of the GUI
  29. MainGlassColour: white glass
  30. # The main colour of glass
  31. SecondGlassColour: gray glass
  32. # The second colour of glass
  33.  
  34. # THIS IS THE STAFF BIT
  35.  
  36. Owner1: Bulmsy
  37. Owner2: CHANGE
  38. Admin1: THESE
  39. Admin2: BITS
  40. Mod1: TO
  41. Mod2: PLAYER
  42. Dev1: NAMES
  43. Dev2: FROM
  44. Helper1: IN
  45. Helper2: GAME
  46. # 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
  47.  
  48.  
  49.  
  50. # (! Please don't edit the settings below unless you know what you are doing !)
  51.  
  52.  
  53.  
  54.  
  55. on join:
  56. if player is "{@Owner1}":
  57. set {Owner1} to "&a&lONLINE"
  58. if player is "{@Owner2}":
  59. set {Owner2} to "&a&lONLINE"
  60. if player is "{@Admin1}":
  61. set {Admin1} to "&a&lONLINE"
  62. if player is "{@Admin2}":
  63. set {Admin2} to "&a&lONLINE"
  64. if player is "{@Mod1}":
  65. set {Mod1} to "&a&lONLINE"
  66. if player is "{@Mod2}":
  67. set {Mod2} to "&a&lONLINE"
  68. if player is "{@Dev1}":
  69. set {Dev1} to "&a&lONLINE"
  70. if player is "{@Dev2}":
  71. set {Dev2} to "&a&lONLINE"
  72. if player is "{@Helper1}":
  73. set {Helper1} to "&a&lONLINE"
  74. if player is "{@Helper2}":
  75. set {Helper2} to "&a&lONLINE"
  76. on disconnect:
  77. if player is "{@Owner1}":
  78. set {Owner1} to "&c&lOFFLINE"
  79. if player is "{@Owner2}":
  80. set {Owner2} to "&c&lOFFLINE"
  81. if player is "{@Admin1}":
  82. set {Admin1} to "&c&lOFFLINE"
  83. if player is "{@Admin2}":
  84. set {Admin2} to "&c&lOFFLINE"
  85. if player is "{@Mod1}":
  86. set {Mod1} to "&c&lOFFLINE"
  87. if player is "{@Mod2}":
  88. set {Mod2} to "&c&lOFFLINE"
  89. if player is "{@Dev1}":
  90. set {Dev1} to "&c&lOFFLINE"
  91. if player is "{@Dev2}":
  92. set {Dev2} to "&c&lOFFLINE"
  93. if player is "{@Helper1}":
  94. set {Helper1} to "&c&lOFFLINE"
  95. if player is "{@Helper2}":
  96. set {Helper2} to "&c&lOFFLINE"
  97.  
  98. command /staff:
  99. trigger:
  100. wait 5 ticks
  101. set {_head1} to "{@Owner1}" parsed as offline player
  102. set {_head2} to "{@Owner2}" parsed as offline player
  103. set {_head3} to "{@Admin1}" parsed as offline player
  104. set {_head4} to "{@Admin2}" parsed as offline player
  105. set {_head5} to "{@Mod1}" parsed as offline player
  106. set {_head6} to "{@Mod2}" parsed as offline player
  107. set {_head7} to "{@Dev1}" parsed as offline player
  108. set {_head8} to "{@Dev2}" parsed as offline player
  109. set {_head9} to "{@Helper1}" parsed as offline player
  110. set {_head10} to "{@Helper2}" parsed as offline player
  111. open chest with 5 rows named "{@GUIName}" to player
  112. wait 1 ticks
  113. format slot 0 of player with {@MainGlassColour} named "&a" to be unstealable
  114. wait 1 tick
  115. format slot 1 of player with {@MainGlassColour} named "&a" to be unstealable
  116. wait 1 tick
  117. format slot 2 of player with {@SecondGlassColour} named "&a" to be unstealable
  118. wait 1 tick
  119. format slot 3 of player with {@SecondGlassColour} named "&a" to be unstealable
  120. wait 1 tick
  121. format slot 4 of player with {@MainGlassColour} named "&a" to be unstealable
  122. wait 1 tick
  123. format slot 5 of player with {@SecondGlassColour} named "&a" to be unstealable
  124. wait 1 tick
  125. format slot 6 of player with {@SecondGlassColour} named "&a" to be unstealable
  126. wait 1 tick
  127. format slot 7 of player with {@MainGlassColour} named "&a" to be unstealable
  128. wait 1 tick
  129. format slot 8 of player with {@MainGlassColour} named "&a" to be unstealable
  130. wait 1 tick
  131. format slot 9 of player with {@MainGlassColour} named "&a" to be unstealable
  132. wait 1 tick
  133. 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
  134. wait 1 tick
  135. 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
  136. wait 1 tick
  137. format slot 17 of player with {@MainGlassColour} named "&a" to be unstealable
  138. wait 1 tick
  139. format slot 18 of player with {@SecondGlassColour} named "&a" to be unstealable
  140. wait 1 tick
  141. 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
  142. wait 1 tick
  143. 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
  144. wait 1 tick
  145. 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
  146. wait 1 tick
  147. 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
  148. wait 1 tick
  149. format slot 26 of player with {@SecondGlassColour} named "&a" to be unstealable
  150. wait 1 tick
  151. format slot 27 of player with {@MainGlassColour} named "&a" to be unstealable
  152. wait 1 tick
  153. 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
  154. wait 1 tick
  155. 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
  156. wait 1 tick
  157. 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
  158. wait 1 tick
  159. 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
  160. wait 1 tick
  161. format slot 35 of player with {@MainGlassColour} named "&a" to be unstealable
  162. wait 1 tick
  163. format slot 36 of player with {@MainGlassColour} named "&a" to be unstealable
  164. wait 1 tick
  165. format slot 37 of player with {@MainGlassColour} named "&a" to be unstealable
  166. wait 1 tick
  167. format slot 38 of player with {@SecondGlassColour} named "&a" to be unstealable
  168. wait 1 tick
  169. format slot 39 of player with {@SecondGlassColour} named "&a" to be unstealable
  170. wait 1 tick
  171. format slot 40 of player with {@MainGlassColour} named "&a" to be unstealable
  172. wait 1 tick
  173. format slot 41 of player with {@SecondGlassColour} named "&a" to be unstealable
  174. wait 1 tick
  175. format slot 42 of player with {@SecondGlassColour} named "&a" to be unstealable
  176. wait 1 tick
  177. format slot 43 of player with {@MainGlassColour} named "&a" to be unstealable
  178. wait 1 tick
  179. format slot 44 of player with {@MainGlassColour} named "&a" to be unstealable
  180.  
  181.  
  182. command /name:
  183. trigger:
  184. send "%displayername%"
  185. send "%player's displayname%"
  186.  
  187. on skript stop:
  188. delete {moderator::*}
  189. delete {admin::*}
  190. delete {player::*}
  191. delete {owner::*}
  192. on skript start:
  193. delete {moderator::*}
  194. delete {admin::*}
  195. delete {player::*}
  196. delete {owner::*}
  197. on join:
  198. if player has permission "darkcheat.moderator":
  199. add player to {moderator::*}
  200. if player has permission "darkcheat.admin":
  201. add player to {admin::*}
  202. if player has permission "darkcheat.player":
  203. add player to {player::*}
  204. if player has permission "darkcheat.*":
  205. add player to {owner::*}
  206. remove player from {moderator::*}
  207. remove player from {admin::*}
  208. remove player from {player::*}
  209. on kick:
  210. if player has permission "darkcheat.moderator":
  211. remove player from {moderator::*}
  212. if player has permission "darkcheat.admin":
  213. remove player from {admin::*}
  214. if player has permission "darkcheat.*":
  215. remove player from {owner::*}
  216. if player has permission "darkcheat.player":
  217. remove player from {player::*}
  218. if {vanish.%player%} = 1:
  219. remove invisibility from player
  220. set {vanish.%player%} to 0
  221. reveal player to all players
  222. on quit:
  223. if player has permission "darkcheat.moderator":
  224. remove player from {moderator::*}
  225. if player has permission "darkcheat.admin":
  226. remove player from {admin::*}
  227. if player has permission "darkcheat.*":
  228. remove player from {owner::*}
  229. if player has permission "darkcheat.player":
  230. remove player from {player::*}
  231. if {vanish.%player%} = 1:
  232. remove invisibility from player
  233. set {vanish.%player%} to 0
  234. reveal player to all players
  235. on pickup:
  236. if {staffmode.%player%} is true:
  237. cancel event
  238. send "&7[&c!&7] &cYou may not pickup items while in Staff Mode."
  239. on jump:
  240. if {%player%.ss} is true:
  241. cancel event
  242. teleport player to {_ss.coords.%player%}
  243. on inventory click:
  244. if {staffmode.%player%} is true:
  245. cancel event
  246. send "&7[&c!&7] &cYou may not edit this inventory."
  247. on damage of a player:
  248. if {staffmode.%attacker%} is true:
  249. cancel event
  250. send "&7[&c!&7] &cYou may not damage this player while in this mode." to attacker
  251. if {staffmode.%victim%} is true:
  252. cancel event
  253. send "&7[&c!&7] &cYou may not damage this player." to attacker
  254. on build:
  255. if {staffmode.%player%} is true:
  256. cancel event
  257. send "&7[&c!&7] &cYou may not build while in Staff Mode."
  258. if {%player%.ss} is true:
  259. cancel event
  260. send "&7[&c!&7] &cYou are currently frozen by a staff member."
  261. on break:
  262. if {staffmode.%player%} is true:
  263. cancel event
  264. send "&7[&c!&7] &cYou may not build while in Staff Mode."
  265. if {%player%.ss} is true:
  266. cancel event
  267. send "&7[&c!&7] &cYou are currently frozen by a staff member."
  268.  
  269.  
  270.  
  271. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[COMMANDS]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
  272. command /list [<text>]:
  273. description: Detailed list of the players!
  274. permission: darkcheat.player
  275. permission message: {servername} &cYou do not have access to this command!
  276. executable by: players and console
  277. trigger:
  278. if arg 1 is not set:
  279. send "&7Players:" to player
  280. send "&7%{player::*}%" to player
  281. send "&7Moderators:" to player
  282. send "&c%{moderator::*}%" to player
  283. send "&7Admins:" to player
  284. send "&c%{admin::*}%" to player
  285. send "&7Owners:" to player
  286. send "&b%{owner::*}%" to player
  287. if arg 1 is "players":
  288. send "&7Players:" to player
  289. send "&7%{player::*}%" to player
  290. if arg 1 is "moderators":
  291. send "&7Moderators:" to player
  292. send "&c%{moderator::*}%" to player
  293. if arg 1 is "admins":
  294. send "&7Admins:" to player
  295. send "&c%{admin::*}%" to player
  296. if arg 1 is "owners":
  297. send "&7Owners:" to player
  298. send "&b%{owner::*}%" to player
  299.  
  300. #+------------------------------------------------------+
  301. #| PlayerCommandLog |
  302. #+------------------------------------------------------+
  303. #
  304.  
  305.  
  306. options:
  307. prefix: &b&l[&7&l>>&e&lcmd-log&7&l<<<&b&l]&a&l
  308. on command:
  309. loop all players:
  310. if loop-player has permission "sk.admin":
  311. if {log.%loop-player%} is not set:
  312. set {log.%loop-player%} to true
  313. if {log.%loop-player%} is true:
  314. if player is not set:
  315. stop
  316. message " {@prefix} &7%player%: /%full command%" to loop-player
  317. command /cmd [<text>]:
  318. permission: sk.cmd
  319. trigger:
  320. if arg-1 is set:
  321. if arg-1 is "on":
  322. set {log.%player%} to true
  323. message " {@prefix}&7Log表示を&aon&7にしました。"
  324. stop
  325. if arg-1 is "off":
  326. set {log.%player%} to false
  327. message " {@prefix}&7Log表示を&coff&7にしました。"
  328. stop
  329. else:
  330. message "{@prefix}&7/cmd <on,off>"
  331. #Ip-Checker#
  332. #指定したプレイヤーのipをチェックします。同一のIPがあった場合、そのプレイヤーのIDも表示されます。#
  333. command /aip [<offline player>]:
  334. permission: Command.IP
  335. permission message: &cパーミッションがありません。
  336. trigger:
  337. if arg is not set:
  338. message "&a[IP-log]&ePlayer名を記入してください。"
  339. stop
  340. if arg is "all":
  341. loop all players:
  342. set {ip::%loop-player%} to ip of loop-player
  343. message "&a[IP-log]&b---------------------------------------------"
  344. message "&a[IP-log]&e%loop-player%'sIP&a: &6%{ip::%loop-player%}%" to player
  345. loop {ip::*}:
  346. if {ip::%loop-index%} is {ip::%loop-player%}:
  347. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
  348. else:
  349. set {ip::%arg%} to ip of argument
  350. message "&a[IP-log]&e%arg%'sIP&a: &6%{ip::%arg%}%"
  351. loop {ip::*}:
  352. if {ip::%loop-index%} is {ip::%arg%}:
  353. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
  354. on join:
  355. set {ip::%player%} to ip of player
  356. loop all players:
  357. if loop-player has permission "sk.admin":
  358. message "&a[IP-log]&e%player%'sIP&a: &6%{ip::%player%}%" to loop-player
  359. loop {ip::*}:
  360. if {ip::%loop-index%} is {ip::%player%}:
  361. message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%" to loop-player
  362. command /aipreset [<offline player>]:
  363. permission: command.ip.reset
  364. trigger:
  365. send "&c%arg%さんのIP&a: &e%{ip::%arg%}% &cをリセットしました"
  366. clear {ip::%arg%}
Add Comment
Please, Sign In to add comment