AuraCraft wrote:There is a plugin out there, but it's really buggy and does not check if they have voted.
Votifier works quite nicely for me.... By that I mean it has listeners. If it gets pushed a vote, then its sent on to the listeners. Like Vote 4 Cash.
Anyway. I actually do something like this, but for ranks (no voting).
Because I use CreeperHost, they have their own API (I'll post it at the bottom, you have to be logged in to see it)
You could always use the Websend plugin. I don't think I'd need to help you with this, its really quite easy to figure out.
Websend:
http://cdn.stratuscraft.net/misc/Websend.zipCreeperAPI Documentation
[syntax=text]The following documentation is formated in functions, however it is accessed using HTTP and GET.
The Format is;
Using API.Console.Send(String Command) as an example;
http://cp.creeperhost.net/API/?key=APIK ... lo%20WorldThis will send a command to the Minecraft console of 'say Hello World', remember to encode your values.
Using API.SubAccounts.Add(String Email, String Password, Boolean Control, Boolean Edit, Boolean Plugins) as an example;
http://cp.creeperhost.net/API/?key=APIK ... ntrol=trueAs Edit and Plugins are not sent, they will default to false.
Below you'll find a list of the current planned API commands, these may or may not be implemented yet.
----------------------------------------------------------------------------------------------------------------------------------------------------------
Boolean API.Console.Send(String Value); //Completed
Send a command to the Minecraft Console.
Array API.Console.Get(); //Completed
Get the Minecraft Console (Not recommended to be called more than once every 500ms).
Boolean API.Control.Start(); //Completed
Start the Minecraft Server.
Boolean API.Control.Restart(); //Completed
Restart the Minecraft Server.
Boolean API.Control.Stop(); //Completed
Stop the Minecraft Server.
Array API.Plugins.List();
List the currently installed Plugins.
Boolean API.Plugins.Add(String URL);
Add a Plugin from the specified URL.
Boolean API.Plugins.Del(String FileName);
Delete the Plugin with the specified FileName.
Array API.Plugins.Search(String Name);
Search Dev.Bukkit.Org for the Plugin specified in Name.
Array API.SubAccounts.List();
Return a list of Sub Accounts.
Boolean API.SubAccounts.Add(String Email, String Password, Boolean Control = false, Boolean Edit = false, Boolean Plugins = false);
Add a Sub Account with the permissions specified.
Boolean API.SubAccounts.Del(String.Email);
Remove the Sub Account with the Email specified.[/syntax]