Skip to main content

config/config.lua

Main Settings

boolean
default:"false"
Shows polyzones created inside the game. Useful for testing zone placement.
boolean
default:"false"
Disables all minigames. Useful for testing the full robbery flow without completing minigame challenges.
number
default:"38"
The key code used to trigger drawtext interactions. 38 is [E] by default.
vector3
default:"vec3(0.8, 0.8, 2)"
The size of the drawtext interaction zone.
boolean
default:"true"
Spawns networked props server side. Set to false to spawn them client side instead.
boolean
default:"true"
Requires players to have a bag item in order to loot trolleys.
number
default:"100"
Length of the employee list that appears on the board during the employee puzzle.
boolean
default:"false"
Disables the employee puzzle step entirely.
boolean
default:"false"
Disables all particle effects during the robbery.
boolean
default:"false"
Disables weapon removal during the robbery. Only enable this if you use a weapon wheel resource.
boolean
default:"false"
Enables GruppeSechs Job compatibility by 17mov.
number
default:"0"
Minimum number of police required online before a robbery can be started. Set to 0 to disable.
table
default:"{\"police\"}"
The jobs that count as police for the MinimumPolice check and dispatch alerts.
table
Requires a minimum number of players nearby to start a robbery.
Set amount to 0 or false to disable.
number
default:"0"
Maximum number of Fleeca robberies that can be active at the same time. Set to 0 to disable.
boolean
default:"false"
Disables the loud approach path entirely.
boolean
default:"false"
Disables the silent approach path entirely.

Cooldowns & Limits

boolean
default:"true"
When true, robbing one Fleeca puts all Fleeca banks on cooldown. When false, each bank has its own cooldown.
number
default:"180"
Cooldown duration in minutes.
number
default:"0"
Per-player cooldown in minutes after completing a robbery. Set to 0 to disable.
number
default:"0"
Maximum number of total robberies allowed per server restart. Set to 0 to disable.
number
default:"0"
Maximum number of robberies a single player can complete per server restart. Set to 0 to disable.

Strike System

number
default:"4"
Maximum number of trolleys that can spawn. Actual count depends on the strike system and approach used.
number | boolean
default:"2"
Number of strikes players can accumulate before their reward is cut. Set to false to disable the strike system.
number
default:"2"
(Silent Approach only) Number of trolleys removed from the reward when the strike limit is reached.
number
default:"3"
(Loud Approach only) Number of trolleys that spawn during a loud approach.

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:"\"Fleeca bank Robbery\""
Title shown in the dispatch alert.
string
default:"\"Fleeca bank is being robbed\""
Message body shown in the dispatch alert.
string
default:"\"10-70\""
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.
table
Controls which steps trigger dispatch alerts. Loud and Silent can be enabled independently. Only one of the step-based options should be enabled at a time.

Bonus Items

boolean
default:"false"
Enables or disables bonus item drops at the end of a robbery.
number
default:"15"
Percentage chance that any bonus item is given at all.
number
default:"1"
Number of items that can be given from the bonus items table.
table
Table of possible bonus items. Each entry has a Name, Chance (%), and Amount range. The total chance across all items needs to add up to 100%.

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.

Required Items

table
Maps logical item names to your inventory item names.
table
Break chance (%) for each item when used during a robbery.

Step Durations

Progress bar durations (milliseconds) for each interaction step:

Rewards

Trolley rewards are split into cash, gold, and diamond tables (Config.Rewardcash, Config.Rewardgold, Config.Rewarddiamond). Each follows the same format:
boolean
default:"true"
If true, items are given per individual stack pickup from the trolley. If false, the reward is given at the end of the full trolley animation.
boolean
default:"true"
Set to true to give money directly. Set to false to give a cash item instead.
string
default:"'markedbills'"
The item name used when Cash is false.
table
default:"{min = 45, max = 110}"
The minimum and maximum cash or item amount per pickup or per trolley completion.
boolean | table
default:"false"
Optional item metadata. Used if markedbills or similar items carry random value data in their info table.
Table loot is configured separately in Config.TableRewardcash (cash tables, not trolleys):
Table interaction positions per bank are in Config.LootTables. Trolley spawn positions and loot types are in Config.Trollys.

Fleeca Locations

Enable or disable individual banks with Config.FleecaLocations:
Full per-bank coordinates, interactions, and props live in Config.Fleecas. Door lock definitions are in Config.DoorList. Use the location key when calling exports.

Other Settings

table
ox_lib input text for the hidden password step (Title, Label, Description, Icon).
table
Alarm settings including AlarmDuration (minutes), AudioName, AudioRef, and Range.
table
Employee puzzle difficulty options (ShowFirstLetter, ShowLastLetter, HideOneClue).
table
Employee name/clue data used by the employee puzzle board.

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:"\"default\""
The Fivemanage dataset to log activity to. Leave as "default" unless you have a specific dataset configured.