Skip to content

Commands & permissions

The Cuxial Safezones command, the zone editor keys and the permissions staff need.

Cuxial Safezones has one staff command. Players have no commands: zones apply to them on their own.

Commands ​

CommandWhoWhat it does
/crearzonaStaff with the permissions belowOpens the zone panel.

The command name comes from command.name in shared/config.lua.

Panel ​

SectionWhat it does
ZonesLists the zones. Select one to edit its settings, rename it, turn it off or on, draw its volume or delete it.
CreateSets the name and the rules, then opens the editor to draw the zone.
LogShows who created each zone and when it was last changed.

From the zone panel, staff can teleport to a zone and use Set GPS to mark it on their map.

A zone that is turned off stays in the panel with its outline and settings, but does not apply to anyone.

To change the shape of a zone, delete it and draw it again. Its rules, sign and exceptions are edited at any time.

Editor keys ​

The editor uses a free camera. These keys are fixed.

KeyWhat it does
W A S DMoves the camera.
Q / EMoves the camera up / down.
Shift / AltFaster / slower camera.
Left clickPlaces a vertex where you are aiming. The floor of the zone moves to that height.
Right clickRemoves the last vertex.
Mouse wheelRaises or lowers the ceiling, one metre per step.
↑ ↓Raises or lowers the floor, one metre per step.
EnterCloses the zone and saves it. Needs at least 3 vertices.
BackspaceCancels.

Permissions ​

ActionRequirement
Run /crearzonaACE command.crearzona
Create, edit, rename, turn off, draw or delete a zoneACE admin (the value of command.ace)
server.cfg
cfg
add_ace group.admin admin allow
add_ace group.admin command.crearzona allow

The server checks the admin ACE on every change, so opening the panel is not enough to modify a zone. Each staff member can save up to 12 changes every 10 seconds (limits in the config).

Exceptions inside a zone are not staff permissions. They are set per zone in the panel: see Configuration.

© Cuxial