Vote Rewards icon

Vote Rewards -----

Give rewards to players for voting for your server!



VoteRewards.png
My Other Plugins!
SAFE RANDOM TELEPORT | GROUND ITEMS
A Votifier Listener plugin that rewards your players for voting!​

Features.png
Features include:
  • Reward Money!
  • Reward XP!
  • Reward Items!
  • Offline Rewards! - Claim later!
  • Custom Reward Command!
  • Vote Received Broadcast Message!
  • Vote Received Command!
  • Vote Parties!
  • Friendly Link Names!
Dependencies.png
Must have for plugin to work correctly:
  • Vault
  • Votifier/NuVotifier
  • PlaceholderAPI
Commands.png
  • /vote: Displays list of sites you can vote from
  • /vote info: Displays information about the plugin
  • /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
Permissions.png
  • 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
Configuration.png

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 "/".
Code (Text):
vote_received_command:
- "command 1"
- "command 2"
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%.
Code (Text):
reward_custom_commands:
- "give %player% diamond 5"
- "givemoney %player% 500"
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.
Code (Text):
links:
- "https://www.link1.com"
- "https://www.link2.com"
- "https://www.link3.com"
Friendly link names list. First line will apply to the first link, second line will apply to the second link, etc.
Code (Text):

link_names:
- "Website1"
- "Website2"
- "Website3"
 
This determines if queue'd rewards are notified upon player login.
Code (Text):
check_rewards_on_login: true
This determines if queue'd rewards are claimed automatically. Beware that some players may log in with a full inventory!
Code (Text):
auto_claim: false

Available Custom Messages
:
Code (Text):
vote_claim_available:
- "&a&lYou have &e&l%available_rewards% &a&lrewards to claim!"
- "&a&lYou can claim rewards by running &6&l/vote claim"

vote_claim_unavailable:
- "&e&lYou have &c&l%available_rewards% &e&lrewards to claim"

reward_money_message: "&a&lYou have been given &e&l$%reward_money%&a&l!"

auto_claim_message:
- "&a&lAutomatically claimed &e&l%available_rewards% &a&lrewards!"

reward_claimed_message: "&c&l%available_rewards% &a&lrewards claimed!"

# 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"
 
DON'T TOUCH
Code (Text):
config_version: 1.2
Default Configuration:
Code (Text):

# __      __   _       _____                            _    
# \ \    / /  | |     |  __ \                          | |    
#  \ \  / /__ | |_ ___| |__) |_____      ____ _ _ __ __| |___
#   \ \/ / _ \| __/ _ \  _  // _ \ \ /\ / / _` | '__/ _` / __|
#    \  / (_) | ||  __/ | \ \  __/\ V  V / (_| | | | (_| \__ \
#     \/ \___/ \__\___|_|  \_\___| \_/\_/ \__,_|_|  \__,_|___/
#                                                            
#
# Global Placeholders:
# %player%
vote_received_message: ""
vote_received_commands: []

reward_money: 0.0
reward_xp: 0.0

reward_items:
- "cooked_beef:2"

reward_custom_commands:
- "give %player% diamond 1"

# Use friendly names on links
use_friendly_names: true

links:
- "https://www.example1.com/"
- "https://www.example2.com/"
- "https://www.example3.com/"

link_names:
- "Website1"
- "Website2"
- "Website3"

# Notify user on login if they have rewards in queue
check_rewards_on_login: true

# Automatically claim rewards on login
# Don't recommend as some players may login with a full inventory
auto_claim: false

#   _____          _                    __  __                                    
#  / ____|        | |                  |  \/  |                                    
# | |    _   _ ___| |_ ___  _ __ ___   | \  / | ___  ___ ___  __ _  __ _  ___  ___
# | |   | | | / __| __/ _ \| '_ ` _ \  | |\/| |/ _ \/ __/ __|/ _` |/ _` |/ _ \/ __|
# | |___| |_| \__ \ || (_) | | | | | | | |  | |  __/\__ \__ \ (_| | (_| |  __/\__ \
#  \_____\__,_|___/\__\___/|_| |_| |_| |_|  |_|\___||___/___/\__,_|\__, |\___||___/
#                                                                   __/ |          
#                                                                  |___/          
#
# %player% does not apply here!
vote_claim_available:
- "&a&lYou have &e&l%available_rewards% &a&lrewards to claim!"
- "&a&lYou can claim rewards by running &6&l/vote claim"

vote_claim_unavailable:
- "&e&lYou have &c&l%available_rewards% &e&lrewards to claim"

reward_money_message: "&a&lYou have been given &e&l$%reward_money%&a&l!"

auto_claim_message:
- "&a&lAutomatically claimed &e&l%available_rewards% &a&lrewards!"

reward_claimed_message: "&c&l%available_rewards% &a&lrewards claimed!"

# 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_vote_party: true

required_votes: 100

vote_party_money: 0.0

vote_party_xp: 0

vote_party_items:
- "diamond:1"

vote_party_commands:
- "give %player% diamond 1"

config_version: 1.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)
Resource Information
Author:
----------
Total Downloads: 966
First Release: Apr 8, 2020
Last Update: Jun 27, 2021
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings