# 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](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](../overview/logging "mention"). Current debug level is from 0 to 2 (0 means disabled)
