Configuration
These files stay open under escrow:
| File | Purpose |
|---|---|
config.lua |
All gameplay and pay settings |
locales/*.json |
Texts (en, es). Add a language by copying a file |
bridge/framework/*.lua |
Framework integration |
bridge/target.lua |
Interaction system |
bridge/vehicle.lua |
Van keys and fuel |
bridge/inventory.lua |
Lockpick inventory checks |
The language can also be set from server.cfg: setr sl_courier_locale es.
Main settings
Section titled “Main settings”| Setting | Default | What it does |
|---|---|---|
Config.Van.deposit |
500 |
Deposit to rent a van |
Config.Fleet.stocked |
0.7 |
Share of the 26 bays with a van at start |
Config.Vehicles.companyOnly |
true |
Deliveries only go in company vans |
Config.Tablet.key |
F7 |
Tablet key. Players can rebind it |
Config.Dispatch.keys |
Y / U |
Accept and decline keys |
Config.Jobs.acceptTimeout |
600 |
Seconds to pick an order up after accepting it |
Config.Pay.commission |
0.0 |
Share of the fee the company keeps |
Config.Pay.bonusPct |
0.2 |
On-time bonus over the fee |
Config.Pay.bonusDailyCap |
500 |
Most bonus per courier and day |
Config.Tip.amounts |
10, 25, 50 |
Tip options on hand deliveries |
Config.Levels |
4 levels | Reputation needed and biggest delivery for each level |
Config.Robbery.enabled |
true |
Turns robberies on or off |
Config.Robbery.minPolice |
0 |
Police on duty needed to rob |
Every setting is explained with comments in config.lua.
Police alerts
Section titled “Police alerts”Config.Robbery.onRobbed runs once per delivery when a robbery starts. Connect your dispatch script there:
onRobbed = function(thiefSrc, data) TriggerEvent('dispatch:robbery', thiefSrc, data.coords)end,Admin commands
Section titled “Admin commands”/slcourier_test [boxes] [window] [recipient] [counter]: creates a test delivery near you./slcourier_state: prints active deliveries and couriers in the console./slcourier_rep <points>: sets your reputation.
Config.Debug = true adds the extra tools described in config.lua. Keep it off in production.