Interface RemoteServer


public interface RemoteServer
Represents the Java server that Geyser is connecting to.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the IP address of the remote server.
    Gets the AuthType required by the remote server.
    Gets the Minecraft version of the remote server.
    int
    Gets the port of the remote server.
    int
    Gets the protocol version of the remote server.
    boolean
    Gets if we should attempt to resolve the SRV record for this server.
  • Method Details

    • address

      String address()
      Gets the IP address of the remote server.
      Returns:
      the IP address of the remote server
    • port

      int port()
      Gets the port of the remote server.
      Returns:
      the port of the remote server
    • protocolVersion

      int protocolVersion()
      Gets the protocol version of the remote server.
      Returns:
      the protocol version of the remote server
    • minecraftVersion

      String minecraftVersion()
      Gets the Minecraft version of the remote server.
      Returns:
      the Minecraft version of the remote server
    • authType

      AuthType authType()
      Gets the AuthType required by the remote server.
      Returns:
      the auth type required by the remote server
    • resolveSrv

      boolean resolveSrv()
      Gets if we should attempt to resolve the SRV record for this server.
      Returns:
      if we should attempt to resolve the SRV record for this server