Package org.geysermc.geyser.ping
Interface IGeyserPingPassthrough
- All Known Implementing Classes:
GeyserLegacyPingPassthrough
public interface IGeyserPingPassthrough
Interface that retrieves ping passthrough information from the Java server
-
Method Summary
Modifier and TypeMethodDescription@Nullable GeyserPingInfogetPingInformation(InetSocketAddress inetSocketAddress) Gets the ping information, including the MOTD and player count, from the server
-
Method Details
-
getPingInformation
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
-