Reward Options

Example:

rewards:
  test-reward:
    chance: 50
    display-name: §dTest Reward
    actions:
    - '[command] give %player% diamond 3'
    material: DIAMOND
    lore:
    - Test Item
    - §f
    - §7Test 2
    model-data: 1
    show-drop-display: true
    permission: "aquaticcrates.reward.testreward"

Settings

  • chance

    • a chance to win the reward

  • display-name

    • a display name of the reward

  • actions

    • List of actions that are played when a player wins the reward

  • material

    • material of the reward item

  • lore

    • a description of the reward

  • show-drop-display (Optional)

    • true/false - should it show a hologram above the reward with the reward item?

  • permission (Optional)

    • A permission required to gain the reward

Other Examples

  test-reward3:
    chance: 100
    display-name: §eLeather Reward
    actions:
    - '[command] cmi money give %player% 1000'
    material: LEATHER_LEGGINGS
    color:
      red: 0
      green: 0
      blue: 0
    show-drop-display: true

Leather armor (including leather horse armor) can be colored!

It follows the RGB format and is used as you can see in the example above ^^

Last updated