Update 'HelixuAddons.sk'

This commit is contained in:
Helixu 2022-01-09 17:35:47 +00:00
parent 9748b76d47
commit 02b7ec9b51

View file

@ -1,3 +1,9 @@
on load:
broadcast "&c----------"
broadcast "&cHelixuAddons loaded!"
broadcast "&cModule made by Mizzy#1111/Helixu#1111
broadcast "&c----------"
command /sethubloc:
permission: op
trigger:
@ -19,3 +25,53 @@ command /dungeon:
trigger:
teleport player to location of {dungeonspawn}
message "&6Teleported to the Dungeon."
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:
send loop-player title "&e&lSERVER REBOOT!" with subtitle "&aFor a game update &7(in &e30s&7)
wait 20 seconds
broadcast "&eThis server will restart soon: &bFor a game update"
broadcast "&c&lIn 10 seconds!"
wait 5 seconds
broadcast &eThis server will restart in &c&l5"
wait 1 seconds
broadcast &eThis server will restart in &c&l4"
wait 1 seconds
broadcast &eThis server will restart in &c&l3"
wait 1 seconds
broadcast &eThis server will restart in &c&l2"
wait 1 seconds
broadcast &eThis server will restart in &c&l1"
wait 1 seconds
make console execute command "kickall &cThis server is restarting &bFor a game update."
make console execute command "stop"
command /srestart:
trigger:
permission: helixu.srestart
broadcast "&eThis server will restart soon: &bForced Reboot"
broadcast "&eYou have &a30 seconds &eto brace yourself!"
loop all players:
send loop-player title "&e&lSERVER REBOOT!" with subtitle "&aForced Reboot &7(in &e30s&7)
wait 20 seconds
broadcast "&eThis server will restart soon: &bForced Reboot"
broadcast "&c&lIn 10 seconds!"
wait 5 seconds
broadcast &eThis server will restart in &c&l5"
wait 1 seconds
broadcast &eThis server will restart in &c&l4"
wait 1 seconds
broadcast &eThis server will restart in &c&l3"
wait 1 seconds
broadcast &eThis server will restart in &c&l2"
wait 1 seconds
broadcast &eThis server will restart in &c&l1"
wait 1 seconds
make console execute command "kickall &cThis server is restarting."
make console execute command "stop"