Vote Send
Vote Send
Vote Send - share your votes across multiple servers
Vote send will allow you to make the most from your votes... by sharing them between servers!
This works by listening to the voting events passed from Votifier, breaking them down and resending them to a configurable list of servers.
Installing / Configuring
To install, place the VoteSend.jar file into your plugins folder. The first time it runs it will create a config.yml file which you can edit with details of the target servers.
Once configured simply type /vsreload and you're ready to go. You can also use /sendvote [playername] to send a fake vote to test that it arrives correctly on the target servers.
Commands
- /vsreload
- Reload the VoteSend config
- /sendvote [playername] [servicename]
- Send a test vote with optional service name (e.g. "/sendvote swifteh_ MC-Index")
Configuration
Each server entry in the config is made up from the following details:
- IP
- Target hostname or IP address.
- Port
- Votifier port
- Key
- Votifier public key which can be found in the "plugins/Votifier/rsa/public.key" file for each taget server.
- Custom
- Optional custom service name to send for each vote. This may be useful if you would like to distinguish between "shared" votes and those from an actual server listing site. Set this to '' to forward the original service name.
- Sample config.yml
servers: server2: IP: ip.server2.com Port: 8192 Key: VOTIFIERPUBLICKEY Custom: '' server3: IP: ip.server3.com Port: 8192 Key: VOTIFIERPUBLICKEY Custom: '' anotherserver: IP: ip.server4.com Port: 8192 Key: VOTIFIERPUBLICKEY Custom: 'SharedVotes'
Important
This plugin requires Votifier 1.8 or higher.
DO NOT PUT DETAILS OF YOUR MAIN / HUB SERVER IN THE CONFIG OR YOU WILL HAVE AN INFINITE VOTING LOOP.
@cyclo666
Luckily I have another server hardware I can use for accepting votes then it applies to all mc servers on another hardware. It is working 100% with this configuration. For same hardware use IP 0.0.0.0. Seems to work better for consistency than localhost, 127.0.0.1, external ip or hostname.
@jingomcs
same thing happening for me lately
ok , I am being dumb and not getting this too :P I have asked my host to ensure ports are open they opened them for me.
So I have votesend and votifier on hub , votifier on hub I set as port 8191 and did not include it in the votesend settings. Server 2 I have just votifier and galistener on it set as port 8192 , these settings are in the votesend in hub server with the public key. I test on hub /send myname and it says sent , does that mean it would send to all the servers in config and was successful ? When I then go on pmc or others on there test votifier I put settings in , do I use the hub settings at this point or do I use the server2 settings , I have tried both but get This was the exception that occurred internally: No route to host - connect(2) I wanted to be sure I was putting the right settings into pmc , do I put the hub settings in ? and therefore which public key, the one from hub votifier I assumed? , should I therefore be using the hub port in pmc (8191) ? I have bnever used votifier at all before but it looks relatively straight forward and obvious yet I cant get it to work lol. Any help greatly appreciated.
Pete
guys this plugin is honestly not that hard to use. my server run of a mixer of both bukkit and spoigt (all 1.7.4) and it works. i dont really know whats so hard but yea
@MrGhettocraft I don't understand.
If you are having problems. Try:
1. If all your servers are on the same IP, do NOT put the port in the IP: spot. Leave them all x.x.x.x, unless they are under a seperate IP 2. Both the port AND the key are different. Get the KEY from each server's 'public' file in votifier's rsa folder, and change each port in votifier's config.
Hopefully this helped.
When I vote:
[08:44:16 WARN]: java.net.NoRouteToHostException: No route to host
[08:44:16 WARN]: at java.net.PlainSocketImpl.socketConnect(Native Method)
[08:44:16 WARN]: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
[08:44:16 WARN]: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
[08:44:16 WARN]: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
[08:44:16 WARN]: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[08:44:16 WARN]: at java.net.Socket.connect(Socket.java:579)
[08:44:16 WARN]: at com.swifteh.VoteSend$1.run(VoteSend.java:153)
[08:44:16 WARN]: at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:58)
[08:44:16 WARN]: at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
[08:44:16 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[08:44:16 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[08:44:16 WARN]: at java.lang.Thread.run(Thread.java:744)
[08:44:17 WARN]: java.net.NoRouteToHostException: No route to host
[08:44:17 WARN]: at java.net.PlainSocketImpl.socketConnect(Native Method)
[08:44:17 WARN]: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
[08:44:17 WARN]: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
[08:44:17 WARN]: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
[08:44:17 WARN]: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[08:44:17 WARN]: at java.net.Socket.connect(Socket.java:579)
[08:44:17 WARN]: at com.swifteh.VoteSend$1.run(VoteSend.java:153)
[08:44:17 WARN]: at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:58)
[08:44:17 WARN]: at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
[08:44:17 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[08:44:17 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[08:44:17 WARN]: at java.lang.Thread.run(Thread.java:744)
I have done everything because when I join the server it says that I have voted when I did /sendvote on the hub but when I join the other server I didn't get the items I got the xp but not the items then I look in console and see this error..03 18:09:06 [Server] INFO CONSOLE: Given 350 experience to demolish2000_05 02.03 18:09:06 [Multicraft] demolish2000_05 ran command Message of the Day 02.03 18:09:06 [Server] INFO Error: null 02.03 18:09:06 [Server] INFO Giving 5 of diamond to demolish2000_05. 02.03 18:09:06 [Server] INFO Error: null 02.03 18:09:06 [Server] INFO Giving 3 of golden apple to demolish2000_05. 02.03 18:09:06 [Server] INFO Vote received on PlanetMinecraft.com for Player: CraftPlayer{name=demolish2000_05} Someone Please Help!
Hello
I am getting this error on a 1.7.4 server when i do a test on the http://minecraftservers.org/
Pastebin: http://pastebin.com/GxSnXFkB
Is this plugin broken and if so is there another one that works like this and works?
Thanks
@MCJackJ
I am having the same problem! What are we doing wrong?
Can someone please explain to me what exactly I need to do, because this is very confusing.
This is what I done, but it didn't work.
Installed VoteSend & Votifier on my Hub server Installed Votifier & GAListener on my Games, Factions & Creative server. Used the Votifier info from my Hub server for the voting sites. Used Votifier IP, port & key from creative, games and factions for the VoteSend config.
But it still doesn't work?
Can we talk possibly through skype I still can't get it to work
@LithosMC
Well first check if your server is port forwarded. Then delete your votifier configs regenerate both of them. Also delete your vote send config too. Then when in votesend config only do 1 server public key(becasue your running 2 servers) so the other server the plugin is running on.(make sure both servers have votifer and only 1 has votesend) then paste ur public key and check if its exact and you should be golden.
@zapadoz98 I am running 2 servers on the votesend and I am using the ports 8193 for one of them and 8194 for the others I dont know if I port fowarded them and yes I do have a listener GAListener to be exact
Why is it that when I add a 7th server to this it won't work it only sends the vote to the top server in the config!
@LithosMC Ill need a little more info. How many servers do u have on the votesend and is your votifer port port forwarded? and do you have a listener?
I keep getting this error when I do the /sendvote command on my Hub/fallback server and the votes wont go through to to my other servers.
01.02 01:25:31 [Server] WARN at java.lang.Thread.run(Thread.java:744) 01.02 01:25:31 [Server] WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 01.02 01:25:31 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 01.02 01:25:31 [Server] WARN at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 01.02 01:25:31 [Server] WARN at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:58) 01.02 01:25:31 [Server] WARN at com.swifteh.VoteSend$1.run(VoteSend.java:153) 01.02 01:25:31 [Server] WARN at java.net.Socket.connect(Socket.java:579) 01.02 01:25:31 [Server] WARN at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) 01.02 01:25:31 [Server] WARN at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178) 01.02 01:25:31 [Server] WARN java.net.UnknownHostException: 72.8.130.42:25568 01.02 01:25:31 [Server] WARN at java.lang.Thread.run(Thread.java:744) 01.02 01:25:31 [Server] WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 01.02 01:25:31 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 01.02 01:25:31 [Server] WARN at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 01.02 01:25:31 [Server] WARN at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:58) 01.02 01:25:31 [Server] WARN at com.swifteh.VoteSend$1.run(VoteSend.java:153) 01.02 01:25:31 [Server] WARN at java.net.Socket.connect(Socket.java:579) 01.02 01:25:31 [Server] WARN at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) 01.02 01:25:31 [Server] WARN at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178) 01.02 01:25:31 [Server] WARN java.net.UnknownHostException: 72.8.130.42:25569
Anyone know why I get this error? http://pastie.org/8687039
@johandre
Ok well that error is a yes and no to your question. The big error it is showing is that your server is crashing or it is stopping. (make sure you add enough RAM to your server). Also the votifer error is that it isn't able to decrypt the message meaning votifer is working properly but what it has to do it doesn't know. So you have to add a listener to you plugins folder. http://dev.bukkit.org/bukkit-plugins/give-anything-listener/ paste it into your plugins folder ans let the config generate. Easy to config and a smart way ot give your items/rewards to people. If the error persists then try to redo your public key as in any website or votesend your using, delete the public key u put there and go back to the original votifer and copy the key again. How this helps!
@JJtCool Sorry for the wait on the replay. A listener is a file or a plugin that listens to votifier. So if the you want people to get 5 diamonds u need a listener for that. Here is a good listener I have been using and its really great. http://dev.bukkit.org/bukkit-plugins/give-anything-listener/ Put the plugin on the servers you want to receive a reward and the config is really easy.