> For the complete documentation index, see [llms.txt](https://docs.kojascripts.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kojascripts.eu/free/carmarket/configuration/overview.md).

# Overview

All tunable settings live in [`shared/config.lua`](https://github.com/KOJA/koja-carmarket/blob/main/shared/config.lua).

Use this page as a quick map before you change individual sections.

***

## At a glance

{% code title="shared/config.lua" %}

```lua
Config.Debug = false                       -- toggle debug prints
Config.Locale = 'en'                       -- UI language (en | pl | de | es | fr | pt | ro | ru | sk | zh)

Config.Database = { AutoCreateTable = true }

Config.Interaction = 'ox_target'           -- or nil for draw-text prompts
Config.InventoryMenuSystem = 'ox_lib'      -- menus driver
Config.ZoneSpawnRadiusDefault = 50         -- vehicle spawn radius (m)
```

{% endcode %}

***

## Sections

* [**Zones**](/free/carmarket/zones.md) — NPC placement, blips, and sale slots
* [**Parking**](/free/carmarket/configuration/parking.md) — Slot pricing, fees, and ownership
* [**Exchange**](/free/carmarket/configuration/exchange.md) — Zone ownership, commission, and listing caps
* [**Test Drive**](/free/carmarket/configuration/test-drive.md) — Spawn point, timer, fee, and cancel key
* [**Custom Vehicle Images**](/free/carmarket/configuration/custom-vehicle-images.md) — Local images for modded vehicles

***

## Toggling debug

{% code title="shared/config.lua" %}

```lua
Config.Debug = true
```

{% endcode %}

When enabled, every callback logs its inputs and decisions to console via `KOJA.Shared.KojaCarmarketDebug`. Leave this **off** in production — it's noisy.

{% hint style="warning" %}
Don't ship with `Config.Debug = true`. It exposes player identifiers and listing data in your console logs.
{% endhint %}

***

## Changing the UI language

```lua
Config.Locale = 'pl'
```

Available codes: `en`, `pl`, `de`, `es`, `fr`, `pt`, `ro`, `ru`, `sk`, `zh`.

Missing translation keys fall back to the English defaults — no broken UI keys will leak through.
