Voucher 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"
item:
  material: 'CHEST'
  display-name: '&6&lMystery Box'
  lore:
    - '&7Contains random rewards!'
    - '&7Right-click to open!'
  enchantments:
    - 'LUCK:1'
  item-flags:
    - 'HIDE_ENCHANTS'

redeem-actions:
  - "[RANDOM] 50:[SET_VAR] random_reward %random_1_3%|[MESSAGE] &aYou won reward #%var_random_reward%!|[COMMAND] give %player% diamond %var_random_reward%"
  - "[RANDOM] 30:[MESSAGE] &aYou won a rare item!|[COMMAND] give %player% emerald 5"
  - "[RANDOM] 20:[MESSAGE] &aYou won a legendary item!|[COMMAND] give %player% nether_star 1"
item:
  material: 'NETHER_STAR'
  display-name: '&d&lStar of Fortune'
  lore:
    - '&7Grants you a special blessing.'
    - '&7Right-click to redeem!'
  enchantments:
    - 'MENDING:1'
  item-flags:
    - 'HIDE_ENCHANTS'

redeem-actions:
  - "[TITLE] &a&lBlessing Received!;&7You are now blessed.;10;70;20"
  - "[ACTION_BAR] &a&lYou are now under the Star of Fortune's blessing!"
  - "[COMMAND] effect give %player% minecraft:luck 600 1"
  - "[SOUND] ENTITY_PLAYER_LEVELUP;1.0;1.0"
item:
  material: 'PAPER'
  display-name: '&c&lRestricted Voucher'
  lore:
    - '&7Can only be redeemed in certain areas.'
    - '&7Right-click to redeem!'

redeem-actions:
  - "[MESSAGE] &aYou redeemed the Restricted Voucher!"
  - "[COMMAND] give %player% iron_ingot 10"

settings:
  blacklisted-worlds:
    - 'world_nether'
  blacklisted-regions:
    - 'pvp-zone'

Last updated