Skip to main content

config/config.lua

Main Settings

boolean
default:"false"
Shows polyzones and interaction zones in game. Useful for testing zone placement.
boolean
default:"false"
Disables all minigames. Useful for testing the full robbery flow without completing minigame challenges.
string
default:"\"projectx\""
The UI used for the fixer conversation. "projectx" uses the projectx-ui cinematic dialog, "ox" uses an ox_lib alert dialog. If projectx-ui is not started, the ox_lib dialog is used automatically.
number
default:"38"
The key code used to trigger drawtext interactions. 38 is [E] by default.
vector3
default:"vec3(1.75, 1.75, 2)"
The size of the drawtext interaction zone.
number
default:"120"
Minutes until the yard resets after a robbery was started. Only one yard can be robbed at a time.
boolean
default:"false"
Disables the loud approach. Walking into a detection zone will no longer start a robbery.
boolean
default:"false"
Disables the fixer contracts. No fixer spawns, and the robbery can only be started through a detection zone.
boolean
default:"false"
Disables the particle effects.
boolean
default:"false"
When true, players keep their weapon out during robbery steps. By default it is holstered, never taken.
boolean
default:"true"
Spawns networked props server side. Set to false to spawn them client side instead.
number
default:"0"
Minimum number of police required online to start a robbery (both approaches). Set to 0 to disable.
table
default:"{\"police\"}"
The jobs that count as police for the MinimumPolice check and dispatch alerts.
table
default:"{\"police\", \"ambulance\"}"
Players with these jobs never trigger a detection zone, so responding officers don’t start or raise the alarm.
number
default:"3"
How long the alarm plays for, in minutes.
number
default:"3500"
Duration of the displayed notifications in milliseconds.

Cooldowns & Limits

number
default:"0"
Per-player cooldown in minutes after starting a robbery. Set to 0 to disable.
number
default:"0"
Maximum robberies per server restart (not per player). Set to 0 to disable.
number
default:"0"
Maximum robberies a player can take part in per restart. Starting one, checking in at the gate, or robbing a container or crate all count, once per robbery. Set to 0 to disable.

Skill System

boolean
default:"false"
Requires players to meet a minimum level from an integrated XP/skill system before starting a robbery. Must have an XP system configured in the bridge.
number
default:"10"
Minimum level required to initiate a robbery. Only applies when SkillSystem is true.

Dispatch

string
default:"\"Container Robbery\""
Title shown in the dispatch alert. Can be overridden per yard in Config.Locations.
string
default:"\"Alarm triggered at a container yard\""
Message body shown in the dispatch alert. Can be overridden per yard in Config.Locations.
string
default:"\"10-90\""
Radio code shown in the dispatch alert.
number
default:"5"
Time in seconds the dispatch alert remains visible. Not all dispatch systems support this.
table
Blip settings for the dispatch map marker.

Evidence & Stress

boolean
default:"true"
Enables fingerprint evidence drops at the crime scene.
number
default:"50"
Percentage chance that fingerprint evidence is left behind.
boolean
default:"true"
Enables the stress system. Stress is only applied when a minigame is failed.
number
default:"90"
Percentage chance that stress is applied on a minigame fail.
table
default:"{min = 1, max = 3}"
The minimum and maximum amount of stress applied per failure.

Fixer

Config.Fixer controls the NPC that sells container contracts.
string
default:"\"g_m_m_armboss_01\""
The fixer ped model.
vector4
default:"vector4(1401.61, -2202.63, 60.78, 18.64)"
Where the fixer stands.
string
default:"\"WORLD_HUMAN_SMOKING\""
The scenario the fixer plays while idle.
table
Target / drawtext settings for talking to the fixer.
table
The price of a contract. Type is "cash" or "item".
table | false
Handover animation after paying: the player gives the cash and the fixer hands back the pass card. Set to false to disable.
table
default:"{}"
Keys from Config.Locations the fixer can send players to, e.g. {"port", "cargoship-daisy-lee"}. Leave empty to use all of them.
number
default:"2"
How many containers are activated per contract. Capped at the number of containers in the location.
number
default:"30"
Minutes before the contract resets if not every container was robbed.
number
default:"2"
Minutes before the location resets once every contract container has been robbed.
number
default:"10"
Minutes after a contract ends (expired or completed) before the fixer has work again. Set to 0 to disable.
table
Blip shown on every contract container. Only the buyer sees them.
number
default:"15"
Percentage chance that cutting a container during a contract sends a dispatch (noise), without spawning the guards. Set to 0 to disable.

Gate Pass

boolean
default:"true"
When enabled, the fixer hands over a pass card with each contract, which must be shown to the gate guard before entering the yard.
string
default:"\"container_pass\""
The pass item given by the fixer and taken by the gate guard.
string
default:"\"s_m_m_security_01\""
Default gate guard model. Can be overridden per location with GateGuard.Model.
string
default:"\"WORLD_HUMAN_CLIPBOARD\""
What the gate guard does while waiting.
table
Target / drawtext settings for the gate guard.

Locations

Config.Locations defines every yard that can be robbed. Four yards are included by default:
table
Each yard supports the following fields:
table
Target / drawtext settings for the container lock.

Decoy Containers

Decoy containers look exactly like the real ones (same locks, same crates), but they are a trap: the crates are empty and opening the container silently alerts the police. No alarm plays and no guards spawn.
boolean
default:"true"
Enables decoy containers.
number
default:"15"
Percentage chance for each active container to be a decoy.
number
default:"1"
Maximum decoys per heist.
boolean
default:"true"
Opening a decoy sends a dispatch, but only if the robbery hasn’t gone loud yet.
number
default:"20"
Delay in seconds before the decoy dispatch goes out.
table
Dispatch text used for the decoy alert.
table
Crates inside a decoy give nothing except this chance of a bait item. Set Chance to 0 to disable.

Lock Types

Config.LockTypes defines the locks that can spawn on a container. Each active container rolls a lock based on Chance. The lock’s Tier decides which crate layouts can spawn behind it.
table
table
Settings for bypassing the electronic lock.

Cutter

Config.Cutter controls the built-in grinder and bypass minigames.
boolean
default:"true"
Uses the built-in grinder (padlock, reinforced) and digital bypass (electronic) UIs. Set to false to use each lock’s Minigame and Duration from Config.LockTypes instead.
table
Per-lock tuning of the built-in cutter.
Time is the time limit in seconds and Strikes the number of mistakes allowed. You can optionally add MinDuration (ms) to a lock: the server rejects a cut or bypass finished faster than this. When left out, it is worked out from the lock’s tuning.

Crates

number
default:"1.25"
Height offset applied to crates spawned inside containers.
table
Crate presets that can spawn inside a container. Tiers lists which lock tiers the preset can spawn behind (leave out to allow every lock). Chance is weighted against the other presets of the same tier.
Included presets: single_wooden, wooden_explosives, wooden_cash (tier 1), gun_cash, electronics_cash, electronics_explosive (tier 2), guns_explosive (tiers 2–3), guns_explosives, guns_cash (tier 3).
table
Each crate type defines its interaction, animation, models, required item, minigame, and loot table.
Loot.Rolls sets how many times the loot table is rolled. Each item has a Chance (%) and an Amount range.

Security Guards

table
Applied to every hostile guard. Guard positions are set per location in Config.Locations.

Logs

Configured in config/logs.lua.
boolean
default:"false"
Enables or disables the logging system.
string
default:"\"\""
Your Discord webhook URL, or your Fivemerr/Fivemanage API key.
string
default:"\"\""
The Fivemanage dataset to log activity to. Only used with Fivemanage.