Cuxial Safezones lets your staff draw safe zones directly in the world and decide what applies inside each one. Zones are stored in the database and reach every player the moment they are saved, with no restart.
What it does
- In-game editor. A free camera to mark the vertices of a polygon and set its floor and ceiling.
- Invincibility for every player inside a zone.
- Rules per zone: vehicle speed limit, weapons, drive-by and a list of blocked controls.
- On-screen sign per zone, with its own text, colours, position, font, finish, size and icon.
- Exceptions per zone: a job (from a given grade, optionally only on duty) or a permission group can skip the rules you choose.
- Enter and exit sound, optional per zone.
- Turn a zone off without deleting it, and draw its volume in the world to check it.
- Teleport and GPS. From the panel, staff can teleport to a zone or set the GPS on it.
- Live sync. Creating, editing, turning off or deleting a zone updates all players at once.
- Exports so other resources can ask whether a player is inside a safe zone or whether drive-by is blocked.
Requirements
| Resource | Required | Used for |
|---|---|---|
ox_lib | Yes | Zones, command, notifications, locales |
oxmysql | Yes | Stores the zones |
cuxial_bridge | Yes | Connects to your framework (QBox, QBCore or ESX). Version 2.24.1 or later |
ox_inventory | No | Enforces the "weapons not allowed" rule |
The weapons rule is enforced through ox_inventory. Without it, use the blocked controls of the zone (attack, aim, shoot).
Pages
InstallationDependencies, permissions and start order.ConfigurationEvery option in
shared/config.lua and the settings of each zone.Commands & permissionsThe panel command, the editor keys and who can use them.Exports & eventsRead the zones from your own resources.TroubleshootingCommon problems and how to fix them.