> For the complete documentation index, see [llms.txt](https://sbscripts.gitbook.io/sb-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sbscripts.gitbook.io/sb-scripts/sb-jobs/configuration.md).

# Configuration

### Main config

Global settings are in `config/config.lua`:

```lua
Config.Interaction      = 'target'   -- 'target' or 'key'
Config.InteractKey      = 38         -- control id for key mode (38 = E)
Config.InteractKeyLabel = 'E'
Config.InteractDistance = 1.5        -- metres, key mode only

Config.ChargeRadius = 10.0           -- how far away a customer can be to get charged

Config.Receipt = {
    enabled  = true,
    itemName = 'sbjobs_receipt',
}

Config.DeliveryProp = 'ng_proc_box_01a'
Config.KeySystem    = 'vehiclekeys'  -- 'qb-vehiclekeys' | 'vehiclekeys' | 'qs-vehiclekeys' | 'tgiann-hotwire' | 'none'

Config.Debug = false
```

Framework, inventory, notifications, progress bars, targets and item images are set in `sbbridge/config.lua`, not here.

> 💡 With `Config.Debug = true`, the server console prints extra information, and you can charge yourself at a register. This makes solo testing much easier. Turn it off before going live.

### Job config

Each business has a file in `config/jobs/`. Every `.lua` file in that folder loads automatically, so you don't need to change the manifest.

See Adding a Business for a full example, and the Registers, Cooking and Deliveries pages for each section.
