My Other Plugins!
SAFE RANDOM TELEPORT | GROUND ITEMS
A Votifier Listener plugin that rewards your players for voting!
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!
Must have for plugin to work correctly:
- Vault
- Votifier/NuVotifier
- PlaceholderAPI
- /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
- 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%.
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 "/".
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.
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.
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.
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%.
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.
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.
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.
link_names:
- "Website1"
- "Website2"
- "Website3"
This determines if queue'd rewards are notified upon player login.
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!
auto_claim: false
Available Custom Messages:
Custom Messages
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
enable_vote_party: true
Number of votes required for a vote party to be triggered
required_votes: 100
Money rewarded to all players when a vote party is triggered
vote_party_money: 500.0
XP Rewarded to all players when a vote party is triggered
vote_party_xp: 170
Items rewarded to all players when a vote party is triggered
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.
vote_party_commands:
- "rc key give %player% RareCrate 2"
DON'T TOUCH
config_version: 1.2
Default Configuration:
config.yml
# __ __ _ _____ _
# \ \ / / | | | __ \ | |
# \ \ / /__ | |_ ___| |__) |_____ ____ _ _ __ __| |___
# \ \/ / _ \| __/ _ \ _ // _ \ \ /\ / / _` | '__/ _` / __|
# \ / (_) | || __/ | \ \ __/\ 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.2Servers 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)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta