From 02b7ec9b51867326f7d55bad08db18327ebc7e89 Mon Sep 17 00:00:00 2001 From: Helixu Date: Sun, 9 Jan 2022 17:35:47 +0000 Subject: [PATCH] Update 'HelixuAddons.sk' --- HelixuAddons.sk | 56 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/HelixuAddons.sk b/HelixuAddons.sk index d5543b2..e4ea5c9 100644 --- a/HelixuAddons.sk +++ b/HelixuAddons.sk @@ -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" + +