# Installation

## Items Installation

{% tabs %}
{% tab title="qb-core/shared/items.lua" %}

```lua
["television"]   	= {["name"] = "television", 		["label"] = "Television", 	["weight"] = 150, 		["type"] = "item", 		["image"] = "television.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["microwave"]   	= {["name"] = "microwave", 		["label"] = "Microwave", 	["weight"] = 150, 		["type"] = "item", 		["image"] = "microwave.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["painting"]   		= {["name"] = "painting", 		["label"] = "Painting", 	["weight"] = 150, 		["type"] = "item", 		["image"] = "painting.png", 			["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
["safe"]   	        = {["name"] = "safe", 		        ["label"] = "Safe", 		["weight"] = 150, 		["type"] = "item", 		["image"] = "safe.png", 				["unique"] = false,   	["useable"] = true,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = ""},
['houselockpick']       = {['name'] = 'houselockpick',          ['label'] = 'House Lockpick',             ['weight'] = 300,         ['type'] = 'item',         ['image'] = 'houselockpick.png',             ['unique'] = false,     ['useable'] = true,     ['shouldClose'] = true,       ['combinable'] = nil,   ['description'] = 'If you lose your house keys a lot this is very useful... '},
```

{% endtab %}

{% tab title="ox\_inventory/data/items.lua" %}

```lua
['television'] = { label = 'Television', weight = 250, stack = true, allowArmed = false },
['microwave'] = { label = 'Microwave', weight = 250, stack = true, allowArmed = false },
['painting'] = { label = 'Painting', weight = 250, stack = true, allowArmed = false },
['safe'] = { label = 'Safe', weight = 250, stack = true, allowArmed = false },
['houselockpick'] = { label = 'House Lockpick', weight = 50, stack = true, allowArmed = false },
```

{% endtab %}
{% endtabs %}

## Metadata Installation

{% tabs %}
{% tab title="qb-core/server/player.lua ( Old QBCore )" %}

```lua
-- Search for `PlayerData.metadata` and post this code below
PlayerData.metadata['houserobberyxp'] = PlayerData.metadata['houserobberyxp'] or 0
```

{% endtab %}

{% tab title="qb-core/config.lua ( New QBCore )" %}

<pre class="language-lua"><code class="lang-lua"><strong>-- Around line 62 add the `houserobberyxp = 0,` inside
</strong><strong>metadata = {
</strong>    houserobberyxp = 0,
}
</code></pre>

{% endtab %}
{% endtabs %}

## Logs Installation

{% tabs %}
{% tab title="qb-smallresources/server/logs.lua" %}

```lua
['houserobbery']  = 'YOUR_WEB_HOOK',
```

{% endtab %}
{% endtabs %}
