Command List

CommandWhat it doesImportant 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 helpShows the styled in-game help menu.The content comes from the active language file.
/vvoucher reloadReloads config, language, and voucher files.Useful while editing YAML files.

General Rules

  • voucher-name is required when a single voucher is targeted.
  • player is optional on player-based commands. If it is missing, the sender is used.
  • amount is optional and defaults to 1.
  • -s is 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