# Installation

## Metadata Installation

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

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

{% endtab %}

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

```lua
-- Around line 62 add the `houserobberyxp = 0,` inside
metadata = {
    robberyxp= 0,
}
```

{% endtab %}
{% endtabs %}
