Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {world.%player%} = "False"
- {world::list} = 0
- {worlds::list::list} = "None"
- {time.%player%} = "False"
- {pvp.%player%} = "False"
- {mobs.%player%} = "False"
- {mobsgriefing.%player%} = "False"
- {animals.%player%} = "False"
- on quit:
- if {world.%player%} is "True":
- remove 1 from {world::list}
- if {world.%player%} is "False":
- stop
- command /stop:
- trigger:
- set {world::list} to 0
- on skript stop:
- make console execute "world worlds"
- command /timeworld:
- trigger:
- if {time.%player%} is "False":
- send "&8» &7You have set the time to &eday" to player
- make console execute command "time set day world-%player%"
- set {time.%player%} to "True"
- stop
- if {time.%player%} is "True":
- send "&8» &7You have set the time to &enight" to player
- make console execute command "time set night world-%player%"
- delete {time.%player%}
- stop
- command /pvpworld:
- trigger:
- if {pvp.%player%} is "False":
- send "&8» &7Pvp has been enabled" to player
- make console execute command "mv modify set pvp true world-%player%"
- set {pvp.%player%} to "True"
- stop
- if {pvp.%player%} is "True":
- send "&8» &7Pvp has been disabled" to player
- make console execute command "mv modify set pvp false world-%player%"
- delete {pvp.%player%}
- stop
- command /mobsworld:
- trigger:
- if {mobs.%player%} is "False":
- send "&8» &7Mob spawning has been enabled" to player
- make console execute command "mv modify set monsters true world-%player%"
- set {mobs.%player%} to "True"
- stop
- if {mobs.%player%} is "True":
- send "&8» &7Mob spawning has been disabled" to player
- make console execute command "mv modify set monsters false world-%player%"
- delete {mobs.%player%}
- stop
- command /animalsworld:
- trigger:
- if {animals.%player%} is "False":
- send "&8» &7Animal spawning has been enabled" to player
- make console execute command "mv modify set animals true world-%player%"
- set {animals.%player%} to "True"
- stop
- if {animals.%player%} is "True":
- send "&8» &7Animal spawning has been disabled" to player
- make console execute command "mv modify set animals false world-%player%"
- delete {animals.%player%}
- stop
- command /mobsgriefingworld:
- trigger:
- if {mobsgriefing.%player%} is "False":
- send "&8» &7Mob griefing has been enabled" to player
- make console execute command "mv gamerule mobGriefing true world-%player%"
- set {mobsgriefing.%player%} to "True"
- stop
- if {mobsgriefing.%player%} is "True":
- send "&8» &7Mob griefing has been disabled" to player
- make console execute command "mv gamerule mobGriefing false world-%player%"
- delete {mobsgriefing.%player%}
- stop
- command /spawn:
- trigger:
- set the player's gamemode to survival
- send "&8» &7Sent you to the spawn"
- teleport player to {spawn}
- remove player from {worlds::list::list}
- remove 1 from {world::list}
- remove 1 clock named "&b&lWorld Manager &8[&e%player%&8]" with lore "&8» &7Right click to open the world manager" from player
- on walking on black concrete:
- make player execute command "/world create"
- on rightclick:
- player is holding clock named "&b&lWorld Manager &8[&e%player%&8]" with lore "&8» &7Right click to open the world manager"
- make player execute command "/world"
- command /world [<text>] [<offlineplayer>]:
- permission: world.world
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- open chest with 3 row named "&8» &7World Managment" to player
- wait 5 tick
- format slot 0 of player with gray glass pane named "" to be unstealable
- format slot 1 of player with gray glass pane named "" to be unstealable
- format slot 2 of player with gray glass pane named "" to be unstealable
- format slot 3 of player with gray glass pane named "" to be unstealable
- format slot 4 of player with barrier named "&8» &7Reset your private world" with lore "" to close then run [player command "world reset"]
- format slot 5 of player with gray glass pane named "" to be unstealable
- format slot 6 of player with gray glass pane named "" to be unstealable
- format slot 7 of player with gray glass pane named "" to be unstealable
- format slot 8 of player with gray glass pane named "" to be unstealable
- format slot 9 of player with compass named "&8» &7Create a private world" with lore "" to close then run [player command "world create"]
- 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"]
- format slot 11 of player with grass named "&8» &7Set spawn" with lore "" to close then run [player command "world setspawn"]
- format slot 12 of player with clock named "&8» &7Time night/day" with lore "" to close then run [player command "timeworld"]
- format slot 13 of player with diamond sword named "&8» &7Pvp enable/disable" with lore "" to close then run [player command "pvpworld"]
- format slot 14 of player with spawn egg named "&8» &7Mob spawning enable/disable" with lore "" to close then run [player command "mobsworld"]
- format slot 15 of player with tnt named "&8» &7Mob griefing enable/disable" with lore "" to close then run [player command "mobsgriefingworld"]
- format slot 16 of player with steak named "&8» &7Animals spawning enable/disable" with lore "" to close then run [player command "animalsworld"]
- format slot 18 of player with gray glass pane named "" to be unstealable
- format slot 19 of player with gray glass pane named "" to be unstealable
- format slot 20 of player with gray glass pane named "" to be unstealable
- format slot 21 of player with gray glass pane named "" to be unstealable
- format slot 22 of player with gray glass pane named "" to be unstealable
- format slot 23 of player with gray glass pane named "" to be unstealable
- format slot 24 of player with gray glass pane named "" to be unstealable
- format slot 25 of player with gray glass pane named "" to be unstealable
- format slot 26 of player with gray glass pane named "" to be unstealable
- if arg 1 is "create":
- if {world.%player%} is "True":
- send "&8» &7You already have a private world"
- stop
- set {world.%player%} to "True"
- add player to {worlds::list::list}
- add 1 to {world::list}
- send "&8» &7Generating your private world..... &8[&a14%%&8]"
- wait 1 second
- send "&8» &7Generating your private world..... &8[&a35%%&8]"
- wait 1 second
- send "&8» &7Generating your private world..... &8[&a56%%&8]"
- wait 1 second
- send "&8» &7Generating your private world..... &8[&a72%%&8]"
- wait 1 second
- send "&8» &7Generating your private world..... &8[&a86%%&8]"
- wait 1 second
- send "&8» &7Generating your private world..... &8[&a94%%&8]"
- wait 1 second
- send "&8» &7Generating your private world..... &8[&a100%%&8]"
- wait 1 second
- make console execute command "/mv create world-%player% normal -t flat"
- make console execute command "/mv confirm"
- make console execute command "/mv tp %player% world-%player%"
- 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"
- set the player's gamemode to creative
- wait 2 seconds
- set {spawn.%player%} to location of player
- if arg 1 is "reset":
- if {world.%player%} is "False":
- send "&8» &7You do not have a world to reset"
- stop
- remove 1 from {world::list}
- remove player from {worlds::list::list}
- set {world.%player%} to "False"
- send "&8» &7Resetting your private world..... &8[&a14%%&8]"
- wait 1 second
- send "&8» &7Resetting your private world..... &8[&a35%%&8]"
- wait 1 second
- send "&8» &7Resetting your private world..... &8[&a56%%&8]"
- wait 1 second
- send "&8» &7Resetting your private world..... &8[&a72%%&8]"
- wait 1 second
- send "&8» &7Resetting your private world..... &8[&a86%%&8]"
- wait 1 second
- send "&8» &7Resetting your private world..... &8[&a94%%&8]"
- wait 1 second
- send "&8» &7Resetting your private world..... &8[&a100%%&8]"
- wait 1 second
- make console execute command "/mv delete world-%player%"
- make console execute command "/mv confirm"
- delete {spawn.%player%}
- teleport player to {spawn}
- set the player's gamemode to survival
- remove 1 clock named "&b&lWorld Manager &8[&e%player%&8]" with lore "&8» &7Right click to open the world manager" from player
- set {world.%player%} to "False"
- if arg 1 is "tp" or "teleport":
- if arg 2 is not set:
- if {world.%player%} is "False":
- send "&8» &7You do not have a private world"
- stop
- set the player's gamemode to creative
- add player to {worlds::list::list}
- add 1 to {world::list}
- 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"
- send "&8» &7Welcome back to your private world"
- teleport player to {spawn.%player%}
- if arg 1 is "tp" or "teleport":
- if arg 2 is set:
- if {locked.world.%arg 2%} is "True":
- send "&8» &7That player has locked there world"
- stop
- if {world.%arg 2%} is "False":
- send "&8» &7That player does not have a world"
- stop
- remove 1 from {world::list}
- set the player's gamemode to adventure
- remove player from {worlds::list::list}
- remove 1 clock named "&b&lWorld Manager &8[&e%player%&8]" with lore "&8» &7Right click to open the world manager" from player
- send "&8» &7You have teleport to &e%arg 2%'s &7world"
- teleport player to {spawn.%arg 2%}
- if arg 1 is "lock":
- if {world.%player%} is "False":
- send "&8» &7You do not have a private world"
- stop
- send "&8» &7You have locked your private world"
- set {locked.world.%player%} to "True"
- if arg 1 is "unlock":
- if {world.%player%} is "False":
- send "&8» &7You do not have a private world"
- stop
- send "&8» &7You have unlocked your private world"
- set {locked.world.%player%} to "False"
- if arg 1 is "worlds":
- send "&8» &7You have reset the worlds list scoreboard"
- set {world::list} to 0
- if arg 1 is "setspawn":
- if {world.%player%} is "False":
- send "&8» &7You do not have a world to setspawn"
- if the player's world is "world-%player%":
- send "&8» &7You have set your world spawn"
- set {spawn.%player%} to location of player
- if the player's is not "world-%player%":
- send "&8» &7You have to be in your own world to setspawn"
- options:
- # Scoreboard
- Title: &a &8🡺 &e&lSKYLINE &8🡸 &7
- # The lines, you can use %{rank.%loop-player%}% for the users group, %balance of loop-player% for their balance, and %player% for their name.
- Line1: &f
- Line2: &8» &7Rank: &c[W.I.P]
- Line3: &8» &7Name: &e%loop-player%
- Line4: &b
- Line5: &8» &7Credits: &e%{credits::%loop-player%}%
- Line6: &8» &7Worlds: &e%{world::list}%
- Line7: &d
- Line8: &8» &7IP: &eSkyline.minehut.gg
- Line9: &3
- #ScoreBoard (You can add lines)
- every second:
- loop all players:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "{@Title}"
- set score "{@Line1}" in sidebar of loop-player to 9
- set score "{@Line2}" in sidebar of loop-player to 8
- set score "{@Line3}" in sidebar of loop-player to 7
- set score "{@Line4}" in sidebar of loop-player to 6
- set score "{@Line5}" in sidebar of loop-player to 5
- set score "{@Line6}" in sidebar of loop-player to 4
- set score "{@Line7}" in sidebar of loop-player to 3
- set score "{@Line8}" in sidebar of loop-player to 2
- set score "{@Line9}" in sidebar of loop-player to 1
- command /staff:
- description: Shows online staff
- trigger:
- loop all players:
- loop-player has permission "staff.list"
- add loop-player to {_online staff::*}
- size of {_online staff::*} is 0:
- message "&8» &7There are no staff currently online! Happy griefing ;)"
- else:
- message "&8» &7Online staff: &e%{_online staff::*}%"
Advertisement
Add Comment
Please, Sign In to add comment