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 Jun 6, 2014@millionminds
Since YAML uses colons in it's syntax, you must include the data value with a "dataID" node.
Theres more info in the advance items section of the config guide.
-
View User Profile
-
Send Message
Posted Jun 6, 2014aesome plugin still have 1 month using it. question
Lottery winner: items: 325: amount: 1 351:9 <
-PINK DYE amount: 1How do i give an item with a number after the colon. It seems to fail in the yml parser
-
View User Profile
-
Send Message
Posted Jun 5, 2014It works! Thanks! :D
-
View User Profile
-
Send Message
Posted Jun 5, 2014@super16mm
VoteRoulette reacts to Votifier's vote notification immediately. Now how quickly the website sends that notice to Votifier (and then to VR) is one thing, but the only bottle neck on VR's side is when VoteRoulette requests information from Mojang's UUID servers, the time waiting for a response from those servers is out of my control. You can turn on the debug mode to see what VoteRoulette is doing when a vote comes through.
-
View User Profile
-
Send Message
Posted Jun 5, 2014Is it possible to use another listener that is compatible with VTR, or is there a way the listener for VTR can run its checks a little more frequently? The voting rewards on my server come through but are kind of slow compared to others I have been on.
-
View User Profile
-
Send Message
Posted Jun 5, 2014@timsandtoms
Hey timsandtoms, thanks for the feedback.
I can certainly add a daily vote cap, and will look into tracking vote streaks per website, as well as a vote streak with a range of days as mentioned earlier.
-
View User Profile
-
Send Message
Posted Jun 5, 2014@Raaniles
That's an interesting find as VoteRoulette is developed, complied, tested, etc on a unix based machine, not Windows. On top of that, I have not been able to replicate the errors (on multiple platforms) that some, like you, have been getting, so it has taken me sometime to resolve this. It's not how VoteRoulette is complied, rather a few characters included in the default configs in the jar. I finally pinpointed those characters that have been causing the issues, which were these apostrophes: http://imgur.com/P2v2BhN
The strange thing is, these only ever occurred in #commented out lines, aka lines that are SUPPOSED to be ignored. I'd almost chalk this up as a bug in Bukkit's YAML reader.
In any case, I have removed all of those characters in the next update which was submitted two days ago, just waiting on Bukkit's approval.
-
View User Profile
-
Send Message
Posted Jun 5, 2014Just to let you know ... VoteRoulette seems to be compiled using Windows Charsets.
Most of us are Linux Users - and Linux sure doesn't like Windows Charsets!
Start your Server (on Linux, that is!) like this, for example:
screen -dmS mc-server java -Dfile.encoding=Windows-1252 -Xmx1536M -jar craftbukkit.jar nogui
Important : Just add THIS: -Dfile.encoding=Windows-1252
Will help you to avoid strange errors like "unknown characters" or "unparseable data". Any other Plugin which worked before will still work. Then again, out of 28 Plugins that I use, just VoteRoulette used to be a pain in the ... you know where. And that's not my fault. ;-)
But now it works, thanks to some research and talking to some 'NIX Users.
This works for VoteRoulette and any other Plugin that is compiled in a "strange" way! :-P
-
View User Profile
-
Send Message
Posted Jun 4, 2014Hello i was wondering how do i hide the IP when someone vote becaus everyone sees it?
-
View User Profile
-
Send Message
Posted Jun 4, 2014@timsandtoms Thankyou!
-
View User Profile
-
Send Message
Posted Jun 4, 2014You are totally my favorite dev. Active, all sorts of new features, and none of them feature creepy. Anywho, couple more suggestions for you.
@RockinChaos
You can use all the syntax you would normally use for a reward for a milestone as well, even if it doesn't show you all the available options in the config.yml file. Example:
-
View User Profile
-
Send Message
Posted Jun 4, 2014@ebiggz
It only gives me options such as currency: 100 or Xp. It doesn't say like Item: 3x Diamond.
-
View User Profile
-
Send Message
Posted Jun 4, 2014@RockinChaos
Of course, milestones are setup up just like rewards, and therefore support all the same prize types.
-
View User Profile
-
Send Message
Posted Jun 4, 2014Is it possible to give items when you hit a milestone?
-
View User Profile
-
Send Message
Posted Jun 3, 2014@ebiggz
Thanks @ebiggz, I think I saw the original problem when I read your comment. Programmer's Notepad automatically inserted the "tabs" -.-
Also, extreme thanks for the clean config file!
-
View User Profile
-
Send Message
Posted Jun 3, 2014@timsandtoms
Currently the only votestreak modifiers are "or more" and "or less". But being able to set a range would be cool. I'll look into adding that in a coming update. (There is one waiting approval right now, so the one after that)
-
View User Profile
-
Send Message
Posted Jun 3, 2014Is it possible to do something like this? If yes, what would the syntax be? Didn't see anything on the configuration page or the recent changes.
voteStreak: 10 to 15
-
View User Profile
-
Send Message
Posted Jun 3, 2014@Koolzskillz
The best way to test if Votifier and VoteRoulette are setup correctly is to turn on debug mode for both plugins, and then attempt to vote. If you see nothing in the console, that means Votifier is setup incorrectly.
-
View User Profile
-
Send Message
Posted Jun 3, 2014@GTFODev
Hi GTFODev,
The reason you were getting an "invalid number" error was because your reward was not properly loading and therefore you had no rewards.
As for your question #1, the answer is no. You do not need to touch the Votifier's listeners folder in regards to VoteRoulette.
As for #2, yes, in your config. Your reward was not loading because it had spacing errors. There were errors in the number of spaces used, as well as the "tab" key was used. YAML files do not support the tab key. Using that key will break the file. Here is a clean version of your config: http://pastebin.com/z3KxHNd5
Since you only have one reward, you do not need to include chance. Instead, I turned off random rewards, and set your one reward as the default.
Lastly, the error you posted is unrelated to your reward issue. That is a bug with first time voters. It will be fixed in the next update.
-
View User Profile
-
Send Message
Posted Jun 3, 2014Hey @ebiggz, I am trying to configure this plugin alongside Votifier, and I keep getting an "Invalid Number" error whenever I do /vr rewards or /vr rewards -a, etc. Additionally, no text is being displayed. So now, I have two questions for you.
1) Do we have to do anything to the listeners folder within the Votifier folder?
2) Am I doing something wrong with config.yml or messages.yml
The reward in question here is:
4 Diamonds, 8 Blocks of Obsidian, and $50
Here are the yml's
config.yml - http://pastebin.com/1u8rGpqq
messages.yml - http://pastebin.com/4FkUVdNf
Error in console - http://pastebin.com/hDVGJpzW
Thanks in advanced!
- GTFODev