Skip to main content

Flags

item.flags controls which item tooltip flags are hidden.

Example:

item:
flags:
- HIDE_ATTRIBUTES
- HIDE_ENCHANTS
- HIDE_DYED_COLOR
- HIDE_DESTROYS

Inline [ITEM] actions can also use flags:

actions:
- "[ITEM] DIAMOND_PICKAXE 1 <unbreakable:true> <flags:HIDE_UNBREAKABLE,HIDE_ATTRIBUTES>"

Source examples use:

  • HIDE_UNBREAKABLE
  • HIDE_ATTRIBUTES

Use flags when you want the voucher item to look clean in inventory.

Exact enum names

FioVoucher passes flag names directly to Bukkit's ItemFlag.valueOf(...). Use the exact Spigot enum constant. For example, use HIDE_ENCHANTS, not HIDE_ENCHANTMENTS.

External reference

Use the official Spigot Javadocs for the full ItemFlag list:

Some newer flags may be marked experimental in the Spigot API and may depend on the Minecraft/Paper/Spigot version running your server.