> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_clothing/installation.md).

# Installation

{% stepper %}
{% step %}

## Download the resource

Download resource from [CFX Portal](https://portal.cfx.re/assets/granted-assets?page=1\&sort=asset.updated_at\&direction=asc\&search=clothes).
{% endstep %}

{% step %}

## Move the downloaded resources

Move downloaded resources to your server´s 📁`resources` folder.

```
📁 server
└── 📁 resources
    ├── 📁 rcore_clothing
    ├── 📁 rcore_clothing_for_photos
    └── 📁 (other resources)
```

{% endstep %}

{% step %}

## Add ACE permissions to server.cfg

Our script is using fivem ACE permission system so we need add permission for our resource to be able to add permission to our predefined groups. Insert this lines into your server.cfg / permissions.cfg (or wherever you store your ACE permissions).

{% hint style="danger" %}
❗ DO NOT CHANGE `resource.rcore_clothing` TO ANYTHING ELSE ❗\
This part needs to have the exact name as the resource.
{% endhint %}

```lua
add_ace resource.rcore_clothing command.add_ace allow
add_ace resource.rcore_clothing command.add_principal allow
add_ace resource.rcore_clothing command.remove_principal allow
```

{% endstep %}

{% step %}

## Ensure the resource in `server.cfg`

In `server.cfg` ensure `rcore_clothing` after your framework, inventory and target resources. Also ensure `rcore_clothing_for_photos`, but only when you want to take photos of clothing items!

Example:

```lua
-- ensure your_framework_resource
-- ensure your_inventory_resource
-- ensure your_target_resource
ensure rcore_clothing
ensure rcore_clothing_for_photos
-- ensure your_other_resources
```

{% endstep %}
{% endstepper %}

## 🗄️ Database

The resource import all SQL files on its own there is no need to worry about inserting some tables.

## Framework changes

* If you are using **ESX**:
  * Disable `skinchanger` and `esx_skin`.
  * Disable any existing clothing/charcreator resources in general.
* If you are using **QBCore**:
  * Disable `qb-clothing`
  * Disable any existing clothing/charcreator resources in general.

## Migration

In case you want to migrate player clothing and outfits from previous script, check migration page.

{% content-ref url="/pages/ZXHsmC2CiCCA9BESQa3s" %}
[Migration](/paid-resources/rcore_clothing/installation/migration.md)
{% endcontent-ref %}
