package me.AKZOMBIE74;

import com.google.common.io.ByteArrayDataInput;
import com.google.common.io.ByteStreams;
import org.bukkit.entity.Player;
import org.bukkit.plugin.messaging.PluginMessageListener;

/**
 * Created by AKZOMBIE74 on 1/27/2016.
 */
public class PML implements PluginMessageListener{

    private int pc;
    private String[] pList;

    public void onPluginMessageReceived(String channel, Player player, byte[] message) {
        if (!channel.equals("BungeeCord")) {
            return;
        }

        ByteArrayDataInput in = ByteStreams.newDataInput(message);
        String subchannel = in.readUTF();
        if (subchannel.equals("PlayerCount")) {
            // Use the code sample in the 'Response' sections below to read
            // the data.
            String server = in.readUTF(); // Name of server, as given in the arguments
            pc = in.readInt();
        } else if (subchannel.equals("PlayerList")){
            String server = in.readUTF(); // The name of the server you got the player list of, as given in args.
            pList = in.readUTF().split(", ");
        }

    }

    public int getPc() {
        return pc;
    }

    public String[] getPlayerList(){
        return pList;
    }
}

@@ -344,16 +344,52 @@
 %5D pList;
+%0A    private String serverip = null;
 %0A%0A    pu
@@ -1141,24 +1141,206 @@
 );%0A        %7D
+ else if (subchannel.equals(%22ServerIP%22)) %7B%0A            String servername = in.readUTF();%0A            serverip = in.readUTF();%0A            int port = in.readUnsignedShort();%0A        %7D
 %0A%0A    %7D%0A%0A   
@@ -1451,11 +1451,77 @@
 t;%0A    %7D
+%0A%0A    public String getServerip() %7B%0A        return serverip;%0A    %7D
 %0A%7D%0A

Update PML.java