From 04d17b406c66402a8381830ec99770594f116e19 Mon Sep 17 00:00:00 2001 From: Anorak_1 Date: Sat, 12 Nov 2022 21:01:14 +0000 Subject: [PATCH] Updated init.sk initialization to disable skybattle.sk minigame on startup --- init.sk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.sk b/init.sk index d5b2c28..3f34176 100644 --- a/init.sk +++ b/init.sk @@ -8,8 +8,12 @@ on skript start: if file path "plugins/Skript/scripts/-flags.sk" is not missing: if file path "plugins/Skript/scripts/flags.sk" is not missing: delete file path "plugins/Skript/scripts/-flags.sk" + if file path "plugins/Skript/scripts/-skybattle.sk" is not missing: + if file path "plugins/Skript/scripts/skybattle.sk" is not missing: + delete file path "plugins/Skript/scripts/-skybattle.sk" wait 1 second disable script file "flags.sk" + disable script file "skybattle.sk set {flags_state} to "stop" command /startscript_flags: @@ -61,7 +65,7 @@ command /startscript_skybattle: command /stopscript_skybattle: description: Stop the skybattle minigame and disable all commands + events - usage: /stopflags + usage: /stopscript_skybattle executable by: players and console permission: skript.op trigger: