> For the complete documentation index, see [llms.txt](https://anhcraft.gitbook.io/vouchers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://anhcraft.gitbook.io/vouchers/configuration/main-configuration.md).

# Main Configuration

## Default configuration

You can view the latest default `config.yml` here: <https://raw.githubusercontent.com/anhcraft/Vouchers/main/plugin/src/main/resources/config/config.yml>

## Settings

default-voucher-icon: The default icon for vouchers

default-use-sound: The default sound to be played when redeeming vouchers

default-voucher-footer: The footer to be appended below the voucher item's description

prevent-no-rewards: If set to `true`, the plugin skips redemption if no reward will be given to the player. This might happen if all rewards have their own chances (not 100%) and the player is so unlucky that no reward is selected. When set to `true`, it also means that the player can redeem again to "reroll" the reward.

double-check-timeout: The player must confirm using the voucher within this timeframe.

ignore-denied-interact: The plugin will **strictly** prevent redemption if the player interaction was cancelled. This may be helpful if you are having interaction issues.

date-format: Define the date format. The default value is in `dd/MM/yyyy` so you need to change this if you are in regions using a different format such as the US

dev-mode: Enable the development mode which unlocks experimental features

debug-level: Increase the debug level to access more detailed debug logs in the console. This is different from [Logging](/vouchers/overview/logging.md). Current debug level is from 0 to 2 (0 means disabled)
