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.
number
default:"70.0"
The default rotation of the drawtext interaction zone. Individual stores can override this in Config.Stores.
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.
boolean
default:"true"
Requires players to have a bag item in order to loot crates.
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 Ammunation 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.
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.

Cooldowns & Limits

boolean
default:"true"
When true, robbing one location puts all Ammunation locations on cooldown. When false, each location 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, split by location type. Set each value to 0 to disable.
table
Maximum robberies a single player can complete per restart, split by location 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.
number
default:"10"
Minimum level required to initiate a robbery. Only applies when SkillSystem is true.

Dispatch

string
default:"\"Ammunation Robbery\""
Title shown in the dispatch alert.
string
default:"\"Ammunation is being robbed\""
Message body shown in the dispatch alert.
table
Controls which steps trigger dispatch alerts. The TStudio variant includes fingerprint and keypad steps.

Bonus Items

boolean
default:"false"
Enables or disables bonus item drops at the end of a robbery.
table
Table of possible bonus items with Name, Chance (%), and Amount range.

Evidence & Stress

boolean
default:"true"
Enables fingerprint evidence drops at the crime scene.
boolean
default:"true"
Enables the stress system. Stress is only applied when a minigame is failed.

Required Items

table
Maps logical item names to your inventory item names.

Rewards

Register and crate loot are configured per location type in Config.RegisterGunStores, Config.RegisterShootingRanges, and Config.Loot. Gun crate prop models and their matching weapon rewards are configured in Config.Props.

Store Locations

Enable or disable location types and individual stores using:
  • Config.ShootingRanges
  • Config.GunStores
  • Config.Stores
Use the store key when calling exports.

Other Settings

table
Controls the safe code range and UI text for safe interactions.
table
Weapons allowed for threatening the employee during the loud approach.
table
Door lock definitions for each location.
Step durations (FuseboxDuration, RegisterDuration, ComputerDuration, etc.) control progress bar length for each interaction.

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.