Per Vote Reward
Unlike the other vote reward types, a per-vote reward is granted for every single vote the server receives, immediately when the vote arrives. It is not configured in the rewards folder — all settings regarding voting live in votes.yml.
Configuration
# Enable vote handling and the vote command
enabled: true
# Determines whether incoming votes should be
# logged in the console for monitoring purposes.
log-incoming-votes: true
# Specifies whether votes should only be counted
# when the player is online.
count-only-when-online: false
# If it is set to false, it will proceed
# the vote even for unregistered players.
count-before-first-join: true
# Enables a per-vote reward system, allowing for
# customized rewards.
enable-per-vote-rewards: true
# Broadcast a message whenever a vote is received
announce-received-vote: true
received-vote-announcement:
- "&b&lULTIMATEREWARDS&8 ► &7Player %player% has voted for our server on %service%"
per-vote-rewards:
example:
permission: ultimaterewards.votes.example
required-slots: 1
actions:
- "[console] give %player% emerald 1"
anotherExample:
permission: ultimaterewards.votes.anotherExample
actions:
- "[message] Thanks for voting for us!"
- "[console] give %player% diamond 1"Options
enabled
Turns the whole vote handling (and the /vote command) on or off
log-incoming-votes
Logs every received vote into the console
count-only-when-online
true counts only the votes of players who are currently online
count-before-first-join
true also counts votes of players who have never joined the server
enable-per-vote-rewards
Turns the per-vote-rewards section on or off
announce-received-vote
Broadcasts received-vote-announcement on every received vote
received-vote-announcement
The broadcast text; %player% and %service% (name of the vote site) can be used
Per-vote reward entries
Each entry under per-vote-rewards is a separate reward:
permission
Only players with this permission receive the entry — use it for rank-based bonuses
required-slots
How many free inventory slots the player needs
actions
The actions executed for every vote
Related commands
/vote proceed <player>
Processes a vote manually — the easiest way to test this
/vote reset <player>
Resets the player's vote counter
See Commands for the full list.
Last updated