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

# Installation

Install and start the SB Lockers resource.

{% stepper %}
{% step %}

### Add the resource

Copy the `sblockers` folder into your server's `resources` directory.
{% endstep %}

{% step %}

### Set up the database

Import `sql/sblockers.sql` only when `Config.AutoCreateTables` is `false`.
{% endstep %}

{% step %}

### Configure the resource

Set `Config.Inventory` for your inventory resource. Then adjust `Config.Locations` for your map.

Add your logging webhooks before starting the resource.
{% endstep %}

{% step %}

### Start the resource

Add this after `qb-core`, `oxmysql`, and your target resource in `server.cfg`:

```cfg
ensure sblockers
```

{% endstep %}
{% endstepper %}

Restart the server after configuration changes.
