The vote-based renewable reward system functions by players casting votes for a server. Once they reach a certain number of votes, they unlock specific rewards. After claiming the reward, the vote counter resets, and players must cast a new set of votes to access the subsequent reward. This cyclic system motivates players to consistently vote and support the server in order to continually earn and re-earn rewards.
Example configuration
# Decides if rewards will be claimable.enabled:truetype:renewable_vote_reward## Reward tag#tag:Renewable Vote Reward## (Optional) Permission which player must have to be# able to obtain this reward.#permission:ultimaterewards.exampleRenewableVoteReward## Required votes to achieve this reward.#required-votes:5## NOTE THAT ITEM & SOUND NAMES ARE SLIGHTLY DIFFERENT BETWEEN >1.12 & 1.13< VERSIONS!# SO MAKE SURE YOU ARE USING VALID ITEM NAMES (DEFAULT ONES ARE USED FROM 1.13+ VERSIONS)# OTHERWISE, THEY WILL BE REPLACED BY STONE IF AN INVALID NAME IS USED.## When the player achieves the required votes,# this version of the reward item is displayed in the inventory:#available-item:"LIME_DYE"available-display-name:"&a&lRENEWABLE VOTE REWARD"available-lore: - "&7You have collected" - "&7enough votes to obtain" - "&7this reward!" - " " - "&b► Click to claim!"## Whereas when the player doesn't have enough required votes,# this version of the reward item is displayed in the inventory:#unavailable-item:"RED_DYE"unavailable-display-name:"&c&lRENEWABLE VOTE REWARD"unavailable-lore: - "&7You need to collect" - "&7enough votes to be able to obtain" - "&7this reward!" - " " - "&4► Requires another %requiredVotes% votes"## When the player doesn't have permission for this reward,# the following properties will be shown.#no-permission-item:BARRIERno-permission-display-name:"&c&l&mRENEWABLE VOTE REWARD"no-permission-lore: - "&c ✕ Locked, requires" - "&c %permission% permission"## Commands list that will be executed after the player# obtains this reward.# All available actions can be found on# https://revivalo.gitbook.io/ultimaterewards/## Format: [] - required value | () - optional value# [<actionType>] (<chance>):<command>## Examples:# - [console] 50:give %player% diamond 1# - this command will have a 50%# execution chance due to its property value## - [message] "&aYou have claimed your %type% reward!"# - this action will send the player a message# with the defined content## You can also use the random placeholders# from randoms.yml file and use them in a command.# Example:# - give %player% iron_ingot %exampleRandom%# - the placeholder will be replaced by# a random number from the defined interval in randoms.yml#actions: - '[console] give %player% diamond 1' - '[console] say %player% claimed their %type% reward!' - '[message] &7You have claimed the vote reward for |&7 20 votes! Keep up the great work.'# - '[actionbar] &aSuccessfully claimed!' # Action bar can be used only from 1.12 versions! - '[title] &aClaimed' - '[subtitle] &aReward %type%'