> 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-lockers/configuration.md).

# Configuration

Configure inventory support and locker locations.

Configure SB Lockers in `config.lua`.

### Inventory bridge

Set `Config.Inventory` to your installed inventory resource.

```lua
Config.Inventory = 'qb-inventory' -- 'qb-inventory' | 'ps-inventory' | 'codem-inventory'
```

Add support for another inventory through a dedicated file in `client/inventory/`.

### Locker locations

Add an entry to `Config.Locations` for each locker location.

```lua
Config.Locations = {
    {
        id = 'underpass_garage',
        name = 'Underpass Storage',
        locker = vector3(-44.244, -1242.096, 29.669),
        blip = { sprite = 357, color = 5, scale = 0.75, label = 'Storage Lockers' },
    },
    -- Add more locations as needed.
}
```

Each location needs a unique `id`, display `name`, and `locker` coordinates. The `blip` controls the map marker.
