Script Version: 2.5.3-MH
Minecraft Version: 1.16.5
Full Code: https://pastebin.com/dfTKAZc7
Errors on Reload: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (mwl.sk, line 34: execute console command "/kick %player% &cKicked Whilst Connecting To &4<my server's name> &6Reason: &c Whitelist is on!")
Other Useful Info: There is a full code behind it (shouldn't be affecting this part though.)
Addons using: TuSKe 1.8.2-Pickachu-Patch-3 (EssentialsX)
Have you tried searching the docs? Yes
Have you tried searching the Forums? Yes
What other methods have you tried to fix it? Different ways of coding it.
Part With error
Minecraft Version: 1.16.5
Full Code: https://pastebin.com/dfTKAZc7
Errors on Reload: There's no world in a periodic event if no world is given in the event (e.g. like 'every hour in "world"') (mwl.sk, line 34: execute console command "/kick %player% &cKicked Whilst Connecting To &4<my server's name> &6Reason: &c Whitelist is on!")
Other Useful Info: There is a full code behind it (shouldn't be affecting this part though.)
Addons using: TuSKe 1.8.2-Pickachu-Patch-3 (EssentialsX)
Have you tried searching the docs? Yes
Have you tried searching the Forums? Yes
What other methods have you tried to fix it? Different ways of coding it.
Part With error
Code:
every 5 seconds:
loop all players:
if loop-player does not have permission "staff.mwl.bypass":
if {wl::%server%} is true:
execute console command "/kick %player% &cKicked Whilst Connecting to &4ClickB8MC &6Reason: &cWhitelist is on!"
else:
stop