Re-rolls

Reward re-rolls - a feature allowing the crate opener on their choice open the crate again x amount of times in case their previous prize list wasn't satisfactory for them.

Different amount of available re-rolls can be set up for different users based on permission hierarchy. There is a pre-made inventory that opens up with 3 available buttons - preview the currently won rewards, accept the won rewards and to re-roll the crate. The re-roll button has a custom message set to the item based on the users permission and if they have already reached their limit of re-rolling. NoPermLore configuration is used to specify that exact message (re-roll item's lore).

YAML code example of re-rolls:

RerollSettings:
  RerollEnabled: true
  Rerolls:
    OneRerollRankExample:
      Permission: "VIP"
      Amount: 1
      NoPermLore: "&7Unavailable, you need to have at least the &a&lVIP &7Rank or win an additional reroll from the Master Crate to reroll one more time"
    CustomPermRerollExample:
      Permission: "Reroll.Two"
      Amount: 2
      NoPermLore: "&7Unavailable, you need to have the &e&lDonator &7Rank or win an additional reroll from the Master Crate to reroll one more time"
    AnotherRerollRankExample:
      Permission: "Donator"
      Amount: 3
      NoPermLore: "&7Unavailable, you need to have at least the &e&lDonator &7Rank to reroll one more time"

Last updated