2022-01-09 17:35:47 +00:00
|
|
|
|
2022-01-09 17:08:46 +00:00
|
|
|
command /sethubloc:
|
|
|
|
permission: op
|
|
|
|
trigger:
|
|
|
|
set {spawnlocation} to location of player
|
|
|
|
message "&3You just set spawn at &3%{spawnlocation}%"
|
|
|
|
|
|
|
|
command /hub:
|
|
|
|
trigger:
|
|
|
|
teleport player to location of {spawnlocation}
|
|
|
|
message "&6Teleported you to spawn!"
|
|
|
|
|
|
|
|
command /setdungeontp:
|
|
|
|
permission: op
|
|
|
|
trigger:
|
|
|
|
set {dungeonspawn} to location of player
|
|
|
|
message "&3Dungeon spawn location set at &c%{dungeonspawn}%"
|
|
|
|
|
|
|
|
command /dungeon:
|
|
|
|
trigger:
|
|
|
|
teleport player to location of {dungeonspawn}
|
|
|
|
message "&6Teleported to the Dungeon."
|
2022-01-09 17:35:47 +00:00
|
|
|
|
|
|
|
command /gameupdate:
|
|
|
|
permission: helixu.gameupdate
|
|
|
|
trigger:
|
|
|
|
broadcast "&eThis server will restart soon: &bFor a game update"
|
|
|
|
broadcast "&eYou have &a30 seconds &eto brace yourself!"
|
|
|
|
loop all players:
|
2022-01-09 17:51:13 +00:00
|
|
|
send title "&e&lSERVER REBOOT!" with subtitle "&aFor a game update &7(in &e30s&7)" to loop-player
|
2022-01-09 17:35:47 +00:00
|
|
|
wait 20 seconds
|
|
|
|
broadcast "&eThis server will restart soon: &bFor a game update"
|
|
|
|
broadcast "&c&lIn 10 seconds!"
|
|
|
|
wait 5 seconds
|
2022-01-09 17:51:13 +00:00
|
|
|
broadcast "&eThis server will restart in &c&l5"
|
2022-01-09 17:35:47 +00:00
|
|
|
wait 1 seconds
|
2022-01-09 17:51:13 +00:00
|
|
|
broadcast "&eThis server will restart in &c&l4"
|
2022-01-09 17:35:47 +00:00
|
|
|
wait 1 seconds
|
2022-01-09 17:51:13 +00:00
|
|
|
broadcast "&eThis server will restart in &c&l3"
|
2022-01-09 17:35:47 +00:00
|
|
|
wait 1 seconds
|
2022-01-09 17:51:13 +00:00
|
|
|
broadcast "&eThis server will restart in &c&l2"
|
2022-01-09 17:35:47 +00:00
|
|
|
wait 1 seconds
|
2022-01-09 17:51:13 +00:00
|
|
|
broadcast "&eThis server will restart in &c&l1"
|
2022-01-09 17:35:47 +00:00
|
|
|
wait 1 seconds
|
|
|
|
make console execute command "kickall &cThis server is restarting &bFor a game update."
|
|
|
|
make console execute command "stop"
|
|
|
|
|
|
|
|
command /srestart:
|
|
|
|
permission: helixu.srestart
|
2022-01-09 17:51:13 +00:00
|
|
|
trigger:
|
2022-01-09 17:35:47 +00:00
|
|
|
broadcast "&eThis server will restart soon: &bForced Reboot"
|
|
|
|
broadcast "&eYou have &a30 seconds &eto brace yourself!"
|
|
|
|
loop all players:
|
2022-01-09 17:51:13 +00:00
|
|
|
send title "&e&lSERVER REBOOT!" with subtitle "&aForced Reboot &7(in &e30s&7)" to loop-player
|
2022-01-09 17:35:47 +00:00
|
|
|
wait 20 seconds
|
|
|
|
broadcast "&eThis server will restart soon: &bForced Reboot"
|
|
|
|
broadcast "&c&lIn 10 seconds!"
|
|
|
|
wait 5 seconds
|
2022-01-09 17:51:13 +00:00
|
|
|
broadcast "&eThis server will restart in &c&l5"
|
2022-01-09 17:35:47 +00:00
|
|
|
wait 1 seconds
|
2022-01-09 17:51:13 +00:00
|
|
|
broadcast "&eThis server will restart in &c&l4"
|
2022-01-09 17:35:47 +00:00
|
|
|
wait 1 seconds
|
2022-01-09 17:51:13 +00:00
|
|
|
broadcast "&eThis server will restart in &c&l3"
|
2022-01-09 17:35:47 +00:00
|
|
|
wait 1 seconds
|
2022-01-09 17:51:13 +00:00
|
|
|
broadcast "&eThis server will restart in &c&l2"
|
2022-01-09 17:35:47 +00:00
|
|
|
wait 1 seconds
|
2022-01-09 17:51:13 +00:00
|
|
|
broadcast "&eThis server will restart in &c&l1"
|
2022-01-09 17:35:47 +00:00
|
|
|
wait 1 seconds
|
|
|
|
make console execute command "kickall &cThis server is restarting."
|
2022-01-09 17:51:13 +00:00
|
|
|
make console execute command "stop"
|