config/config.lua
Main Settings
Shows polyzones and interaction zones in game. Useful for testing zone placement.
Disables all minigames. Useful for testing the full robbery flow without completing minigame challenges.
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.Minutes until the yard resets after a robbery was started. Only one yard can be robbed at a time.
Disables the loud approach. Walking into a detection zone will no longer start a robbery.
Disables the fixer contracts. No fixer spawns, and the robbery can only be started through a detection zone.
When
true, players keep their weapon out during robbery steps. By default it is holstered, never taken.Spawns networked props server side. Set to
false to spawn them client side instead.Minimum number of police required online to start a robbery (both approaches). Set to
0 to disable.The jobs that count as police for the
MinimumPolice check and dispatch alerts.Players with these jobs never trigger a detection zone, so responding officers don’t start or raise the alarm.
Cooldowns & Limits
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
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.
Minimum level required to initiate a robbery. Only applies when
SkillSystem is true.Dispatch
Title shown in the dispatch alert. Can be overridden per yard in
Config.Locations.Message body shown in the dispatch alert. Can be overridden per yard in
Config.Locations.Time in seconds the dispatch alert remains visible. Not all dispatch systems support this.
Evidence & Stress
Fixer
Config.Fixer controls the NPC that sells container contracts.
Handover animation after paying: the player gives the cash and the fixer hands back the pass card. Set to
false to disable.Keys from
Config.Locations the fixer can send players to, e.g. {"port", "cargoship-daisy-lee"}. Leave empty to use all of them.How many containers are activated per contract. Capped at the number of containers in the location.
Minutes after a contract ends (expired or completed) before the fixer has work again. Set to
0 to disable.Percentage chance that cutting a container during a contract sends a dispatch (noise), without spawning the guards. Set to
0 to disable.Gate Pass
When enabled, the fixer hands over a pass card with each contract, which must be shown to the gate guard before entering the yard.
Default gate guard model. Can be overridden per location with
GateGuard.Model.Locations
Config.Locations defines every yard that can be robbed. Four yards are included by default:
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.Opening a decoy sends a dispatch, but only if the robbery hasn’t gone loud yet.
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.
Cutter
Config.Cutter controls the built-in grinder and bypass minigames.
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.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
Crate presets that can spawn inside a container. Included presets:
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.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).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
Logs
Configured inconfig/logs.lua.
