Updated init.sk initialization to disable skybattle.sk minigame on startup
parent
b4cf3c61ff
commit
04d17b406c
6
init.sk
6
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:
|
||||
|
|
Loading…
Reference in New Issue