config/config.lua
Main Settings
Shows polyzones created inside the game. Useful for testing zone placement.
Disables all minigames. Useful for testing the full robbery flow without completing minigame challenges.
The key code used to trigger drawtext interactions.
38 is [E] by default.The size of the drawtext interaction zone.
The default rotation of the drawtext interaction zone. Individual stores can override this in
Config.Stores.Spawns networked props server side. Set to
false to spawn them client side instead.Spawns networked peds server side. Set to
false to spawn them client side instead.Requires players to have a
bag item in order to loot crates.Minimum number of police required online before a robbery can be started. Set to
0 to disable.The jobs that count as police for the
MinimumPolice check and dispatch alerts.Requires a minimum number of players nearby to start a robbery. Set
amount to 0 or false to disable.Maximum number of Ammunation robberies that can be active at the same time. Set to
0 to disable.Disables the loud approach path entirely.
Disables the silent approach path entirely.
Disables all particle effects during robberies.
Disables weapon removal during robberies. Only enable this if you use a weapon wheel resource.
Cooldowns & Limits
When
true, robbing one location puts all Ammunation locations on cooldown. When false, each location has its own cooldown.Cooldown duration in minutes.
Per-player cooldown in minutes after completing a robbery. Set to
0 to disable.Maximum robberies per server restart, split by location type. Set each value to
0 to disable.Maximum robberies a single player can complete per restart, split by location type. Set each value to
0 to disable.Skill System
Requires players to meet a minimum level from an integrated XP/skill system before starting a robbery.
Minimum level required to initiate a robbery. Only applies when
SkillSystem is true.Dispatch
Title shown in the dispatch alert.
Message body shown in the dispatch alert.
Controls which steps trigger dispatch alerts. The TStudio variant includes fingerprint and keypad steps.
Bonus Items
Enables or disables bonus item drops at the end of a robbery.
Table of possible bonus items with
Name, Chance (%), and Amount range.Evidence & Stress
Enables fingerprint evidence drops at the crime scene.
Enables the stress system. Stress is only applied when a minigame is failed.
Required Items
Maps logical item names to your inventory item names.
Rewards
Register and crate loot are configured per location type inConfig.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.ShootingRangesConfig.GunStoresConfig.Stores
Other Settings
Controls the safe code range and UI text for safe interactions.
Weapons allowed for threatening the employee during the loud approach.
Door lock definitions for each location.
FuseboxDuration, RegisterDuration, ComputerDuration, etc.) control progress bar length for each interaction.
Logs
Configured inconfig/logs.lua.
Enables or disables the logging system.
Your Discord webhook URL, or your Fivemerr/Fivemanage API key.
