> For the complete documentation index, see [llms.txt](https://corner-scripts.gitbook.io/corner-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://corner-scripts.gitbook.io/corner-scripts-docs/assets-and-guides/black-market-system/configuration.md).

# 🍶Configuration

Key delivery settings (updated to production values):

```lua
Config.Delivery = {
    progressMs = 120000, -- Crate opening time (2 minutes) - for tension
    timeoutMs = 900000, -- PRIVATE crate time (15 minutes)
    publicDuration = 900000, -- PUBLIC crate time (next 15 minutes)
    -- ...
}

Config.Loyalty = {
    enabled = true,
    deliveryDelay = {
        min = 180000,  -- Minimum drop time (3 minutes)
        max = 240000,  -- Maximum drop time (4 minutes)
    }
}
```

#### Dispatch (`dispatch.lua`)

You can customize the police notification system in `dispatch.lua`. By default, the script tries to use `bj_dispatch` or a fallback.

```lua
function SendDispatch(job, title, message, coords, isPanic, source)
    -- Insert your dispatch export here, e.g.:
    -- exports['cd_dispatch']:GetDispatch(true)
    -- TriggerEvent('bj_dispatch:Server:SendAlert', ...)
end
```

### 🌍 Localization

The script supports both English and Polish language. Change it in `config.lua`: `Config.Locale = 'en'`.
