> 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/configs/config.md).

# Config

Main settings in `config.lua` - this is the only file most servers need to edit.

***

## Language

Change the `Locale` value in `config.lua` to any of the available language codes.

To add your own language:

1. Go to `rcore_clothing/locales` and copy `en.lua`.
2. Translate the values and rename the file to your country code (e.g. `fr.lua`).
3. Change `Locale['en']` inside the new file to match your code (e.g. `Locale['fr']`).
4. Set `Locale` in `config.lua` to your new code.

***

## Clothing shops

Define all shops players can buy clothes from in `Config.ClothingShops`.

| Field    | Description                                                                                                                                                                  |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `label`  | Display name of the shop.                                                                                                                                                    |
| `type`   | Shop type (`binco`, `suburban`, `ponsonbys`, `ammunation`, `vangelico`, `barber`, `beach_masks`, or any custom name). All shops with the same type share available clothing. |
| `blip`   | Map icon settings.                                                                                                                                                           |
| `pos`    | Position as `vector4(x, y, z, heading)`.                                                                                                                                     |
| `config` | Shop config alias or custom structure/modifiers. See [Shop Configs](/paid-resources/rcore_clothing/configs/shop_configs.md).                                                 |

```lua
{
    label = 'BINCO',
    type = 'binco',
    blip = { title = "Second Hand", colour = 39, id = 73 },
    pos = vector4(75.61, -1399.3, 28.41, 0.5),
    config = SHOP_CONFIG_ALIAS.CLOTHING,
},
```

***

## Job changing rooms

Same structure as shops, but used for job-specific outfit changes. Restrict access with the `jobs` field.

```lua
{
    label = 'Changing Room',
    type = 'job_police',
    pos = vector3(455.29, -991.16, 29.72),
    jobs = { 'police' },
},
```

***

## Player changing rooms

Place these in player homes or public areas. Only the position is required.

```lua
{ pos = vec4(-159.20, -308.86, 39.0, 23.0) },
```

***

## Other settings

| Setting                         | Description                                                         |
| ------------------------------- | ------------------------------------------------------------------- |
| `EveryShopHasEverything`        | All shops sell all available clothing (no per-shop categorization). |
| `CharCreatorHasEverything`      | Players can choose any clothes in the character creator.            |
| `ClothingAceRestrictionOptions` | ACE groups that restrict access to specific clothing.               |
| `Checkpoint`                    | Shop marker settings when not using a target script.                |

***

## Danger zone

{% hint style="danger" %}
Don't change anything in this section unless you know what you're doing.
{% endhint %}

Force-set framework and database settings. These are detected automatically - only override them if auto-detection doesn't work for your setup.
