Configuration
FioVoucher splits its behavior between a main config, language files, voucher files, and menu files.
Main sections in config.yml
The current file is organized around:
settings.command-aliasessettings.prefixsettings.bedrocksettings.dupe-protectionsettings.voucher-protectionsettings.debugsettings.blacklistsettings.default-langstorage
Command aliases
settings.command-aliases controls the root alias list.
settings:
command-aliases:
- "fio"
Bedrock support
Bedrock support is configured from:
settings:
bedrock:
alow-redeem: true
bypass-confirmation: false
prefix: "."
Important behavior:
alow-redeemcontrols whether Bedrock players may redeem vouchersbypass-confirmationskips the confirmation menu for Bedrock usersprefixis used to detect Bedrock usernames
Runtime hibernation
Hibernation exists in the current source and is managed by the plugin runtime. The shipped config.yml in this bundle does not expose a dedicated hibernation section, so this behavior is not tuned from the visible config file.
Duplicate protection
The plugin can mark duplicate voucher items as invalid and execute reminder actions.
settings:
dupe-protection:
enabled: true
actions:
- "[MESSAGE] <gray>This message is a reminder that if this voucher were a duplicated"
Voucher protection
The voucher-protection block blocks voucher items from being destroyed or inserted into certain blocks and inventories.
This covers:
- lava, cactus, TNT, creepers, and similar environment hazards
- chests, hoppers, anvils, furnaces, grindstones, and more
- custom head wearing
Blacklist rules
The blacklist block controls where vouchers cannot be redeemed.
Supported gates:
- gamemode blacklist
- world blacklist
- region blacklist
Storage
The plugin supports:
YAMLMYSQL
MySQL settings include:
- host
- port
- database
- username
- password
- JDBC options
- table names
- schema engine and charset
Hibernation
FioVoucher can go idle and wake back up on demand.
hibernation:
enabled: true
idle-minutes: 15
Language files
Default locales in the bundle:
lang/lang_id.ymllang/lang_en.ymllang/lang_jp.ymllang/lang_ch.yml
Practical files to edit
config.ymllang/lang_<key>.ymlmenu/confirmation.ymlmenu/playerhistory.ymlmenu/voucherhistory.yml