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"
Spawns networked peds server side. Set to false to spawn them client side instead.
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 to disable.
number
default:"0"
Maximum number of store robberies that can be active at the same time. Set to 0 to disable.
boolean
default:"false"
Disables the loud approach (threatening the clerk) as a way to start a robbery.
boolean
default:"false"
Disables the silent approach (fusebox, 24/7 stores only).
boolean
default:"false"
Disables all particle effects during robberies.
boolean
default:"false"
Disables weapon removal during robberies. Only enable this if you use a weapon wheel resource.
number
default:"2500"
Duration of the displayed notifications in milliseconds.

Cooldowns & Limits

boolean
default:"false"
When true, robbing one store puts all stores on cooldown. When false, each store 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.
table
Maximum robberies per server restart (not per player), split by store type. Set each value to 0 to disable.
table
Maximum robberies a single player can complete per restart, split by store type. Set each value 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:"\"Store Robbery\""
Title shown in the dispatch alert.
string
default:"\"A store 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 the alarm and dispatch. Loud and Silent fire when the matching approach starts the robbery. Of the remaining entries, only one should be enabled.

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.

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.

TStudio Minigames

Config.Minigames tunes the built-in minigames and screens used by the TStudio store flow (stock room laptop, office computer, keypads, gate, electrical box, and ATM).
table
Hacking minigame on the stock room laptop.
table
Safe dial minigame on the office computer.
number
default:"3"
Number of fake office codes shown on the laptop alongside the real one.
table
Locks a keypad out after too many wrong codes. Set Attempts to 0 to disable.
table
Stock cage gate. Cutting the lock while the power is still on tases the player.
table
Electrical box breaker minigame used to cut the power to the gate.
table
ATM memory hack.
number
default:"3000"
Progress bar duration (ms) when using a keypad.
string
default:"\"#e30914\""
Accent colour of the laptop and computer screens.

Rewards

Register, ATM, and safe rewards are configured per store type. Each table follows the same format.
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
The minimum and maximum cash or item amount per reward.
boolean | table
default:"false"
Optional item metadata. Used if markedbills or similar items carry random value data in their info table.
Reward tables by store type: Shelf loot is configured in Config.RewardShelf. Config.MaxItems controls how many items can be taken from each shelf.

Store Locations

Enable or disable store types and individual locations using these tables:
  • Config.Stores247 — 24/7 supermarkets (9 locations, TStudio flow)
  • Config.GasStations — Gas stations (5 locations)
  • Config.LiquorStores — Liquor stores (5 locations)
Each enabled location has a full entry in Config.Stores with coordinates, interactions, NPC settings, reset timers, and per-store overrides. Use the store key (e.g. "Strawberry", "Davis") when calling exports. Gas station and liquor store entries are defined inside map checks, so the right layout loads for the map you run: Stores using the TStudio flow have Flow = "TStudio" in their entry. See the FAQs for a breakdown of both flows.
table
Key fields of a TStudio store entry:
The server console warns on start if an enabled location is missing from Config.Stores or is missing an interaction step that other stores of the same type have. Doors are listed in Config.DoorList, below the “do not touch” line.

Other Settings

table
Controls the safe code range and UI text for the office computer step in classic-flow stores.
table
Alarm sound settings.
table
Weapons allowed for threatening the clerk. Add or remove weapon hashes as needed.
Step durations (FuseboxDuration, RegisterDuration, ServerDuration, Computer1Duration, Computer2Duration, DoorDuration, AtmDuration, ShelfDuration, SafeDuration) control how long progress bars run for each interaction step, in milliseconds.

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.