Oxalist

Untitled

Feb 10th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.31 KB | None | 0 0
  1. variables:
  2. {world.%player%} = "False"
  3. {world::list} = 0
  4. {worlds::list::list} = "None"
  5. {time.%player%} = "False"
  6. {pvp.%player%} = "False"
  7. {mobs.%player%} = "False"
  8. {mobsgriefing.%player%} = "False"
  9. {animals.%player%} = "False"
  10. {world.online.%player%} = "No"
  11. {opped.%player%} = "False"
  12. {banned.%player%} = "False"
  13.  
  14. on script load:
  15. set {Featured1} to skull named "&e1) &7%arg 2$"
  16.  
  17. on quit:
  18. if {world.%player%} is "True":
  19. remove 1 from {world::list}
  20. if {world.%player%} is "False":
  21. stop
  22.  
  23. command /stop:
  24. trigger:
  25. set {world::list} to 0
  26.  
  27. on skript stop:
  28. make console execute "world worlds"
  29.  
  30.  
  31.  
  32. command /timeworld:
  33. trigger:
  34. if {time.%player%} is "False":
  35. send "&8» &7You have set the time to &eday" to player
  36. make console execute command "time set day world-%player%"
  37. set {time.%player%} to "True"
  38. stop
  39. if {time.%player%} is "True":
  40. send "&8» &7You have set the time to &enight" to player
  41. make console execute command "time set night world-%player%"
  42. delete {time.%player%}
  43. stop
  44. command /pvpworld:
  45. trigger:
  46. if {pvp.%player%} is "False":
  47. send "&8» &7Pvp has been enabled" to player
  48. make console execute command "mv modify set pvp true world-%player%"
  49. set {pvp.%player%} to "True"
  50. stop
  51. if {pvp.%player%} is "True":
  52. send "&8» &7Pvp has been disabled" to player
  53. make console execute command "mv modify set pvp false world-%player%"
  54. delete {pvp.%player%}
  55. stop
  56. command /mobsworld:
  57. trigger:
  58. if {mobs.%player%} is "False":
  59. send "&8» &7Mob spawning has been enabled" to player
  60. make console execute command "mv modify set monsters true world-%player%"
  61. set {mobs.%player%} to "True"
  62. stop
  63. if {mobs.%player%} is "True":
  64. send "&8» &7Mob spawning has been disabled" to player
  65. make console execute command "mv modify set monsters false world-%player%"
  66. delete {mobs.%player%}
  67. stop
  68. command /animalsworld:
  69. trigger:
  70. if {animals.%player%} is "False":
  71. send "&8» &7Animal spawning has been enabled" to player
  72. make console execute command "mv modify set animals true world-%player%"
  73. set {animals.%player%} to "True"
  74. stop
  75. if {animals.%player%} is "True":
  76. send "&8» &7Animal spawning has been disabled" to player
  77. make console execute command "mv modify set animals false world-%player%"
  78. delete {animals.%player%}
  79. stop
  80. command /mobsgriefingworld:
  81. trigger:
  82. if {mobsgriefing.%player%} is "False":
  83. send "&8» &7Mob griefing has been enabled" to player
  84. make console execute command "mv gamerule mobGriefing true world-%player%"
  85. set {mobsgriefing.%player%} to "True"
  86. stop
  87. if {mobsgriefing.%player%} is "True":
  88. send "&8» &7Mob griefing has been disabled" to player
  89. make console execute command "mv gamerule mobGriefing false world-%player%"
  90. delete {mobsgriefing.%player%}
  91. stop
  92.  
  93. command /spawn:
  94. trigger:
  95. set the player's gamemode to survival
  96. send "&8» &7Sent you to the spawn"
  97. teleport player to {spawn}
  98. set {world.online.%player%} to "No"
  99. remove player from {worlds::list::list}
  100. remove 1 from {world::list}
  101. remove 1 clock named "&b&lWorld Manager &8[&e%player%&8]" with lore "&8» &7Right click to open the world manager" from player
  102.  
  103. on walking on black concrete:
  104. make player execute command "/world create"
  105.  
  106. on rightclick:
  107. player is holding clock named "&b&lWorld Manager &8[&e%player%&8]" with lore "&8» &7Right click to open the world manager"
  108. make player execute command "/world"
  109.  
  110.  
  111. command /world [<text>] [<offlineplayer>]:
  112. permission: world.world
  113. trigger:
  114. if arg 1 is not set:
  115. if arg 2 is not set:
  116. open chest with 3 row named "&8» &7World Managment" to player
  117. wait 5 tick
  118. play "block_note_pling" to player
  119. format slot 0 of player with gray glass pane named "" to be unstealable
  120. format slot 1 of player with gray glass pane named "" to be unstealable
  121. format slot 2 of player with gray glass pane named "" to be unstealable
  122. format slot 3 of player with gray glass pane named "" to be unstealable
  123. format slot 4 of player with barrier named "&8» &7Reset your private world" with lore "" to close then run [player command "world reset"]
  124. format slot 5 of player with gray glass pane named "" to be unstealable
  125. format slot 6 of player with gray glass pane named "" to be unstealable
  126. format slot 7 of player with gray glass pane named "" to be unstealable
  127. format slot 8 of player with gray glass pane named "" to be unstealable
  128. format slot 9 of player with compass named "&8» &7Create a private world" with lore "" to close then run [player command "world create"]
  129. format slot 10 of player with ender pearl named "&8» &7Teleport to your world spawn" with lore "" to close then run [player command "world teleport"]
  130. format slot 11 of player with grass named "&8» &7Set spawn" with lore "" to close then run [player command "world setspawn"]
  131. format slot 12 of player with clock named "&8» &7Time night/day" with lore "" to close then run [player command "timeworld"]
  132. format slot 13 of player with diamond sword named "&8» &7Pvp enable/disable" with lore "" to close then run [player command "pvpworld"]
  133. format slot 14 of player with spawn egg named "&8» &7Mob spawning enable/disable" with lore "" to close then run [player command "mobsworld"]
  134. format slot 15 of player with tnt named "&8» &7Mob griefing enable/disable" with lore "" to close then run [player command "mobsgriefingworld"]
  135. format slot 16 of player with steak named "&8» &7Animals spawning enable/disable" with lore "" to close then run [player command "animalsworld"]
  136. format slot 18 of player with gray glass pane named "" to be unstealable
  137. format slot 19 of player with gray glass pane named "" to be unstealable
  138. format slot 20 of player with gray glass pane named "" to be unstealable
  139. format slot 21 of player with gray glass pane named "" to be unstealable
  140. format slot 22 of player with gray glass pane named "" to be unstealable
  141. format slot 23 of player with gray glass pane named "" to be unstealable
  142. format slot 24 of player with gray glass pane named "" to be unstealable
  143. format slot 25 of player with gray glass pane named "" to be unstealable
  144. format slot 26 of player with gray glass pane named "" to be unstealable
  145. if arg 1 is "create":
  146. if {world.%player%} is "True":
  147. send "&8» &7You already have a private world"
  148. stop
  149. play "block_note_pling" to player
  150. set {world.%player%} to "True"
  151. add player to {worlds::list::list}
  152. set {world.online.%player%} to "Yes"
  153. add 1 to {world::list}
  154. broadcast "&8» &e%player%'s &7world is being created, might be some lag"
  155. wait 2 seconds
  156. send "&8» &7Generating your private world..... &8[&a14%%&8]"
  157. wait 1 second
  158. send "&8» &7Generating your private world..... &8[&a35%%&8]"
  159. wait 1 second
  160. send "&8» &7Generating your private world..... &8[&a56%%&8]"
  161. wait 1 second
  162. send "&8» &7Generating your private world..... &8[&a72%%&8]"
  163. wait 1 second
  164. send "&8» &7Generating your private world..... &8[&a86%%&8]"
  165. wait 1 second
  166. send "&8» &7Generating your private world..... &8[&a94%%&8]"
  167. wait 1 second
  168. send "&8» &7Generating your private world..... &8[&a100%%&8]"
  169. wait 1 second
  170. make console execute command "/mv create world-%player% normal -t flat"
  171. make console execute command "/mv confirm"
  172. make console execute command "/mv tp %player% world-%player%"
  173. set slot 0 of player to clock named "&b&lWorld Manager &8[&e%player%&8]" with lore "&8» &7Right click to open the world manager"
  174. wait 1 second
  175. set the player's gamemode to creative
  176. wait 2 seconds
  177. set {spawn.%player%} to location of player
  178. if arg 1 is "reset":
  179. if {world.%player%} is "False":
  180. send "&8» &7You do not have a world to reset"
  181. stop
  182. play "block_note_pling" to player
  183. remove 1 from {world::list}
  184. set {world.online.%player%} to "No"
  185. remove player from {worlds::list::list}
  186. set {world.%player%} to "False"
  187. send "&8» &7Resetting your private world..... &8[&a14%%&8]"
  188. wait 1 second
  189. send "&8» &7Resetting your private world..... &8[&a35%%&8]"
  190. wait 1 second
  191. send "&8» &7Resetting your private world..... &8[&a56%%&8]"
  192. wait 1 second
  193. send "&8» &7Resetting your private world..... &8[&a72%%&8]"
  194. wait 1 second
  195. send "&8» &7Resetting your private world..... &8[&a86%%&8]"
  196. wait 1 second
  197. send "&8» &7Resetting your private world..... &8[&a94%%&8]"
  198. wait 1 second
  199. send "&8» &7Resetting your private world..... &8[&a100%%&8]"
  200. wait 1 second
  201. make console execute command "/mv delete world-%player%"
  202. make console execute command "/mv confirm"
  203. delete {spawn.%player%}
  204. teleport player to {spawn}
  205. set the player's gamemode to survival
  206. remove 1 clock named "&b&lWorld Manager &8[&e%player%&8]" with lore "&8» &7Right click to open the world manager" from player
  207. set {world.%player%} to "False"
  208. if arg 1 is "tp" or "teleport":
  209. if arg 2 is not set:
  210. if {world.%player%} is "False":
  211. send "&8» &7You do not have a private world"
  212. stop
  213. play "block_note_pling" to player
  214. set the player's gamemode to creative
  215. add player to {worlds::list::list}
  216. set {world.online.%player%} to "Yes"
  217. add 1 to {world::list}
  218. set slot 0 of player to clock named "&b&lWorld Manager &8[&e%player%&8]" with lore "&8» &7Right click to open the world manager"
  219. send "&8» &7Welcome back to your private world"
  220. teleport player to {spawn.%player%}
  221. if arg 1 is "tp" or "teleport":
  222. if arg 2 is set:
  223. if {locked.world.%arg 2%} is "True":
  224. send "&8» &7That player has locked there world"
  225. stop
  226. if {world.%arg 2%} is "False":
  227. send "&8» &7That player does not have a world"
  228. stop
  229. if {banned.%arg 2%} is "True":
  230. send "&8» &e%player% &7banned you from there world" to arg 2
  231. stop
  232. play "block_note_pling" to player
  233. remove 1 from {world::list}
  234. set {world.online.%player%} to "No"
  235. set the player's gamemode to adventure
  236. remove player from {worlds::list::list}
  237. remove 1 clock named "&b&lWorld Manager &8[&e%player%&8]" with lore "&8» &7Right click to open the world manager" from player
  238. send "&8» &7You have teleport to &e%arg 2%'s &7world"
  239. teleport player to {spawn.%arg 2%}
  240. if arg 1 is "lock":
  241. if {world.%player%} is "False":
  242. send "&8» &7You do not have a private world"
  243. stop
  244. play "block_note_pling" to player
  245. send "&8» &7You have locked your private world"
  246. set {locked.world.%player%} to "True"
  247. if arg 1 is "unlock":
  248. if {world.%player%} is "False":
  249. send "&8» &7You do not have a private world"
  250. stop
  251. play "block_note_pling" to player
  252. send "&8» &7You have unlocked your private world"
  253. set {locked.world.%player%} to "False"
  254. if arg 1 is "worlds":
  255. send "&8» &7You have reset the worlds list scoreboard"
  256. set {world::list} to 0
  257. if arg 1 is "setspawn":
  258. if {world.%player%} is "False":
  259. send "&8» &7You do not have a world to setspawn"
  260. if the player's world is "world-%player%":
  261. play "block_note_pling" to player
  262. send "&8» &7You have set your world spawn"
  263. set {spawn.%player%} to location of player
  264. if the player's is not "world-%player%":
  265. send "&8» &7You have to be in your own world to setspawn"
  266. if arg 1 is "op":
  267. if arg 2 is set:
  268. if {world.%player%} is "False":
  269. send "&8» &7You do not have a world to op that player"
  270. if the player's world is "world-%player%":
  271. play "block_note_pling" to player
  272. send "&8» &7You have opped &e%arg 2%" to player
  273. send "&8» &e%player% &7has opped you from there world" to arg 2
  274. set the arg 2's gamemode to creative
  275. else:
  276. send "&8» &7You have to be in your own world to op players"
  277. stop
  278. if arg 1 is "deop":
  279. if arg 2 is set:
  280. if {world.%player%} is "False":
  281. send "&8» &7You do not have a world to deop that player"
  282. if the player's world is "world-%player%":
  283. play "block_note_pling" to player
  284. send "&8» &7You have deopped &e%arg 2%" to player
  285. send "&8» &e%player% &7has deopped you from there world" to arg 2
  286. set the arg 2's gamemode to adventure
  287. else:
  288. send "&8» &7You have to be in your own world to deop players"
  289. stop
  290. if arg 1 is "help" or "?":
  291. play "block_note_pling" to player
  292. send ""
  293. send "&7 &e&lWORLD HELP&7 "
  294. send ""
  295. send "&8• &e/world create &8» &7Creates a private world"
  296. send "&8• &e/world reset &8» &7Resets your private world"
  297. send "&8• &e/world tp &8» &7Teleport you to your private world"
  298. send "&8• &e/world tp <player> &8» &7Teleport you to other peoples worlds"
  299. send "&8• &e/world setspawn &8» &7Set your own world spawn"
  300. send "&8• &e/world lock &8» &7Locks your private world"
  301. send "&8• &e/world unlock &8» &7Unlocks your private world"
  302. send "&8• &e/world op <player> &8» &7Ops a player in your world &c[GMC'S THEM]"
  303. send "&8• &e/world deop <player> &8» &7Deops a player in your world &c[GMA'S THEM]"
  304. send "&8• &e/world kick <player> &8» &7Kicks a player from your world"
  305. send "&8• &e/world ban <player> &8» &7Bans a player from your world"
  306. send "&8• &e/world unban <player> &8» &7Unbans a player from your world"
  307. send ""
  308. if arg 1 is "kick":
  309. if arg 2 is set:
  310. if {world.%player%} is "False":
  311. send "&8» &7You do not have a world to kick that player"
  312. if the arg 2's world is "world-%player%":
  313. play "block_note_pling" to player
  314. send "&8» &7You have kicked &e%arg 2% &7from your world" to player
  315. send "&8» &e%player% &7has kicked you from there world" to arg 2
  316. teleport arg 2 to {spawn}
  317. else:
  318. send "&8» &7That player is not in your world"
  319. stop
  320. if arg 1 is "ban":
  321. if arg 2 is set:
  322. if {world.%player%} is "False":
  323. send "&8» &7You do not have a world to ban that player"
  324. if the arg 2's world is "world-%player%":
  325. play "block_note_pling" to player
  326. send "&8» &7You have banned &e%arg 2% &7from your world" to player
  327. send "&8» &e%player% &7has banned you from there world" to arg 2
  328. set {banned.%arg 2%} to "True"
  329. else:
  330. send "&8» &7That player is not in your world"
  331. stop
  332. if arg 1 is "unban":
  333. if arg 2 is set:
  334. if {world.%player%} is "False":
  335. send "&8» &7You do not have a world to unban that player"
  336. if {banned.%arg 2%} is "True":
  337. play "block_note_pling" to player
  338. send "&8» &7You have unbanned &e%arg 2% &7from your world" to player
  339. send "&8» &e%player% &7has unbanned you from there world" to arg 2
  340. set {banned.%arg 2%} to "False"
  341. teleport arg 2 to {spawn}
  342. else:
  343. send "&8» &7That player is not in your world"
  344. stop
  345. if arg 1 is "list":
  346. open chest with 3 row named "&8» &7World Managment" to player
  347. wait 5 tick
  348. play "block_note_pling" to player
  349. format slot 0 of player with gray glass pane named "" to be unstealable
  350. format slot 1 of player with gray glass pane named "" to be unstealable
  351. format slot 2 of player with gray glass pane named "" to be unstealable
  352. format slot 3 of player with gray glass pane named "" to be unstealable
  353. format slot 4 of player with barrier named "&8» &7Reset your private world" with lore "" to close then run [player command "world reset"]
  354. format slot 5 of player with gray glass pane named "" to be unstealable
  355. format slot 6 of player with gray glass pane named "" to be unstealable
  356. format slot 7 of player with gray glass pane named "" to be unstealable
  357. format slot 8 of player with gray glass pane named "" to be unstealable
  358. format slot 9 of player with compass named "&8» &7Create a private world" with lore "" to close then run [player command "world create"]
  359. format slot 10 of player with ender pearl named "&8» &7Teleport to your world spawn" with lore "" to close then run [player command "world teleport"]
  360. format slot 11 of player with grass named "&8» &7Set spawn" with lore "" to close then run [player command "world setspawn"]
  361. format slot 12 of player with clock named "&8» &7Time night/day" with lore "" to close then run [player command "timeworld"]
  362. format slot 13 of player with diamond sword named "&8» &7Pvp enable/disable" with lore "" to close then run [player command "pvpworld"]
  363. format slot 14 of player with spawn egg named "&8» &7Mob spawning enable/disable" with lore "" to close then run [player command "mobsworld"]
  364. format slot 15 of player with tnt named "&8» &7Mob griefing enable/disable" with lore "" to close then run [player command "mobsgriefingworld"]
  365. format slot 16 of player with steak named "&8» &7Animals spawning enable/disable" with lore "" to close then run [player command "animalsworld"]
  366. format slot 18 of player with gray glass pane named "" to be unstealable
  367. format slot 19 of player with gray glass pane named "" to be unstealable
  368. format slot 20 of player with gray glass pane named "" to be unstealable
  369. format slot 21 of player with gray glass pane named "" to be unstealable
  370. format slot 22 of player with gray glass pane named "" to be unstealable
  371. format slot 23 of player with gray glass pane named "" to be unstealable
  372. format slot 24 of player with gray glass pane named "" to be unstealable
  373. format slot 25 of player with gray glass pane named "" to be unstealable
  374. format slot 26 of player with gray glass pane named "" to be unstealable
  375.  
  376. Options:
  377. GUIName: Staff
  378.  
  379. MainGlassColour: white glass
  380.  
  381. SecondGlassColour: gray glass
  382.  
  383. command /featured <text> <player> <number>:
  384. trigger:
  385. if arg 1 is not set:
  386. if arg 2 is not set:
  387. if arg 3 is not set:
  388. set {_head1} to "{@Featured1}" parsed as offline player
  389. set {_head2} to "{@Featured2}" parsed as offline player
  390. set {_head3} to "{@Featured3}" parsed as offline player
  391. set {_head4} to "{@Featured4}" parsed as offline player
  392. set {_head5} to "{@Featured5}" parsed as offline player
  393. set {_head6} to "{@Featured6}" parsed as offline player
  394. set {_head7} to "{@Featured7}" parsed as offline player
  395. set {_head8} to "{@Featured8}" parsed as offline player
  396. set {_head9} to "{@Featured9}" parsed as offline player
  397. open chest with 3 rows named "{@GUIName}" to player
  398. format slot 0 of player with gray glass pane named "" to be unstealable
  399. format slot 1 of player with gray glass pane named "" to be unstealable
  400. format slot 2 of player with gray glass pane named "" to be unstealable
  401. format slot 3 of player with gray glass pane named "" to be unstealable
  402. format slot 4 of player with barrier named "&8» &7Reset your private world" with lore "" to close then run [player command "world reset"]
  403. format slot 5 of player with gray glass pane named "" to be unstealable
  404. format slot 6 of player with gray glass pane named "" to be unstealable
  405. format slot 7 of player with gray glass pane named "" to be unstealable
  406. format slot 8 of player with gray glass pane named "" to be unstealable
  407. format slot 9 of player with skull of {_head3} named "&e1) &7{@Featured1} &8Click to teleport" to be unstealable
  408. format slot 9 of player with skull of {_head3} named "&e1) &7{@Featured1} &8Click to teleport" to be unstealable
  409. format slot 18 of player with gray glass pane named "" to be unstealable
  410. format slot 19 of player with gray glass pane named "" to be unstealable
  411. format slot 20 of player with gray glass pane named "" to be unstealable
  412. format slot 21 of player with gray glass pane named "" to be unstealable
  413. format slot 22 of player with gray glass pane named "" to be unstealable
  414. format slot 23 of player with gray glass pane named "" to be unstealable
  415. format slot 24 of player with gray glass pane named "" to be unstealable
  416. format slot 25 of player with gray glass pane named "" to be unstealable
  417. format slot 26 of player with gray glass pane named "" to be unstealable
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432. options:
  433. # Scoreboard
  434. Title: &a &8🡺 &e&lSKYLINE &8🡸 &7
  435.  
  436. # The lines, you can use %{rank.%loop-player%}% for the users group, %balance of loop-player% for their balance, and %player% for their name.
  437. Line1: &f
  438. Line2: &8» &7Rank: &c[W.I.P]
  439. Line3: &8» &7Name: &e%loop-player%
  440. Line4: &b
  441. Line5: &8» &7Credits: &e%{credits::%loop-player%}%
  442. Line6: &8» &7Worlds: &e%{world::list}%
  443. Line7: &d
  444. Line8: &8» &7IP: &eSkyline.minehut.gg
  445. Line9: &3
  446.  
  447. #ScoreBoard (You can add lines)
  448. every second:
  449. loop all players:
  450. wipe loop-player's sidebar
  451. set name of sidebar of loop-player to "{@Title}"
  452. set score "{@Line1}" in sidebar of loop-player to 9
  453. set score "{@Line2}" in sidebar of loop-player to 8
  454. set score "{@Line3}" in sidebar of loop-player to 7
  455. set score "{@Line4}" in sidebar of loop-player to 6
  456. set score "{@Line5}" in sidebar of loop-player to 5
  457. set score "{@Line6}" in sidebar of loop-player to 4
  458. set score "{@Line7}" in sidebar of loop-player to 3
  459. set score "{@Line8}" in sidebar of loop-player to 2
  460. set score "{@Line9}" in sidebar of loop-player to 1
  461.  
  462. command /staff:
  463. description: Shows online staff
  464. trigger:
  465. loop all players:
  466. loop-player has permission "staff.list"
  467. add loop-player to {_online staff::*}
  468.  
  469. size of {_online staff::*} is 0:
  470. message "&8» &7There are no staff currently online! Happy griefing ;)"
  471. else:
  472. message "&8» &7Online staff: &e%{_online staff::*}%"
Advertisement
Add Comment
Please, Sign In to add comment