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

# Installation

### 1. Add The Resource Folder

place the resource folder inside your server resources folder.

Example:

`resources/[plugins]/Polarsarmoury_hiddenstash`

### 2. Check Required Dependencies

This resource needs these resources installed and started in this order:

`oxmysql > ox_lib > zyke_lib > zyke_sounds > Polarsarmoury_hiddenstash`<br>

### 4. Restart The Server

After adding the resource to server.cfg, restart your server.

### 5. Add the images&#x20;

`Polarsarmoury_hiddenstash\install\Images`

### 7. Setup discord logs

open `Polarsarmoury_hiddenstash/server/webhook_sv.lua`&#x20;

add your Discord webhook between the quotes

`Config.DiscordLogging.webhook = 'YOUR_WEBHOOK_HERE'`\
Save the file

### 8. Install items (scroll down for more inventories)&#x20;

OX Inventory

```lua
["hs_condom"] = {
    label = "condom",
    weight = 50,
    stack = true,
    close = true,
},

["packed_goods"] = {
    label = "packed goods",
    weight = 50,
    stack = false,
    close = true,
},

["laxative"] = {
    label = "laxative",
    weight = 50,
    stack = true,
    close = true,
},

["ks_gloves"] = {
    label = "inspection gloves",
    weight = 100,
    stack = true,
    close = true,
},

["ks_crumpledwrap"] = {
    label = "crumpled wrapper",
    weight = 50,
    stack = true,
    close = true,
},
```

QB CORE

```lua
hs_condom = { name = 'hs_condom', label = 'Condom', weight = 50, type = 'item', image = 'hs_condom.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Condom' },
packed_goods = { name = 'packed_goods', label = 'Packed Goods', weight = 50, type = 'item', image = 'packed_goods.png', unique = true, useable = false, shouldClose = true, combinable = nil, description = 'Packed Goods' },
laxative = { name = 'laxative', label = 'Laxative', weight = 50, type = 'item', image = 'laxative.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Laxative' },
ks_gloves = { name = 'ks_gloves', label = 'Inspection Gloves', weight = 100, type = 'item', image = 'ks_gloves.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Inspection Gloves' },
ks_crumpledwrap = { name = 'ks_crumpledwrap', label = 'Crumpled Wrapper', weight = 50, type = 'item', image = 'ks_crumpledwrap.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Crumpled Wrapper' },
```

CORE Inventory

```lua
['hs_condom'] = { name = 'hs_condom', label = 'Condom', x = 1, y = 1, category = 'misc', description = 'Condom' },
['packed_goods'] = { name = 'packed_goods', label = 'Packed Goods', x = 1, y = 1, category = 'misc', description = 'Packed Goods' },
['laxative'] = { name = 'laxative', label = 'Laxative', x = 1, y = 1, category = 'misc', description = 'Laxative' },
['ks_gloves'] = { name = 'ks_gloves', label = 'Inspection Gloves', x = 1, y = 1, category = 'misc', description = 'Inspection Gloves' },
['ks_crumpledwrap'] = { name = 'ks_crumpledwrap', label = 'Crumpled Wrapper', x = 1, y = 1, category = 'misc', description = 'Crumpled Wrapper' },
```

CodeM Inventory

```lua
hs_condom = { name = 'hs_condom', label = 'Condom', weight = 50, type = 'item', image = 'hs_condom.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Condom' },
packed_goods = { name = 'packed_goods', label = 'Packed Goods', weight = 50, type = 'item', image = 'packed_goods.png', unique = true, useable = false, shouldClose = true, combinable = nil, description = 'Packed Goods' },
laxative = { name = 'laxative', label = 'Laxative', weight = 50, type = 'item', image = 'laxative.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Laxative' },
ks_gloves = { name = 'ks_gloves', label = 'Inspection Gloves', weight = 100, type = 'item', image = 'ks_gloves.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Inspection Gloves' },
ks_crumpledwrap = { name = 'ks_crumpledwrap', label = 'Crumpled Wrapper', weight = 50, type = 'item', image = 'ks_crumpledwrap.png', unique = false, useable = false, shouldClose = true, combinable = nil, description = 'Crumpled Wrapper' },
```
