Zone Rules
Zone Rules
Every zone carries its own rule set. New zones start from Config.DefaultRules (in shared/config/general.lua) and you tweak each one per zone in the panel. Rules are enforced per frame while a player is inside the winning zone (when zones overlap, the smallest/inner zone wins and enforces).
Combat-log lock is special: a player who took or dealt player damage within the last combatLogLock seconds gets no protection at all while the tag is active — they can't run into a safezone to escape a fight. The HUD shows a "Combat tag" state until it expires.
Combat & damage
| Rule | What it does |
|---|---|
disablePvp |
Disables player-vs-player firing and melee, drive-bys and friendly fire inside the zone. |
godMode |
Full invincibility — bullet, melee and general damage immunity. |
noFallDamage |
Removes fall / collision damage. |
noBlastDamage |
Immunity to fire and explosion damage. |
noMeleeDamage |
Immunity to melee damage. |
noDrowning |
Prevents drowning damage. |
infiniteStamina |
Continuously restores sprint stamina. |
regenHealth |
Slowly regenerates health while inside (above 100). |
regenArmor |
Slowly regenerates armor while inside. |
Weapons
Weapon handling is governed by a policy plus fine-grained toggles.
| Setting | What it does |
|---|---|
weaponPolicy = 'all' |
No weapon restriction from the policy — any weapon is allowed. |
weaponPolicy = 'blocklist' |
All weapons allowed except those in the zone's blockedWeapons list (holstered on equip). |
weaponPolicy = 'allowlist' |
Only weapons in the zone's allowedWeapons list may be used; everything else is holstered. (Default allows WEAPON_UNARMED, WEAPON_STUNGUN, WEAPON_NIGHTSTICK.) |
blockDraw |
Forces any drawn weapon back to unarmed and blocks firing entirely. |
disableMelee |
Blocks unarmed / fist attacks. |
blockThrowables |
Disarms and blocks any thrown-type weapon (grenades, etc.). |
disarmOnEnter |
Holsters the player's weapon the moment they enter. |
noReload |
Blocks the reload control. |
noAiming |
Blocks aiming (and the attack control). |
Anti-grief
| Rule | What it does |
|---|---|
antiVdm |
Anti-VDM — prevents vehicle collision damage to players. |
ramProtection |
Ram & push protection — collision proofing so cars can't shove players around. |
antiLasso |
Anti-lasso / tackle protection. |
blockMolotov |
Disarms molotovs, petrol cans and fire extinguishers to stop fire-spread grief. |
noCarry |
Blocks carry / piggyback interactions (exposed to your carry script via export). |
noCuff |
Blocks cuffing (exposed to your handcuff script via export). |
combatLogLock |
Seconds a recently-fighting player is denied protection (value, 0–120; 0 = off). |
Vehicles
| Rule | What it does |
|---|---|
noVehicles |
Kills the engine and applies the handbrake — no driving inside. |
freezeIncoming |
Freezes incoming vehicles at the boundary. |
engineOff |
Turns the engine off when a player enters in a vehicle. |
lockDoors |
Locks vehicle doors inside the zone. |
noSiren |
Silences emergency sirens. |
deleteAbandoned |
Removes abandoned vehicles left in the zone. |
speedLimit |
Caps vehicle speed to this value in km/h (0–120; 0 = off). Vehicles going faster are clamped. |
flagReckless |
Flags reckless driving as wanted. |
You can also block specific vehicle classes per zone (military, planes, etc.) — matching vehicles have their engine cut with a warning to the driver.
Movement
| Rule | What it does |
|---|---|
noSprint |
Disables sprinting (walk/jog only). |
noJump |
Disables jumping. |
noRagdoll |
Prevents the player from ragdolling. |
forceWalk |
Forces walk speed. |
noParachute |
Blocks parachute deployment. |
Economy & items
These rules are exposed to other resources (inventory, robbery, death scripts) via exports — this resource can't reach into your inventory, so it publishes the state for you to check.
| Rule | What it does | Export |
|---|---|---|
noDrop |
Players can't drop items. | CanDropItems() |
noRob |
Players can't be robbed. | CanRobPlayers() |
noSell |
Selling is blocked. | CanSell() |
noStash |
Stashing is blocked. | CanStash() |
noKeepItemsOnDeath |
Keep items on death inside the zone. | KeepItemsOnDeath() |
World & ambience
| Rule | What it does |
|---|---|
clearWanted |
Clears the player's wanted level on enter and keeps it at 0 inside. |
clearArea |
Periodically clears nearby peds and traffic around the zone centre. |
dimScreen |
Applies a subtle dark screen tint. |
ambientSound |
Plays an ambient sound cue on enter. |
show3dName |
Draws the zone name floating in 3D at its centre. |
Access & visibility
| Rule | What it does |
|---|---|
jobWhitelist |
Only listed jobs (meeting the minimum grade) may enter and get protection. Empty list = everyone. |
gangWhitelist |
Restricts access to listed gangs. |
showBlip |
Master switch for the map blip (a false here hard-hides it regardless of blip settings). |
groundMarker |
Draws a ground marker across the zone. |
notify |
Shows enter / exit notifications. |
showHud |
Shows the in-zone glass HUD badge. |
hideOnRadar |
Hides other players' blips on the radar while inside. |