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

# Installation

## Step 1: <mark style="color:blue;">Move resource</mark>

Extract the zip you downloaded from keymaster and drop the <mark style="color:$success;">stg-contract</mark> folder in the <mark style="color:$success;">resources</mark> folder.

## Step 2: <mark style="color:blue;">Add Items</mark>

:information\_source: <mark style="color:$info;">**It works with**</mark>**&#x20;**<mark style="color:$primary;">**all inventories**</mark><mark style="color:$info;">**, I’ve just included a few examples**</mark>

:frame\_photo: **You can find the item images inside the** <mark style="color:$success;">item-images</mark> **folder located in the&#x20;**<mark style="color:$success;">**\[SETUP]**</mark>**&#x20;directory.**

{% tabs %}
{% tab title="es\_extended" %}

```sql
INSERT INTO items (name, label)
VALUES ('contract', 'Contract');
```

{% endtab %}

{% tab title="qb-core" %}

```lua
contract                     = { name = 'contract', label = 'Contract', weight = 100, type = 'item', image = 'contract.png', unique = true, useable = true, shouldClose = true, description = 'A Useable Contract' },
```

{% endtab %}

{% tab title="ox-inventory" %}

```lua
['contract'] = {
	label = 'Contract',
	weight = 1000,
	stack = false
},
```

{% endtab %}
{% endtabs %}

## Step 3: <mark style="color:blue;">Start script</mark>

Start <mark style="color:$success;">stg-contract</mark> in server.cfg.

```lua
ensure stg-contract
```
