public class GeyserLegacyPingPassthrough extends Object implements IGeyserPingPassthrough, Runnable
| Constructor and Description |
|---|
GeyserLegacyPingPassthrough(GeyserConnector connector) |
| Modifier and Type | Method and Description |
|---|---|
GeyserPingInfo |
getPingInformation(InetSocketAddress inetSocketAddress)
Get the MOTD of the server displayed on the multiplayer screen
|
static IGeyserPingPassthrough |
init(GeyserConnector connector)
Start legacy ping passthrough thread
|
void |
run() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPingInformationpublic GeyserLegacyPingPassthrough(GeyserConnector connector)
public static IGeyserPingPassthrough init(GeyserConnector connector)
connector - GeyserConnectorpublic GeyserPingInfo getPingInformation(InetSocketAddress inetSocketAddress)
IGeyserPingPassthroughgetPingInformation in interface IGeyserPingPassthroughinetSocketAddress - the ip address of the client pinging the serverCopyright © 2020 GeyserMC. All rights reserved.