Update 'HelixuAddons.sk'

This commit is contained in:
Helixu 2022-01-23 10:36:07 +00:00
parent 0f07ec7d3c
commit 9e93fd8878

View file

@ -43,7 +43,7 @@ command /gameupdate:
broadcast "&eThis server will restart in &c&l1" broadcast "&eThis server will restart in &c&l1"
wait 1 seconds wait 1 seconds
make console execute command "/kickall &cThe Server is restarting, join back in around 30 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: command /maintenance:
permission: helixu.srestart permission: helixu.srestart
@ -72,29 +72,29 @@ command /maintenance:
on load: #on load:
wait 2 hours # wait 2 hours
broadcast "&eThis server will restart soon: &bScheduled Reboot" # broadcast "&eThis server will restart soon: &bScheduled Reboot"
broadcast "&eYou have &a30 seconds &eto brace yourself!" # broadcast "&eYou have &a30 seconds &eto brace yourself!"
loop all players: # loop all players:
send title "&e&lSERVER REBOOT!" with subtitle "&aScheduled Reboot &7(in &e30s&7)" to loop-player # send title "&e&lSERVER REBOOT!" with subtitle "&aScheduled Reboot &7(in &e30s&7)" to loop-player
wait 20 seconds # wait 20 seconds
broadcast "&eThis server will restart soon: &bScheduled Reboot" # broadcast "&eThis server will restart soon: &bScheduled Reboot"
broadcast "&c&lIn 10 seconds!" # broadcast "&c&lIn 10 seconds!"
wait 5 seconds # wait 5 seconds
broadcast "&eThis server will restart in &c&l5" # broadcast "&eThis server will restart in &c&l5"
wait 1 seconds # wait 1 seconds
broadcast "&eThis server will restart in &c&l4" # broadcast "&eThis server will restart in &c&l4"
wait 1 seconds # wait 1 seconds
broadcast "&eThis server will restart in &c&l3" # broadcast "&eThis server will restart in &c&l3"
wait 1 seconds # wait 1 seconds
broadcast "&eThis server will restart in &c&l2" # broadcast "&eThis server will restart in &c&l2"
wait 1 seconds # wait 1 seconds
broadcast "&eThis server will restart in &c&l1" # broadcast "&eThis server will restart in &c&l1"
wait 1 seconds # wait 1 seconds
loop all players: # loop all players:
kick loop-player due to "&cThe Server is restarting, join back in around 30 seconds." # kick loop-player due to "&cThe Server is restarting, join back in around 30 seconds."
make console execute command "stop" # make console execute command "stop"
command /broadcast [<text>]: command /broadcast [<text>]:
permission: helixu.broadcast permission: helixu.broadcast
@ -123,6 +123,7 @@ command /o [<text>]:
loop all players: loop all players:
if loop-player has permission "helixu.staffchat": 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 loop-player
send "&b[STAFF] %player's prefix%%player's name%&f: %arg-1%" to console
command /push [<player>]: command /push [<player>]:
permission: helixu.push permission: helixu.push
@ -141,7 +142,8 @@ on join:
on load: on load:
loop all players: loop all players:
if loop-player has permission "helixu.staffchat": 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 [<text>]: command /stafftodo [<text>]: