Coupons Rewards

Creating a custom coupon

item:
  #Here you can change the coupon item type.
  material: STONE
  #Here you can change the display name of the coupon item.
  display-name: "&6Custom name"
  #Here you can change the coupon item lore.
  lore:
    - "&f"
    - "&6Epic lore!"
  #Here you can add enchantments to the coupon item.
  #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
  enchantments:
    - DURABILITY
    - ARROW_DAMAGE
  #Here you can put a custom model data, for use texture packs and more.
  custom-model-data: 5
settings:
  #Here you can add the needed permission to claim the coupon.
  #Set it to none if you don't want a permission.
  permission: 'example.permission'
  #Here you can set how many uses each coupon has.
  #Set it to -1 so it has infinite uses
  uses: 1
rewards:
  #Here you can add money reward.
  money: 50 #$50
  #Here you can add XP levels reward.
  xp: 5 #5 levels
  #Here you can add custom items reward.
  items:
    '0':
      material: DIAMOND_SWORD
      amount: 1
      display-name: "&9Example Sword"
      enchantments:
        - DAMAGE_ALL
    '1':
      material: DIAMOND
      amount: 1
      display-name: "&9Example diamond"
  #Here you can add a list of messages what been send to the player when he claim it.
  messages:
    - "&9&lHello &8%player%!"
    - "&9Enjoy!"
  #Here you can add a list of commands what been executed by console when the player 
  commands:
    - "say %player% is beautiful!"
    - "time set day"

Last updated

Was this helpful?