F.A.Q
Common questions, common errors, and their quick fixes.
The /safezonecreator command does nothing
Check permissions:
Framework admin (ESX/QB/QBX admin flag), or
ACE: default is
command.safezone— must matchaceinconfig/main.luaand yourserver.cfgprincipals.
Restart the resource after config changes.
Zones are not saving
The server writes to data/zones.json. If the file is missing, corrupt, or the folder is not writable, the resource logs repeated load errors and zones will not persist.
Fix: ensure data/ exists, restore valid JSON ({} at minimum), and check file permissions on your host.
Players are not disarmed in a no-weapons zone
Disable Firearms uses disarmPlayer in config/main.lua. For ox_inventory, the default ox_inventory:disarm event must work. For other inventories, extend that function to call your inventory’s disarm API.
No enter/leave notification
Check three layers:
notifications.enabled = truein configPer-zone Notification enabled in the editor
customNotifications—trueshows the NUI banner;falseuses LT.Notify toasts (needs a working notify backend fromsetup.notify)
Zone borders are invisible
The zone needs Show Zone Borders on in the editor. You must also be within zoneDistance (default 500 units) for the debug outline to draw.
Last updated