समस्या निवारण
Troubleshooting
The creator won't open
- You're not an allowed admin. With
Config.AdminOnly = true, you must satisfy the admin gate — hold the ACE (add_ace group.admin bupa.safezone allow), be in aConfig.AdminGroupsgroup, or pass yourConfig.CustomAdmincheck. See Installation. - Check the command matches
Config.Command(defaultsafezone). If you setConfig.OpenKey, rebind it under the game's keybind settings if it clashes. ox_libmust be started before the resource.
Zones aren't saving
- Storage misconfigured — if
Config.Storage = 'db', make sureoxmysqlis running; thebupa_safezonestable is created automatically on start. - Limits hit — a save is rejected if it exceeds
Config.Limits(e.g.maxZones = 100total,maxPoints = 64per zone). Fewer than 3 points is always rejected. - Save cooldown — saving twice within
Config.Limits.saveCooldown(default 1000 ms) silently drops the second save. Wait a moment. - Not an admin — the save event re-checks admin permission server-side; a non-admin's save is ignored.
Rules aren't applying
- Rules only apply to the winning zone when areas overlap (the smallest/inner zone wins). Check you're standing in the zone you think you are.
- Combat tag — if you took or dealt player damage in the last
combatLogLockseconds, you get no protection until the tag clears (the HUD shows "Combat tag"). This is intentional. - Access denied — with
jobWhitelist(organgWhitelist) on and jobs listed, players outside the whitelist enter without protection. - Economy rules (
noDrop,noRob,noSell,noStash,noCarry,noCuff) are exposed via exports — your inventory / robbery scripts must callGetZoneFlag/CanDropItemsetc. to honor them. This resource can't enforce them alone.
The HUD isn't showing
- The HUD is controlled per zone by the
showHudrule — turn it on for that zone. - Adjust its placement with
Config.Hud.position(9 anchor points) and its title withConfig.Hud.title.
No Discord logs
Config.Webhook.urlis empty — logging is disabled until you paste a valid webhook URL. See Discord Logging.
Text is in English / wrong language
- Set
setr ox:locale "<code>"inserver.cfg(e.g.tr). Missing keys always fall back to English. See Localization for supported codes.
Weapon picker has no icons
- The picker pulls icons from your inventory. Make sure a supported inventory (
ox_inventory,qb-inventory,esx_inventory,tgiann-inventory,codem-inventory) is running, or overrideConfig.Inventory/Config.InventoryImagePath.