Skip to main content

Actions

Voucher file actions are bracketed commands executed after a claim result.

Supported action ids in the source:

  • [MESSAGE]
  • [SOUND]
  • [CONSOLE]
  • [ITEM]
  • [EXP_LEVELS]
  • [EXP_POINTS]
  • [ACTIONBAR]
  • [TITLE]
  • [SUBTITLE]
  • [TOAST:<material>]

Example:

actions:
- "[MESSAGE] <gray>You got the reward.</gray>"
- "[CONSOLE] eco give %player_name% 1000"
- "[ITEM] DIAMOND 3"

External references

Some action arguments are standard Bukkit/Spigot enum names or MiniMessage text: