Streak Reward

The streak reward is designed such that you can earn any number of rewards that follow one after the other, and it is necessary to collect the previous reward in order to unlock the next one.

This type of reward has also the following states, which are in addition to time-based rewards:

  • upcoming state - this status represents the rewards that follow the current reward (locked until the previous reward is claimed)

  • claimed state - this state is reached when the current streak level has already been claimed

Streak rewards can also be configured to reset the streak progress after a time period equal to twice its cooldown has elapsed or not, using the following attribute:

  • resetting [true/false] - if the reward should be reset, that is, if the reset time should be tracked (the time window in which the player must select the reward otherwise the streak resets to 0)

  • reset-after-completing [true/false] - if resetting is set to false then this can be used to specify whether the reward should be reset when the player reaches the last strike

  • reset-time [number] - determine the time a player has to claim a streak for a reward streak

  • numbering-type [text] - available types:

    • NORMAL (1, 2, 3, 4)

    • ROMAN (I, II, III, IV)

  • show-amount-of-the-streaks [true/false] - sets the individual streak level corresponding to the rewards' item to the amount of the item in the inventory (amount of item)

  • streaks [list] - setting the length and content of single streak reward.

    Each single streak then has the following properties

    • lore [list] - reward's description

    • actions [list] - a list of actions that will be performed after the streak is claimed

Example configuration

Last updated