EmilHernvall/tregmine — pull request #242 by JoshMorgan (2013-12-24 10:02:51+00:00)
Title: Initial Commit for a plugin to comunicate with BungeeCord

A few months ago @EmilHernvall mentioned running multiple servers as a part of 1 "network", I looked into 2 different resources for connecting the servers together, they were BungeeCord and LilyPad. In the end I decided that we should use probably try to use BungeeCord, because it surpases Lilypad in functionality, versatility, simplicity, ingenuity and support base.

This commit is to get the ball rolling, It includes:
* The Base for the plugin (plugin.yml ect)
* A simple cross server command to show how to interact with other servers (/hub or /lobby)
* And a ServerPing class, which will be used to get info from a server, like the max players, online players and a few other things

To save you guys time I have put together a zip file which contains a bungeecord network that i set up yesterday, for it to work you will need to open the following ports on the machine you choose to test it on:

*** Port : Reason ***
25564 : The demo Survival Server runs on this port (would be the normal world on tregmine)
25565 : BungeeCord _MUST_ run on this port if you dont want the players to have to type in the server port when they join the server
25566 : The demo Creative Server runs on this port
25567 : The demo Network Hub Server runs on this port (when you join the server on port 25565 u hit bungeecord, get put behind a proxy and connected to this server)
*********************

To start the demo Network up on your own machine you will need to open the above ports, then run the 4 batch files that i made, one in each directory inside the "Bungee Server" folder.
Demo Network download: https://drive.google.com/file/d/0B6zlQN0tXDtFX0c0UmdwcnN3alE

I'll try and leave a demo network online on my laptop for tonight atleast. Here is the ip: 124.177.23.47
To switch between servers type /server , and to try out the hub command go to any server other than hub and type /hub or /lobby

If you have ANY problems what so ever setting this up, then give me a buzz, I will be more than happy to help.