From 2e4f28f8a7cfd2ddfa1451794fc1b8e91241614a Mon Sep 17 00:00:00 2001 From: Helixu Date: Sun, 9 Jan 2022 17:51:13 +0000 Subject: [PATCH] monke --- HelixuAddons.sk | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/HelixuAddons.sk b/HelixuAddons.sk index e4ea5c9..e21fd80 100644 --- a/HelixuAddons.sk +++ b/HelixuAddons.sk @@ -1,8 +1,3 @@ -on load: - broadcast "&c----------" - broadcast "&cHelixuAddons loaded!" - broadcast "&cModule made by Mizzy#1111/Helixu#1111 - broadcast "&c----------" command /sethubloc: permission: op @@ -32,46 +27,44 @@ command /gameupdate: 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) + send title "&e&lSERVER REBOOT!" with subtitle "&aFor a game update &7(in &e30s&7)" to loop-player 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" + broadcast "&eThis server will restart in &c&l5" wait 1 seconds - broadcast &eThis server will restart in &c&l4" + broadcast "&eThis server will restart in &c&l4" wait 1 seconds - broadcast &eThis server will restart in &c&l3" + broadcast "&eThis server will restart in &c&l3" wait 1 seconds - broadcast &eThis server will restart in &c&l2" + broadcast "&eThis server will restart in &c&l2" wait 1 seconds - broadcast &eThis server will restart in &c&l1" + 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 + trigger: 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) + send title "&e&lSERVER REBOOT!" with subtitle "&aForced Reboot &7(in &e30s&7)" to loop-player 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" + broadcast "&eThis server will restart in &c&l5" wait 1 seconds - broadcast &eThis server will restart in &c&l4" + broadcast "&eThis server will restart in &c&l4" wait 1 seconds - broadcast &eThis server will restart in &c&l3" + broadcast "&eThis server will restart in &c&l3" wait 1 seconds - broadcast &eThis server will restart in &c&l2" + broadcast "&eThis server will restart in &c&l2" wait 1 seconds - broadcast &eThis server will restart in &c&l1" + 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" - - + make console execute command "stop" \ No newline at end of file