# Installation

## Step 1. Download package

Download the lvs\_inventory package from your portal.&#x20;

* lvs\_inventory
* lvs\_shops
* lvs\_crafting
* ox\_inventory

\
The best way to place the downloaded files is by creating a folder `[lvs]` in `resources`, where you can put all the scripts related to this <mark style="color:blue;">**LVS Store.**</mark>

***

## Step 2. Install dependencies <a href="#install-dependencies" id="install-dependencies"></a>

Install the dependencies if they are not installed.

| ox\_lib             | <https://github.com/overextended/ox_lib> |
| ------------------- | ---------------------------------------- |
| ox\_inventory (mod) | Included in the package                  |
| lvs\_bridge         | Included in the package                  |
| lvs\_interact       | Included in the package                  |

***

## Step 3. Database <a href="#step-5" id="step-5"></a>

Create the necessary tables in the database for crafting and permanently placed objects, file `/lvs_inventory/tables.sql`

***

## Step 4. Config <a href="#step-5" id="step-5"></a>

Configure and translate the resources according to your server needs.\
Each script includes its own configuration files for customization.

***

## Step 5. server.cfg setup <a href="#add-it-to-your-server" id="add-it-to-your-server"></a>

Add the following settings to your `server.cfg`:

```
setr inventory:framework "qbx"
setr inventory:slots 25
setr inventory:weight 30000
setr inventory:dropslots 40
setr inventory:dropweight 30000

# Special Slots metadata type
setr inventory:specialslots ["tool", "armour",  "drug", "radio", "backpack", "identification", "phone", "tablet", "key", "wallet"]

# Google Fonts Material Symbols
setr inventory:specialslotsicons ["tool", "armour", "mixture_med", "cell_tower", "backpack", "id_card", "phone_iphone", "tablet", "key", "wallet"]

# Allow all items to be held by default, enabling drop/throw/place interactions
setr inventory:heldall true
```

***

## Step 6. Resource Start Order <a href="#add-it-to-your-server" id="add-it-to-your-server"></a>

Ensure the correct start order in your `server.cfg`:

```editorconfig
# Qbox & Extra stuffensure
ensure ox_lib
ensure qbx_core
ensure ox_target
ensure lvs_bridge

ensure [ox]

start lvs_lib
start lvs_inventory
start lvs_interact
start lvs_npcdialog
ensure [lvs]

```

***
