> 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

## Database

The database will be imported automatically for you when you start the resource for the first time.

## Server config

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.

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

Insert this lines into your server.cfg / permissions.cfg (or wherever you store your ACE permissions)

```
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
```

## Permissions

You can configure permissions in the root file `permissions.lua`.

For QBCore you may need to change `group.superadmin` to `qbcore.god`.

Available permissions:

* `Permissions.USE_ADMIN_MODE`
  * Access to turn on admin mode and use all permissions prefixed ADMIN below.
* `Permissions.ADMIN_STOCK_MANAGEMENT`
  * Access to stock management feature used to choose which clothing will be available in which shop.
* `Permissions.ADMIN_EDIT_METADATA`
  * Access to metadata editing feature used to change clothing names, prices, colors, etc.
* `Permissions.ADMIN_EDIT_ARMS`
  * Arms editing feature, in case any torso sets incorrent matching arms, you can edit it using this feature.
* `Permissions.ADMIN_OUTFIT_EDITOR`
  * With outfit editor, you can create outfits for players and employees to use in certain shops.
* `Permissions.TOGGLE_ID_ONLY_MODE`
  * Toggle ID only mode, which allows players to toggle and use the old way of shopping with IDs of clothing.

## Framework

### ESX

Delete/disable `skinchanger` and `esx_skin`

### QBCore

Delete/disable `qb-clothing`

## Migration

In case you want to migrate player clothing and outfits from previous script, check [Migration](/paid-resources/rcore_clothing/migration.md) page.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.rcore.cz/paid-resources/rcore_clothing/installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
