> 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/new/daily-rewards/configuration/promo-codes.md).

# Promo Codes

**`Permissions`** — groups allowed to use the `OpenSettings` command in the admin menu.\
\&#xNAN;**`Length`** — generated promo code length.

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

```lua
Config.PromoCodes = {
    Permissions = { 'owner' , 'best' },
    Length = 6 
}
```

{% endcode %}
