Rarities

Using rarities you can organise your rewards and modify their chances!

Rarities List

rarities:
  common:
    chance: 50
    display-name: "<gray>Common"
  uncommon:
    chance: 30
    display-name: "<green>Uncommon"
  rare:
    chance: 20
    display-name: "<red>Rare"

Applying Rarity to Reward

rewards:
  example:
    chance: 10
    item:
      material: DIAMOND
    actions:
      - type: message
        message: "You have won rare reward!"
    give-item: true
    rarity: "rare"

NOTE:

While using Rarities, it uses the rarity chance along with reward chance to roll the reward!

Rarity chance is being used as the base chance and then the reward chance is being used, so have this in mind.

Last updated