making another one if it doesnt work
command /lockdown:
permission: op
trigger:
broadcast "&b&lDeltaSmp &r&c&lHas Gone Into Lockdown"
make console execute command "/kickall"
set {lockdown} to true
variables:
{lockdown} = false
on join:
if {lockdown} = true:
if player is not op:
kick the player due to "&b&lDeltaSmp %newline% &r&c&lHas Gone Into Lockdown!"
command /removelockdown:
permission: op
trigger:
set {lockdown} to false
broadcast "&b&lDeltaSmp &r&c&lis open again!"