Skip to main content

config/config.lua

Main Settings

boolean
default:"false"
Shows polyzones created inside the game.
boolean
default:"true"
Enables exploit check box zones. Disable if this causes polyzone issues.
boolean
default:"false"
Disables all minigames for flow testing.
string
default:"'ox_target'"
Interaction system. Must match the bridge setting: ox_target, qb-target, or interact.
boolean
default:"false"
Disables particle effects during robberies.
boolean
default:"true"
Disables the C4 explosion when blowing up ATMs. Keep true if your anticheat blocks explosion events.
boolean
default:"false"
Disables weapon removal during the robbery. Only enable this if you use a weapon wheel resource.
table
default:"{\"police\"}"
Jobs that count as police for approach cop checks and dispatch alerts.
number
default:"750"
Client wait interval for rope handling. Higher values lower resmon (rope loads slower); lower values increase responsiveness (higher resmon).
number
default:"170.0"
Physics weight of the ATM while being dragged by a vehicle. Lower values weigh the car down less.
string
default:"'initiation'"
When cooldown starts: 'initiation' (starting the robbery) or 'rope' (attaching the rope to the car).
boolean
default:"true"
Removes step items after each step. Set to false to keep items for crafting, pawn shops, etc.
string
default:"'X'"
Default key for /removerope (RegisterKeyMapping). See the Commands page.
number
default:"38"
Control ID to stop the beating approach. 38 is [E] by default.
boolean
default:"true"
Shows the destroy ATM interaction on placed consoles.
number
default:"5000"
Duration in milliseconds for success and error notifications.
boolean
default:"false"
Requires players to meet per-approach RequiredLevel via the bridge XP system before starting that approach.
boolean
default:"false"
Resets ATM consoles after cooldown (rope and explosive approaches).

Cooldowns

boolean
default:"false"
Enables a global cooldown shared across approaches. When active, per-approach cooldowns are disabled.
number
default:"10"
Global cooldown duration in minutes.
boolean
default:"true"
Enables per-player cooldowns.
number
default:"10"
Per-player cooldown duration in minutes.

Dispatch

table
Dispatch alert settings used by the bridge.

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. Total chance across items should 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 stress on minigame failure.
number
default:"90"
Percentage chance that stress is applied on a minigame fail.
table
default:"{min = 1, max = 3}"
Minimum and maximum stress applied per failure.

Approaches

Each entry in Config.Approaches can be enabled or disabled with Status. Toggle approaches independently to suit your server economy. All approaches share the same config structure. Fields common to most approaches:
  • Status, RequiredItem / RequiredItem2 / RequiredItem3
  • ItemsBreak, Cooldown, ProgressBarDuration
  • RobberyTimeFrame, CopsRequired, RequiredLevel, Exp
  • Jackpot (Status, Chance, Multiplier)
  • Dispatch / Reward (ItemForCash, CashName, CashItem, CashAmount, ItemInfo)
The Rope approach also has pull timing (MinimumDurationToRemoveAtmFromWall, SpeedFactor), pickup timer, tracker, and extra dispatch flags.

Props

Default GTA ATM models are targeted for approaches. Custom console/frame/exploded models come from projectx-atmprops.

Placeable ATM Settings

Config.Settings controls placing pulled ATM consoles:

Breakdown Steps

After placing a pulled console, players break it down in three steps (Config.Steps):

Vehicle Classes (Rope)

Config.Vehicles is a blacklist of vehicle classes for the rope pull. Commented-out classes are whitelisted. By default, SUVs (2), Off-road (9), Industrials (10), Utility (11), Vans (12), Military (19), and Commercial (20) are allowed.

Beating Weapons

Config.Weapons lists melee weapons allowed to start the beating approach (nightstick, hammer, bat, crowbar, golf club, hatchet, machete, wrench, battle axe).

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.