📦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 if you do not define them

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

default-voucher-footer: The voucher footer to append below voucher's description

prevent-no-rewards: If set to true, the plugin prevents redemption if there is no reward will be given to the player. This may happen if all rewards have their own chances and the player is so unlucky that no reward is selected. When set to true, this 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. Current debug level is from 0 to 2 (0 means disabled)

Last updated