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.
I got 3 servers. Do i need to make it like this?
Server 1 - lobby = (links to other servers)
- Votifier - Votesend
Server 2 - Survival
- Votifier
Server 3 - PvP
- votifier
Thanks.
This looks great! I am going to try this out for my upcoming server.
You are amazing for making this plugin! Thanks so much :D
I get this error: http://pastebin.com/rP68xs6r
@cuddyier
Thanks. Will use it :)
@Waterflow
Yep, exactly.
So for this I must install Votifier on Lobby Server and put the data of lobby-votifier on the serverlists?
@swifteh3146
Can I put it in the plugin folder for BungeeCord? or it has to be one seperate hub server? Thanks :)
@ravand
Just the hub server :)
@AbbyMaeTaylor
You can use this on your hub... use Votifier and this on the hub server, and then Votifier and a listener on each other server.
@benneht
oh hai :D
Can you make a plugin like this for BungeeCord plugin? Thanks
EDIT: Awesome works like a charm :) love you man
@swifteh3146
Oooh so it seems i misunderstood the concept of this plugin, its not really sharing the votes in terms of its sharing the reward but it sends a vote to the other server which can then use its own rewards right?
EDIT: Question: Do we have to install votesend on every server? Or just the hub server?
Hi swifteh! -AfroChikken
@ravand
Fixed in new version which is awaiting approval.
I've chosen this method instead of specifying the commands so that you can still use your existing listener on the other servers.
If you would like custom commands to be executed you could do this by sending a custom Service Name with the 'Custom' option in the config file. You could then set up the listener to behave differently for votes received from that service.
http://pastebin.com/3tAbaeST
EDIT: Also i think its a better idea to not share the votes, because this would mean they would get the same reward on all of the servers. I think a better idea is to send the players name and commands, which are chosen in the config, to the server! This way you can have custom vote rewards on every server!
I hope you will consider this!
Thanks in advance
Looks good. :)