Skip to main content

config/config.lua

Main Settings

debug
boolean
default:"false"
Shows polyzones created inside the game.
TestingMode
boolean
default:"false"
Disables all minigames. Useful for testing the full robbery flow.
ResetHeist
number
default:"180"
Time in minutes before the heist resets after a completed robbery.
DisableLoudApproach
boolean
default:"false"
Disables the loud approach path entirely.
DisableSilentApproach
boolean
default:"false"
Disables the silent approach path entirely.
DisableExplosions
boolean
default:"true"
Disables client-side explosions.
ParticleTimer
number
default:"10"
How long smoke particles last, in minutes.
RequireBag
boolean
default:"true"
Requires a bag item to collect loot.
MinimumPolice
number
default:"0"
Minimum police required online. Set to 0 to disable.
PoliceJobs
table
default:"{\"police\"}"
Jobs that count as police for dispatch and minimum police checks.

Cooldowns & Limits

Cooldown.PlayerCooldown
number
default:"0"
Per-player cooldown in minutes after completing a robbery.
Limits.TotalRobberiesPerRestart
number
default:"0"
Maximum total robberies per server restart. Set to 0 to disable.
Limits.RobberiesPerPlayer
number
default:"0"
Maximum robberies per player per restart. Set to 0 to disable.

Skill System

SkillSystem
boolean
default:"false"
Requires a minimum criminal level before starting the heist.
MinimumLevel
number
default:"20"
Minimum level required when SkillSystem is enabled.

Dispatch

DispatchLocation
table
Controls which step triggers the dispatch alert.
DispatchLocation = {
    ["Loud"] = true,
    ["Silent"] = false,
    ["Security"] = false,
    ["Search"] = false,
    ["Computer"] = true,
}

Keypad Code

Code.Password
table
default:"{min = 10000, max = 99999}"
Random code range for the keypad password prompt.

Starting Point & NPCs

StartingPoint
table
NPC contact that initiates the robbery (Npc, Model, Animation).
NPCs
table
Interior NPCs including security and employees (Security, Employee1, Employee2, Employee3).

Rewards

SafeReward
table
Reward from the safe when data is not corrupted. Supports direct cash or item payout via Cash, Item, and StackAmount.
CashPileReward
table
Reward from the cash pile pickup area.
PropsRewards
table
Per-prop rewards (Prop1, Prop2, Prop3). Set CashReward = true for cash or configure an Item and Amount range.

Items

Config.Items = {
    ["USB"] = "x_device",
    ["USB2"] = "x_device_pin",
    ["Key"] = "cashexchangekey",
    ["Bag"] = "bag",
    ["Circuit"] = "x_circuittester",
    ["FadedCode"] = "x_code_faded",
    ["Code"] = "x_code",
}

Evidence, Stress & Logs

Evidence.Status
boolean
default:"true"
Enables fingerprint evidence drops.
Stress.Status
boolean
default:"true"
Enables stress on minigame failure.
Logging is configured in config/logs.lua (Enable, APIKey, FivemanageDataset).