VoteRoulette

Randomized rewards for voting
Home | Permissions | Commands | Config Guide | Files | Change Log | Dev
VoteRoulette is a comprehensive, customizable, and fun Votifier vote listener. VoteRoulette allows you to make a list of rewards and players will receive one at random when they vote for your server on Minecraft server lists. This makes voting exciting and different each time a player votes and will encourage them to vote again to see what they will get next time!
Features
- Extremely flexible! VoteRoulette doesn't just give anything, it does anything.
- Easy to setup! Includes an in-game Award Creator. Avoid those pesky YAML syntax errors!
- Highly customizable rewards!
- Rewards can contain any combination of items, currency, commands, and xp levels.
- Items in rewards support enchants, custom names, lore descriptions, variable amounts, and Data ID's (For things like colored wool, or any other block/item in the game).
- Rewards have tons of other options too! Set things such as permission groups (Vault required), chance modifiers, delays for commands, eligible websites, eligible players, number of consecutive days of voting required, and so much more! (See the Config Guide.
- Ability to set a vote threshold. Players won't receive a reward till they have met the threshold. This is useful when you have your server posted on multiple server lists and you want players to vote on them all before they get rewarded.
- Special rewards called "Milestones" that are awarded to players when they have reached a set amount of votes. This gives players a goal and even more incentive to vote.
- Ability to make Milestones recurring. Make a Milestone set to every 50 votes or a single epic Milestone at 300 votes!
- Offline voting support! If a player votes for the server but isn't in game to receive rewards, the rewards will be there waiting for them to claim the next time they log on.
- Option to have awards auto-claimed when a player logs in!
- Inventory Protection. If a reward won't fit in a players inventory, VoteRoulette will notify the player and let them reclaim once they have cleared space.
- You can disable Inventory Protection, too. Items will instead fall at the feet of the player if their inventory is full.
- Visual Representations of Rewards/Milestones!
- Players can easily see the contents of Rewards/Milestones in a mock inventory screen.
- Editable Broadcast Messages! (Supports color codes)
- Set a custom message for a specific Reward/Milestone that will override the default message.
- A /vote command. Lists all your voting sites to the player.
- Ability to make Fancy Links™ which allow you to hide those long ugly links behind clickable text.
- Reminders!
- A periodic reminder for all players to vote!
- An automatic reminder after 24 hours have passed since a player's last vote!
- Extensive Multi-World support!
- Set specific worlds per Reward/Milestone.
- Globally blacklist worlds!
- Stats Tracking!
- See the top all time voters using the Scoreboard.
- MySQL support!
- UUID support!
- VoteRoulette uses Mojang's account system API (https://api.mojang.com/profiles/minecraft) in order to ask for the UUID of a given player name. You can turn off this functionality in the config by setting useUUIDs to false. (as of v2.2.2).
- A player blacklist. Prevent certain players from getting rewards.
- Option to switch blacklist to a whilelist. Only players in list can receive rewards!
- Option to switch blacklist to a whilelist. Only players in list can receive rewards!
- Option to turn randomization off! Just want to have a single reward and skip the randomization processes? No problem! VoteRoulette can be as simple or complex as you want it to be.
- Localization Options! Files are available to edit a lot of text in VoteRoulette!
- Check out and share translations in the forum!
- Automatic update checking! Always be notified of the latest version! You can disable this in the config by setting checkForUpdates to false.
- Update Safe! VoteRoulette doesn't use any native Minecraft code and therefore won't break with future versions of Bukkit. (Given there isn't major API changes)
- Metrics tracking! Help us see how VoteRoulette is used. (as of 2.0.1)
- Using Hidendra's plugin metrics system, the following information is collected and sent to mcstats.org: A unique identifier, the server's version of Java, whether the server is in offline or online mode, VoteRoulette's version, server's version, OS version/name and architecture, core count for the CPU, number of players online, Metrics version
- If you do no want these stats collected, you can turn them off at /plugins/PluginMetrics/config.yml by setting opt-out to true.
Requirements
You must have Votifier installed.
If you want to have rewards that give currency or rewards that only apply to certain permission groups, you must also have Vault installed.
Getting Started
- Make sure Votifier is at least on your server. If you plan to use the currency and permission group options, make sure Vault is installed as well. Are you using BungeeCord? Check out this post!
- Place VoteRoulette in your server's plugins folder. Do NOT place it in Votifier's "listeners" folder.
- Start your server to let VoteRoulette generate the default files. A copy of the config can also be found here.
- Edit settings and add awards. Visit the Config Guide for help or the Award Setups forum for ideas.
- Type "/vr reload" in your console to put the changes into effect!
Still stuck? Ask for help on the VoteRoulette forum!
Planned Additions
- Timed Milestones; Weekly, monthly, daily
- Set a votestreak with a range of days
- Custom fireworks support for item prizes
- Out-of-game Award Creator GUI?
Visit VoteRoulette's Trello page to see what I am currently working on!
I welcome your feedback! Drop me a comment telling me what you think. If you have any suggestions or ideas, please feel free to submit a ticket with a feature request.
If you have found a bug, issue, or error, please submit a ticket rather than leaving a comment! Players who post errors or file contents straight into a comment will be ignored and comments may be deleted.
Like this plugin? Contribute to the pizza and drinks fund. I deeply appreciate your support!
-
View User Profile
-
Send Message
Posted May 12, 2014@jet315
No worries man!
Yes the command you can use is: /vr wipestats [player/all] [stat/all]
In your case: /vr wipestats all totalvotes
Soon I'll start tracking monthly totals as well so you don't have to do that.
-
View User Profile
-
Send Message
Posted May 12, 2014@CBischler Thanks!
The %server% tag in the messages.yml file pulls the server name from the server.properties file. You can change your server name there or you can just replace the %server% tag with your server's name. :)
-
View User Profile
-
Send Message
Posted May 12, 2014I love it! But when someone has voted it say that they have voted to "Unknown Server".. How can I change that?
-
View User Profile
-
Send Message
Posted May 12, 2014Hi again ebiggz :D
Sorry to send you so many questions but I was wondering if you could advise me on something:
As I explained Im using VR on all my servers in a bungeecord set up. I want to start giving away "stuff" on the forums to the top 3 voters each month. I know VR logs stats which is great! But is there a command to simply reset everyone's stats? or can it be done by just deleting stats.yml in the data folder?
Aside from that, anyone who is using bungeecord I would highly recommend using this plugin on each server!
-
View User Profile
-
Send Message
Posted May 11, 2014@ebiggz
I got it to work now. Just needed to update the plugin. I guess I should have tried that first.
-
View User Profile
-
Send Message
Posted May 11, 2014@The_Chaz_
I'm glad you got things working :)
And yes, it's very possible that the "TestNotification" that some voting websites send is causing the scoreboard issue. Find the .yml file with the name in the VoteRoulette's player folder and remove it. I'll look into preventing names longer than 16 from making a file in the next update, it's a variable I have not thought about before.
Lastly, your support is greatly appreciated. I'll gladly add you to this list, if you like.
-
View User Profile
-
Send Message
Posted May 11, 2014@cookiemonsta54
Hmm, do you mind if I take a look at your config? If so, please post it using pastebin.com.
-
View User Profile
-
Send Message
Posted May 11, 2014@ebiggz
Ok, I set that up but it doesn't seem to be using the chance. It just gives a random item regardless of the chance. Any ideas?
-
View User Profile
-
Send Message
Posted May 11, 2014@ebiggz
Well I fixed the issue quite readily, the key was correct but it only worked on a few voting/server list websites. I just copied it from the working voting sites into the others, and it fixed itself, why I couldn't just copy it from the config I'm unsure.
However I also found out that I'd configured the plugin incorrectly, (a space too many), which is why it wouldn't reward even if the website was working, but I resolved this using an online yaml parser; so far your plugin is excellent, (although my needs are only simple, resulting in me disabling most features). Thank you for informing me on the scoreboard, I'll look into that, but is there any chance that this could be the result of the plugin 'Test Notification' from the voting websites as a player? Thanks for your help, please enjoy this token of my appreciate :)
-
View User Profile
-
Send Message
Posted May 10, 2014@cookiemonsta54
Yup, otherwise the randomization doesn't happen, and it only gives the default reward :)
-
View User Profile
-
Send Message
Posted May 10, 2014@ebiggz
Yeah, should it be set to true?
-
View User Profile
-
Send Message
Posted May 10, 2014@cookiemonsta54
Do you have useRandomReward set to false?
-
View User Profile
-
Send Message
Posted May 10, 2014@ebiggz
I have that setup but it always gives the default reward. Is there something else I need to do to use chance?
-
View User Profile
-
Send Message
Posted May 10, 2014@The_Chaz_
Simple or not, that error is preventing VoteRoulette from receiving the vote from Votifier. The text at the end tells you the issue, though its cut off in your post: "Data must start with zero...Unable to decrypt vote record. Make sure that that your public key...". I would look at the rest of that error and refer to Votifier's troubleshooting page. It looks like your issue is the 2nd one covered on that page.
As for the client crash, the scoreboard only accepts names that are no longer 16 characters long, which is normally fine as Mojang does not allow you to make names longer than 16, but for some reason it's getting a name that is 17 characters long. It could be that someone typed their name too long when voting on a site, which created a player file with the incorrect long name, which is trying to be displayed on the scoreboard. You can try to find that name or set "useScoreboard" to false in the config.
-
View User Profile
-
Send Message
Posted May 10, 2014Now your damn plugin hates me! /vr top10 total and I get kicked with this message
Lucky me :/
-
View User Profile
-
Send Message
Posted May 10, 2014Nope. I just got this:
10.05 16:29:20 [Server] INFO at com.vexsoftware.votifier.net.VoteReceiver.run(VoteReceiver.java:130) [Votifier.jar:?] 10.05 16:29:20 [Server] INFO at com.vexsoftware.votifier.crypto.RSA.decrypt(RSA.java:65) [Votifier.jar:?] 10.05 16:29:20 [Server] INFO at javax.crypto.Cipher.doFinal(Cipher.java:2087) [?:1.7.0_10] 10.05 16:29:20 [Server] INFO at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:382) [sunjce_provider.jar:1.7.0_45] 10.05 16:29:20 [Server] INFO at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:356) [sunjce_provider.jar:1.7.0_45] 10.05 16:29:20 [Server] INFO at sun.security.rsa.RSAPadding.unpad(Unknown Source) [?:1.7.0_45] 10.05 16:29:20 [Server] INFO at sun.security.rsa.RSAPadding.unpadV15(Unknown Source) [?:1.7.0_45] 10.05 16:29:20 [Server] INFO javax.crypto.BadPaddingException: Data must start with zero 10.05 16:29:20 [Server] WARN matches the one you gave the server list. 10.05 16:29:20 [Server] WARN Unable to decrypt vote record. Make sure that that your public key
But from what I can tell, it may just be a simple error.
-
View User Profile
-
Send Message
Posted May 10, 2014@ebiggz
Okay, I will try that now.
-
View User Profile
-
Send Message
Posted May 10, 2014@cookiemonsta54
Take a look at the Chance section in the setup guide :)
-
View User Profile
-
Send Message
Posted May 10, 2014I was wondering how to get vote chances to work as they don't seem to work for me.
-
View User Profile
-
Send Message
Posted May 10, 2014@ebiggz
That would be great man!