Grant noclip to players when editing a box
This PR grants players noclip
to players when they're editing a box. There already exists a check for player going out of their box, but now that the player has noclip
, there's a much higher chance of it happening. Hence, if a player is detected to be outside the box, the player isn't killed, but is simply teleported back to the start with a warning. I've enclosed this warning with S()
, but if that's not enough to make it translatable, please do let me know as to what else I need to do. The event is now logged at the action
level, as such events are now not as alarming and would end up spamming the console/logs.
I'd love to test this, but db
is giving me some trouble about insecure env. being unavailable despite having added db
to secure.trusted_mods
.