VVOUCHER
Commands
The command system is small on purpose. Each command has a clear job, and the important rules are explained directly on this page so the user does not need to infer hidden behavior.
Command List
| Command | What it does | Important note |
|---|---|---|
/vvoucher give <voucher-name> [player] [amount] [-s] | Gives one selected voucher to the sender or a target player. | amount defaults to 1. -s suppresses the target receive message. |
/vvoucher giveall <voucher-name> [amount] [-s] | Gives the selected voucher to all online players. | Useful for event rewards, compensation, or announcements. |
/vvoucher getall [player] [amount] | Gives every enabled voucher to the sender or target player. | If the console uses it, a player must be provided. |
/vvoucher enable <voucher-name> | Enables a voucher in the file and reloads vouchers automatically. | The voucher id is required. |
/vvoucher disable <voucher-name> | Disables a voucher in the file and reloads vouchers automatically. | Disabled vouchers stay loaded but are not active for normal usage. |
/vvoucher help | Shows the styled in-game help menu. | The content comes from the active language file. |
/vvoucher reload | Reloads config, language, and voucher files. | Useful while editing YAML files. |
General Rules
voucher-nameis required when a single voucher is targeted.playeris optional on player-based commands. If it is missing, the sender is used.amountis optional and defaults to1.-sis optional and suppresses the target receive message.- If the console uses a command that needs a player context, it must provide the player explicitly.
What Reload Covers
The plugin reload flow updates all three important configuration areas:
config.yml- the active language file in
lang/ - all voucher files in
vouchers/
Examples
/vvoucher give money
/vvoucher give money Steve
/vvoucher give money Steve 5
/vvoucher give fly-permission Steve 1 -s