Skip to content

General Settings

All client-side and shared settings live in config.lua. This file is loaded by both server and client and is listed in escrow_ignore, so it remains editable after an escrow build. Restart the resource after editing.

Debug

lua
Config.debug = false
OptionPurposeDefault
Config.debugEnable verbose debug output in the server and client console.false

Language

lua
Config.locale = 'en'
OptionPurposeDefault
Config.localeLanguage code for all notifications, dealer texts, and the burner interface. Unknown codes fall back to English.'en'

See Localization for the full language list and how to add a translation.

Opening the Burner

Three independent ways to open the burner phone — enable any combination.

lua
Config.openCommand = 'burner'   -- /burner; set false to disable
Config.openKeybind = false      -- e.g. 'F7'; set false to disable
Config.useItem     = false      -- e.g. 'burner_phone'; registers a usable item via kq_link
OptionPurposeDefault
Config.openCommandChat command that opens the burner. Set to false to disable.'burner'
Config.openKeybindKey binding that opens the burner (FiveM key-mapping menu). Set to false to disable.false
Config.useItemInventory item name that opens the burner when used. Requires the item to exist in ox_inventory. Set to false to disable.false

TIP

At least one of the three should be active. All three can be enabled simultaneously.

Evidence Note Item

lua
Config.noteItem = 'rc_note'
OptionPurposeDefault
Config.noteItemThe inventory item cops must carry to frisk or interrogate dealers. Intel from interrogation is written into its metadata; using it opens the case report. Must exist in ox_inventory.'rc_note'

Phone App Icon

lua
Config.phoneIcon = false   -- e.g. 'https://your.cdn/icon.png'
OptionPurposeDefault
Config.phoneIconCustom icon URL for the burner app when using rc_phonelink. Set to false to use the built-in icon.false

Dealer Streaming Distance

lua
Config.spawnDistance  = 120.0
Config.walkInDistance = 30.0
Config.returnHomeDist = 6.0
OptionPurposeDefault
Config.spawnDistanceMetres from a working dealer's corner at which their ped is streamed in for nearby clients. Lower this if many active dealers cause client load issues.120.0
Config.walkInDistanceIf a dealer is already spawned within this distance of a newly assigned sell spot, they walk there instead of despawning and respawning.30.0
Config.returnHomeDistHow far a non-route dealer may drift from their home spot before they're walked back (e.g. after fleeing a cop).6.0

Dealer Health

lua
Config.dealerHealth = { max = 400, armour = 50 }
OptionPurposeDefault
maxMaximum health for dealer peds. Higher than a standard ped so stray damage doesn't instantly drop them.400
armourStarting armour for dealer peds.50

Flee Break-Contact

lua
Config.fleeBreakContact = { seeRadius = 45.0, seconds = 4 }
OptionPurposeDefault
seeRadiusMetres used to check whether any cop is still nearby while a dealer is fleeing.45.0
secondsSeconds with no cop inside seeRadius before the dealer stops running and lays low.4

A fleeing dealer who loses the police under this condition transitions to a lay-low state — heat cools, they go quiet — rather than loitering in a fled state until the slow background tick.

Burner Distance Refresh

lua
Config.distance = { refreshMs = 1000 }
OptionPurposeDefault
refreshMsHow often (milliseconds) the burner interface updates dealer distance display while the app is open.1000

Robicore