diff --git a/HelixuAddons.sk b/HelixuAddons.sk index 654d8bf..66b9c24 100644 --- a/HelixuAddons.sk +++ b/HelixuAddons.sk @@ -43,7 +43,7 @@ command /gameupdate: broadcast "&eThis server will restart in &c&l1" wait 1 seconds make console execute command "/kickall &cThe Server is restarting, join back in around 30 seconds." - make console execute command "reload confirm" + make console execute command "stop" command /maintenance: permission: helixu.srestart @@ -72,29 +72,29 @@ command /maintenance: -on load: - wait 2 hours - broadcast "&eThis server will restart soon: &bScheduled Reboot" - broadcast "&eYou have &a30 seconds &eto brace yourself!" - loop all players: - send title "&e&lSERVER REBOOT!" with subtitle "&aScheduled Reboot &7(in &e30s&7)" to loop-player - wait 20 seconds - broadcast "&eThis server will restart soon: &bScheduled 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 - loop all players: - kick loop-player due to "&cThe Server is restarting, join back in around 30 seconds." - make console execute command "stop" +#on load: +# wait 2 hours +# broadcast "&eThis server will restart soon: &bScheduled Reboot" +# broadcast "&eYou have &a30 seconds &eto brace yourself!" +# loop all players: +# send title "&e&lSERVER REBOOT!" with subtitle "&aScheduled Reboot &7(in &e30s&7)" to loop-player +# wait 20 seconds +# broadcast "&eThis server will restart soon: &bScheduled 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 +# loop all players: +# kick loop-player due to "&cThe Server is restarting, join back in around 30 seconds." +# make console execute command "stop" command /broadcast []: permission: helixu.broadcast @@ -123,6 +123,7 @@ command /o []: loop all players: if loop-player has permission "helixu.staffchat": send "&b[STAFF] %player's prefix%%player's name%&f: %arg-1%" to loop-player + send "&b[STAFF] %player's prefix%%player's name%&f: %arg-1%" to console command /push []: permission: helixu.push @@ -141,7 +142,8 @@ on join: on load: loop all players: if loop-player has permission "helixu.staffchat": - send "&b[STAFF] &cHelixuAddons&f: HelixuAddons by Helixu##1111 loaded!" to loop-player + send "&b[STAFF] &cHelixuAddons&f: HelixuAddons by ginlang##1111 (re)loaded!" to loop-player + send "&b[STAFF] &cHelixuAddons&f: HelixuAddons by ginlang##1111 (re)loaded!" to console command /stafftodo []: