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.
Same here with spigot, ill try it out with normal bukkit.
Almost the same here i think? using 1.7.2 spigot 08.12 07:31:31 [Server] WARN at java.lang.Thread.run(Unknown Source) 08.12 07:31:31 [Server] WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 08.12 07:31:31 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 08.12 07:31:31 [Server] WARN at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 08.12 07:31:31 [Server] WARN at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53) 08.12 07:31:31 [Server] WARN at com.swifteh.VoteSend$1.run(VoteSend.java:153) 08.12 07:31:31 [Server] WARN at java.net.Socket.connect(Unknown Source) 08.12 07:31:31 [Server] WARN at java.net.SocksSocketImpl.connect(Unknown Source) 08.12 07:31:31 [Server] WARN at java.net.AbstractPlainSocketImpl.connect(Unknown Source) 08.12 07:31:31 [Server] WARN at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 08.12 07:31:31 [Server] WARN at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 08.12 07:31:31 [Server] WARN at java.net.PlainSocketImpl.socketConnect(Native Method) 08.12 07:31:31 [Server] WARN java.net.ConnectException: Connection refused 08.12 07:31:31 [Server] INFO Vote -> com.swifteh.VoteSend$VoteServer@6941e3b3: Vote (from:testVote username:jackodirtbiker99 address:1.2.3.4 timeStamp:1386513091417) 08.12 07:31:31 [Server] INFO Sent test vote: Vote (from:testVote username:jackodirtbiker99 address:1.2.3.4 timeStamp:1386513091417)
Its working, but I get spammed with this with every vote.
2013-12-01 16:38:43 [INFO] Vote -> com.swifteh.VoteSend$VoteServer@4c86b289: Vote (from:MinecraftServersList username:i_pyrex_i address:164.140.16.6 timeStamp:1385937522)
2013-12-01 16:38:43 [SEVERE] java.net.ConnectException Connection refused
2013-12-01 16:38:43 [SEVERE] at java.net.PlainSocketImpl.socketConnect(Native Method)
2013-12-01 16:38:43 [SEVERE] at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
2013-12-01 16:38:43 [SEVERE] at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
2013-12-01 16:38:43 [SEVERE] at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
2013-12-01 16:38:43 [SEVERE] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
2013-12-01 16:38:43 [SEVERE] at java.net.Socket.connect(Socket.java:579)
2013-12-01 16:38:43 [SEVERE] at com.swifteh.VoteSend$1.run(VoteSend.java:153)
2013-12-01 16:38:43 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58)
2013-12-01 16:38:43 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
2013-12-01 16:38:43 [SEVERE] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2013-12-01 16:38:43 [SEVERE] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2013-12-01 16:38:43 [SEVERE] at java.lang.Thread.run(Thread.java:724)
Can someone help? Whever I start my Hub server, I get the following error
[Server] SEVERE at sun.security.rsa.RSAKeyFactory.generatePublic(Unknown Source) [Server] SEVERE at sun.security.rsa.RSAPublicKeyImpl.<init>(Unknown Source) [Server] SEVERE at sun.security.x509.X509Key.decode(Unknown Source) [Server] SEVERE at sun.security.x509.X509Key.decode(Unknown Source)
I get this when I ran the command, "/sendvote T"
07.11 13:25:02 [Server] SEVERE at java.lang.Thread.run(Unknown Source) 07.11 13:25:02 [Server] SEVERE at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 07.11 13:25:02 [Server] SEVERE at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 07.11 13:25:02 [Server] SEVERE at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) 07.11 13:25:02 [Server] SEVERE at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftTask.run(CraftTask.java:58) 07.11 13:25:02 [Server] SEVERE at com.swifteh.VoteSend$1.run(VoteSend.java:145) 07.11 13:25:02 [Server] SEVERE java.lang.NullPointerException 07.11 13:25:02 [Server] INFO Sent test vote: Vote (from:testVote username:T
Any help would be appreciated thanks :)
I don't understand how this is supposed to work? :S Do I install it for all my servers, just my hub, does it work with Bungee? Like, I've no idea what to do :P
@WoZo
I am getting this exact same error. Did you find a solution?
[EDIT] I figured out that it was due to my using the same votifier port numbers for all servers :P I simply changed the ports to be all unique :P Problem solved. AMAZING PLUGIN.
@shmkane
You use the votifier port for each server. Make sure that they are all different if the servers are on the same machine.
@gamingillusion
What did you do?
Does anyone know if you have to include the port of the server if it isn't the default "25565"? Because using a hub server I have 6 servers with all different ports on the same machine so would it be necessary to include the port or just put the same ip for all 6 of them and let the votifer port and public key determine which server is which? Any response is greatly appreciated.
EDIT: Never mind I have figured it out.
No one works on this anymore?
@soulscapex
On the server you wish to "connect"
/plugins/votifier/config.yml (Find the Votifer IP and Port) /plugins/votifer/rsa/public.yml (Find the Votifier public key)
On the "hub" server, or whichever you are using for linking
/plugins/votesend/config.yml (Put the Votifer IP, Port, and Public Key in here, then give your server a name)
After you do that reload the "hub" server and have some people vote :)
Getting this error after voting:
http://pastebin.com/gKt9C3xd
im having such trouble with this.... now on the receieving servers ... what does the ip point too is it suppose to point back to the sendvote ip
cant seem get it working for bungee
Is it possible to make it where if you vote on PMC, it goes through all servers instead of just one while logged in. For example, you set this up and you vote while on a server or off a server that is configged and then get the vote then try and go to another configged version and you would receive the vote there too. Is this possible?
@snapple20
doesn't work when I test it it gives me a large amount of diamonds and spams it all i have is vote send and votifier for the hub.
Click Here for a tutorial on this plugin!
Can anyone please just post a tutorial on this?
Have this installed on my hub server, and console shows the following error, yet the receiving server captures the vote and awards item correctly:
http://pastebin.com/4u1V4bAC
Running BungeeCord with each server on Spigot #1043 Sorted - Was a YML error in the config.
I need help. Someone please respond. I really need to fix voting on my server