Interface IGeyserPingPassthrough

All Known Implementing Classes:
GeyserBungeePingPassthrough, GeyserLegacyPingPassthrough, GeyserSpigotPingPassthrough, GeyserSpongePingPassthrough, GeyserVelocityPingPassthrough

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

    • getPingInformation

      default GeyserPingInfo getPingInformation()
      Get the MOTD of the server displayed on the multiplayer screen. It uses a fake remote, as the remote isn't important in this context.
      Returns:
      string of the MOTD
    • getPingInformation

      GeyserPingInfo getPingInformation(InetSocketAddress inetSocketAddress)
      Get the MOTD of the server displayed on the multiplayer screen
      Parameters:
      inetSocketAddress - the ip address of the client pinging the server
      Returns:
      string of the MOTD