Give Anything Listener
Introduction
This is a plugin that works with Votifier 1.8 or higher, and as such should be placed inside the plugins folder NOT the listeners one. | |
This plugin listens to voting events passed from Votifier and allows you to reward players with anything when they vote for your server. | |
If you can type it as a command you can use it to in this plugin! | |
The Plugin works like a lot of the other listeners, but gives the user a detailed Configuration, on how to setup the broadcast message, and the colour / control codes they can use, Like {BOLD} etc... | |
This Plugin REQUIRES Votifier 1.8 or above! | |
When installing you must place the GAListener.jar into your /plugins folder. | |
It will then create a config.yml inside of the folder which you can edit to your liking! |
Configuration
Configuration information (Including Lucky Voters can be found) Configuration Page!
Here's a video tutorial thanks to Koz4Christ!
Metrics
This plugin utilizes Hidendra's plugin metrics system, which means that 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
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
You can disable the stat collection via /plugins/PluginMetrics/config.yml if you wish.
Sponsors
Sponsored by MC-Index! For all your voting needs! http://www.minecraft-index.com/
Please create a ticket with any issues you are having and we would be happy to help, don't post it on the front page!
Just wanted to point out that this plugin works with Build #2961 For 1.5.1. I was ecstatic to find that out :)
I was wondering just how small of a chance the Lucky system can use i.e. 1/1,000,000
Hello,
I was wondering if my config file could be like this? With 2 lucky votes at '150' ?
luckyvotes:
'50': broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra 500 EXP!' playermessage: '{GREEN}You were lucky and received an extra 500 EXP!' commands: - '/exp give {username} 300'
'150': broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 1000 XP and $1000!' playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 1000 XP and $1000!' commands: - '/exp give {username} 300' - '/eco give {username} 500'
'150': broadcast: '{GREEN}{username} {GOLD}was extremely lucky and received {GREEN}75 mcMMO Credits!' playermessage: '{GREEN}You were extremely lucky and received {GREEN}50 mcMMO Credits!' commands: - '/addcredits {username} 75'
Please update/
no seriously my votifier works but vote listener isnt working fake votes or anything doesnt work about this listener.
@swifteh3146 @Curtis4321
When my players type /vote, they get this message in red: now is not the time to vote, I dont know why because it was working perfectly before. thanx!
@TheDragith
Never mind, I got it working! Thanks for the awesome plugin!
Would it be possible to disable the broadcast and playermessage for certain services and if so how?
Hi i love your plugin but im curious how do i make lucky votes i don't understand it :/ thanks anyways i love your plugin :)
Mine doesn't work. My votifier host is "clevercraft.net" my port is "8192" I put that for the votifier IP and port on websites and the private key and this is my config file http://pastie.org/6417822 but it doesn't broadcast or anything when I type the playername while I'm logged in.
Mine stopped working. When I try fake vote, it says sent fake vote! but no broadcast or anything. Nor does the player get their reward. But the /vote still works.
1 Idea: The ability to track the top voters for the month. PLEASE STORE IN MYSQL(For bigger serves) The people that vote the most are stored in MYSQL, then /topvoters brings those people up. Then I can give the top 3 voters a special reward for having the most votes.
Then each month, I can either empty the MYSQL database, or use a command to clear it.
Would be another awesome thing to promote voting just like the lucky rewards thing.
Yeah, like the guy under me, I'd like to be able to turn off the vote reminder and broadcasts for those that have already voted.
Thanks!
Can you add a feature to only broadcast announcements to players that have a certain permission? This means I can turn off the spam broadcasts to players that have already voted, or even if you could add that as an option directly to the plugin it would be great.
@ForsakenRealmz
you're missing a ' after your voting URL, try: - ' <- http://forsakencraft.enjin.com/vote ->'
@John__B
broadcastqueue determines whether or not to announce queued votes when a player votes whilst offline. It can be disabled to prevent the onjoin spam if someone hasn't been on for a few days.
@Loganschill
Please treat this as a normal plugin, there is no need to set up the listener folder in Votifier, just put the .jar file in your plugins folder.
If you're still having problems then please try running your config through a YAML parser such as http://yaml-online-parser.appspot.com/
This is just a feature suggestion. Is it possible to have different rewards, depending on what world you are in? So, if you're in the Overworld, you'll get 5 diamonds, but if you're in the Skyblock world you'll get 2 grass blocks. Thanks. :D
@scottymalloty
I have it on my second server, and its instant. It could be a bad connections from the site to your server.
@scottymalloty
My votes have always gone through almost instantly. I suppose, unless they added a delay or a queue of some sort, there's always the matter of how many players are online on your server, how many people are using the server list that you're using, etc.
theres no information in the config.yml on "Settings:Broadcastqueue:true/false"
where did the broadcast go from console log? I rather liked the console spam because it showed me it was "working" properly.
When players vote, there is a delay of 2-5 mins per site until they get the reward and the announcement is made. Is this normal?