Server info is meant to help client mods which use per-server settings to differentiate between different servers on a bungee cord proxy. The mod needs to know about and listen to this plugin in order to benefit from it.
Install the plugin by dropping the jar into the plugins folder of your bungee environment. This is not made to work using bukkit. If you wish to allow the clients to see connected players, enable it in the config.
The plugin channel's name you want to listen to is bungee-serverinfo
.
See this for help with packets.
The recieved data will be in the form of a json string. This is the format:
{
"name": "Server's Name",
"motd": "Server's MOTD",
"playerList": [
"player1",
"player2"
]
}
name
is the name the server was given in bungee's configuration file.motd
is the message of the day, gotten directly from the server.playerList
is the array of players currently on the server. This value may not exist depending on the server's configuration.