ticket-simpleVoucher Examples

item:
  material: 'PLAYER_HEAD'
  base64: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzY3YzY3YzY3YzY3YzY3YzY3YzY3YzY3YzY3YzY3YzY3YzY3YzY3YzY3YzY3YzY3YzY3In19fQ=='
  display-name: '&6&lGolden Head'
  lore:
    - '&7A special head with unique properties.'
    - '&7Right-click to redeem!'
  enchantments:
    - 'PROTECTION_ENVIRONMENTAL:1'
  item-flags:
    - 'HIDE_ATTRIBUTES'

redeem-actions:
  - "[MESSAGE] &aYou redeemed the Golden Head!"
  - "[COMMAND] give %player% gold_ingot 10"
  - "[SOUND] ENTITY_PLAYER_LEVELUP;1.0;1.0"
item:
  material: 'DIAMOND_SWORD'
  custom-model-data: 20001
  display-name: '&b&lExcalibur'
  lore:
    - '&7The legendary sword of kings.'
    - '&7Right-click to redeem!'
  enchantments:
    - 'DAMAGE_ALL:5'
    - 'UNBREAKING:3'
  item-flags:
    - 'HIDE_ENCHANTS'
    - 'HIDE_ATTRIBUTES'

redeem-actions:
  - "[MESSAGE] &aYou have received the legendary Excalibur!"
  - "[COMMAND] give %player% diamond_sword 1"
  - "[SOUND] ENTITY_ENDER_DRAGON_GROWL;1.0;1.0"

Last updated