# Installation

* Once you have set up the dependencies, all you have to do is upload the folder to the server.

This installation guide covers both <mark style="color:red;">ESX</mark> and <mark style="color:blue;">QBCore/QBOX</mark> frameworks.

<table><thead><tr><th width="202">Resource</th><th>Source</th></tr></thead><tbody><tr><td>ox_lib</td><td><a href="https://github.com/overextended/ox_lib/releases">Download</a></td></tr></tbody></table>

## Upload folder to your server

* Upload folder to your server

## Server.cfg

The server.cfg initialization order should be as follows.

{% tabs %}
{% tab title="CORE" %}

```
start CORE
start ox_lib

-- # other resources

start 0r-atmrobbery

```

{% endtab %}
{% endtabs %}

## Localization

* To change the preferred language from English, add the convar to your server.cfg and change en to the desired language code.

```lua
setr ox:locale en
```

* Create a locales directory and a file for your language. And edit the content of locales/en.json in your own language and write it in there.

## Items

{% tabs %}
{% tab title="OX Inventory" %}

* It is written according to the `itemName` values specified in Config. You can change it. Do not forget to change it on both sides.
* You have to put the pictures yourself.
* Add items to ox\_inventory/data/items.lua

```lua
['heavy_rope'] = {
    label = 'Heavy Rope',
    weight = 500,
    stack = true,
},
['atm_hack_tablet'] = {
    label = 'Atm Hack Tablet',
    weight = 1000,
    stack = true,
},
['atm_hack_phone'] = {
    label = 'Atm Hack Phone',
    weight = 500,
    close = true,
},
```

* Add the images inside your ox\_inventory/web/images.
  {% endtab %}

{% tab title="QB Inventory" %}

* It is written according to the `itemName` values specified in Config. You can change it. Do not forget to change it on both sides.
* You have to put the pictures yourself.
* Add item to shared items.lua

```lua
heavy_rope                  = { name = 'heavy_rope', label = 'Heavy Rope', weight = 1000, type = 'item', image = 'heavy_rope.png', unique = false, useable = true, shouldClose = true, description = 'Heavy Rope' },
atm_hack_tablet             = { name = 'atm_hack_tablet', label = 'ATM Hack Tablet', weight = 1000, type = 'item', image = 'atm_hack_tablet.png', unique = true, useable = true, shouldClose = true, description = 'Atm Hack Tablet' },
atm_hack_phone              = { name = 'atm_hack_phone', label = 'ATM Hack Phone', weight = 500, type = 'item', image = 'atm_hack_phone.png', unique = true, useable = true, shouldClose = true, description = 'Atm Hack Phone' },
```

{% endtab %}
{% endtabs %}
