Interface IGeyserPingPassthrough

All Known Implementing Classes:
GeyserLegacyPingPassthrough

public interface IGeyserPingPassthrough
Interface that retrieves ping passthrough information from the Java server
  • Method Details

    • getPingInformation

      @Nullable GeyserPingInfo getPingInformation(InetSocketAddress inetSocketAddress)
      Gets the ping information, including the MOTD and player count, from the server
      Parameters:
      inetSocketAddress - the ip address of the client pinging the server
      Returns:
      the ping information
    • getPingInformation

      default @Nullable GeyserPingInfo getPingInformation(InetSocketAddress inetSocketAddress, @Nullable InetSocketAddress virtualHost)
      Gets the ping information, including the MOTD and player count, from the server
      Parameters:
      inetSocketAddress - the ip address of the client pinging the server
      virtualHost - the hostname and port the client pinged, if known. RakNet pings do not include it.
      Returns:
      the ping information