/vote queue: Displays rewards in queue while you were offline
/vote claim: Claims rewards you missed while offline
/vote forceparty: Force a vote party to launch. Does not reset active vote party
/vote help: Displays this message
/vote reload: Reloads Vote Rewards configuration
voterewards.user: Grants permission to run user commands (/vote, /vote queue, /vote claim)
voterewards.admin: Grants permission to run administrative commands (/vote info, /vote reload)
voterewards.*: Grants permission to all Vote Rewards commands
The configuration is pretty simple but can be delicate sometimes but as long as you follow my instruction, it will work flawlessly!
Placeholders:
%player%: Gets replaced with the player's name
PAPI Placeholders:
%required_votes%
%current_votes%
%remaining_votes%
This is the message that the server will broadcast when a vote is received. You can add chat colors and use the placeholder
%player%.
Code (Text):
vote_received_message: ""
This is the custom command that will be executed after a vote is received. I made this a feature because perhaps you want to manually trigger another plugin command when someone votes. With this, you can do just that! You can also use the placeholder
%player%. When adding the command, exclude the leading "/".
This is the amount of money the player will receive upon voting. If no money will be rewarded, configure it with a "0", don't leave it blank.
Code (Text):
reward_money: 0
This is the amount of xp the player will receive upon voting. If no xp will be rewarded, configure it with a "0", don't leave it blank.
Code (Text):
reward_xp: 0
This is the item list that the player will receive upon voting. It is formatted as
"ITEM_NAME:AMOUNT". If no item(s) will be rewarded, leave the list blank like in the config example further down.
Code (Text):
reward_items:
- "diamond:1"
- "oak_planks:8"
This is the list of custom commands you can run after the player votes. You can use this to give a player a reward from a custom plugin. This command list is geared to an individual player, so careful what you add! When adding a list of commands, exclude the leading "/". If no custom commands are to be executed, leave it blank like in the config example further down. You can also use the placeholder
%player%.
This will enable friendly link names so players can see a clean list of links and not ugly URLs.
Code (Text):
use_friendly_names: true
This is the list of links that will appear when the player runs
/vote. If this is not to be used, leave it blank like in the config example further down.
# Vote Party broadcast
vote_party_message: "&a&lVote Party Started! Enjoy your free items!"
forced_vote_party: "&a&lForced a vote party to take place!"
vote_party_not_enabled: "&c&lVote Party is not enabled! Please enable it in the config first!"
Enable/Disable the built in Vote Party
Code (Text):
enable_vote_party: true
Number of votes required for a vote party to be triggered
Code (Text):
required_votes: 100
Money rewarded to all players when a vote party is triggered
Code (Text):
vote_party_money: 500.0
XP Rewarded to all players when a vote party is triggered
Code (Text):
vote_party_xp: 170
Items rewarded to all players when a vote party is triggered
Code (Text):
vote_party_items: []
Commands ran for all players when a vote party is triggered. This command will be ran to each player so do not use a command like "giveall diamond" or everyone will get multiple rewards.
Code (Text):
vote_party_commands:
- "rc key give %player% RareCrate 2"
Servers that use this plugin: play.puscraft.com I do wish to keep this plugin updated if time allows it. If you have suggestions, issues, bugs or whatever, feel free to reach out! (my email is listed in /vote info)