Interface Server

  • All Superinterfaces:
    Connection

    public interface Server
    extends Connection
    Represents a destination which this proxy might connect to.
    • Method Detail

      • getInfo

        ServerInfo getInfo()
        Returns the basic information about this server.
        Returns:
        the ServerInfo for this server
      • sendData

        void sendData​(String channel,
                      byte[] data)
        Send data by any available means to this server. In recent Minecraft versions channel names must contain a colon separator and consist of [a-z0-9/._-]. This will be enforced in a future version. The "BungeeCord" channel is an exception and may only take this form.
        Parameters:
        channel - the channel to send this data via
        data - the data to send