> For the complete documentation index, see [llms.txt](https://duddzy-scripts.gitbook.io/duddzy-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://duddzy-scripts.gitbook.io/duddzy-scripts-docs/scripts/duddzy-jail-3/configuration-overview/category-config.md).

# Category Config

DZ Customs uses categories to decide which customisation sections are available in each shop.

The default category list is:

```lua
Config.DefaultCategories = {
    performance = true,
    body = true,
    paint = true,
    wheels = true,
    lights = true,
    extras = true,
    liveries = true,
    plates = true,
    windows = true,
    horns = true,
    interior = true,
    misc = true
}
```

***

### Available Categories

| Category      | Description                                                           |
| ------------- | --------------------------------------------------------------------- |
| `performance` | Engine, brakes, transmission, suspension, armour, turbo               |
| `body`        | Spoilers, bumpers, skirts, exhausts, grilles, hood, roof, body mods   |
| `paint`       | Primary paint, secondary paint, pearlescent paint                     |
| `wheels`      | Wheel categories, wheels, wheel colour, tyre smoke, bulletproof tyres |
| `lights`      | Xenon headlights, headlight colours, neon underglow, neon colours     |
| `extras`      | Vehicle extras                                                        |
| `liveries`    | Native liveries                                                       |
| `plates`      | Plate styles                                                          |
| `windows`     | Window tint                                                           |
| `horns`       | Vehicle horns                                                         |
| `interior`    | Interior mod options where available                                  |
| `misc`        | Miscellaneous supported vehicle options                               |

***

### Default Categories

To use the global default list:

```lua
categories = Config.DefaultCategories
```

This is the easiest setup.

***

### Custom Categories Per Shop

You can define categories directly inside a shop.

Example:

```lua
categories = {
    performance = false,
    body = true,
    paint = true,
    wheels = true,
    lights = true,
    extras = false,
    liveries = true,
    plates = true,
    windows = true,
    horns = false,
    interior = true,
    misc = true
}
```

This example disables:

```
performance
extras
horns
```

for that shop only.

***

### Category Notes

Some vehicles may not have options in every category.

For example:

* Some vehicles do not have extras.
* Some vehicles do not have liveries.
* Some add-on vehicles may have custom mod slots.
* Wheel availability depends on the selected wheel category.
* Some interior/misc options depend on the vehicle model.

DZ Customs scans the vehicle when the shop opens and only displays available options where possible.
