Skip to content

Configuration

Edit lx-storerobbery/config.lua. Most servers only need police, rewards, and dispatch.

Key Purpose
Config.Integrations Force framework / target / inventory, or leave auto
Config.MinimumPolice On-duty police required before a robbery can start
Config.PoliceJobs Jobs counted as police (Qbox uses per-job duty counts)
Config.Dispatch Alert system + blip settings
Config.DispatchCustom Custom alert when system = 'custom'
Config.RegisterReward Cash range from each till
Config.VaultReward Haul tiers + cashroll values
Config.Minigames Enable games, weights, and difficulty
Config.ComputerHack LX OS title / branding for the store PC
Config.Stores Register, computer, and vault coordinates
Config.Dispatch = {
system = 'auto', -- qb | ps-dispatch | cd_dispatch | lb-tablet | rcore_dispatch | custom
code = '10-90',
message = '24/7 store robbery in progress',
jobs = { 'police', 'sheriff' },
blip = { sprite = 52, color = 1, scale = 1.0, time = 5, text = 'Store Robbery' },
}

When system = 'auto', the script picks the first started resource in this order:

ps-dispatch → cd_dispatch → lb-tablet → rcore_dispatch → qb

Config.Dispatch.system = 'custom'
Config.DispatchCustom = function(payload)
-- payload.coords, message, code, jobs, street, blip
end

Alerts fire when a register robbery starts (Config.AlertOnRegisterStart).

Full dispatch notes: Dispatch.

Other resources can open the same desktop session:

local ok = exports['lx-computer']:StartSession({
theme = 'backoffice', -- backoffice | lx | fib
title = '24/7 Back Office',
siteLabel = 'LYNX 24/7',
programs = { 'hackconnect', 'bruteforce', 'downout' },
bootMs = 2200,
})

Hack difficulty lives in lx-computer/config.lua under Config.Hack.