Skip to content

Troubleshooting

Common Cuxial Safezones problems, with their cause and fix.

The most frequent problems after installing Cuxial Safezones, with the cause and the fix for each one.

The resource does not start, or there are no zones after a restart

Cause. A dependency is missing or starts later. Cuxial Safezones needs ox_lib, oxmysql and cuxial_bridge. It can also be that the table could not be created.

Fix. Start the dependencies first and check the server console for oxmysql errors. The database user needs permission to create tables.

server.cfg
cfg
ensure ox_lib
ensure oxmysql
ensure cuxial_bridge
ensure cuxial_safezones
/crearzona does nothing or says access denied

Cause. The player is not allowed the ACE command.crearzona.

Fix. Grant it to your staff group and restart the server:

server.cfg
cfg
add_ace group.admin command.crearzona allow
The panel opens but saving says "You are not allowed to manage safe zones"

Cause. The player can run the command but is not allowed the ACE in command.ace (admin by default). The server checks it on every change.

Fix.

server.cfg
cfg
add_ace group.admin admin allow
The cursor appears but the panel does not

Cause. The interface is not loading. The folder web/build is missing or incomplete, usually after a partial upload.

Fix. Make sure web/build/index.html exists inside the resource. If it does not, copy the resource again from the original package and restart the server.

"Too many changes at once. Wait a moment."

Cause. The staff member saved more than limits.writes changes within limits.window.

Fix. Wait a few seconds, or raise those values in shared/config.lua.

Players can still use weapons inside a zone

Cause. One of these:

  • ox_inventory is not running. The weapons rule works through it.
  • "Allow weapons" is on in the zone.
  • features.weapons is false.
  • The player is covered by an exception that skips weapons.

Fix. Review those points. Without ox_inventory, block the attack, aim and shoot controls in the zone.

A group exception does not apply

Cause. The player does not hold that permission in your framework. Groups are checked as framework permissions (admin, mod…) through cuxial_bridge.

Fix. Give the player that permission in your framework, and write the group in the exception exactly as the framework names it, without the group. prefix.

A job exception does not apply

Cause. The player's grade is below the minimum of the exception, or the exception is set to "only on duty" and the player is off duty.

Fix. Edit the exception in the panel. Job changes apply at once, without leaving the zone.

The zone does not protect players on upper floors or below ground

Cause. The zone is a volume with a floor and a ceiling. The player is above or below it.

Fix. Delete the zone and draw it again, raising the ceiling with the mouse wheel or lowering the floor with the arrow keys before pressing Enter.

A zone is in the panel but does nothing

Cause. The zone is turned off.

Fix. Select it in the panel and turn it on.

The sign does not show

Cause. The sign is off in that zone, or features.textUI is false.

Fix. Edit the zone and enable the sign, and keep features.textUI = true.

Zones from an earlier version are missing

Cause. Zones are copied from the old table cuxialsz only on the first start, and only while the new table cuxial_safezones is empty. Zones with an unreadable outline are skipped, and the console says how many.

Fix. Check the server console at start. The old table is never deleted, so the original data is still there.

Notifications appear in the wrong language

Cause. They follow the ox:locale convar.

Fix. Set it in server.cfg and restart. en and es are included:

server.cfg
cfg
setr ox:locale "en"

© Cuxial