Class GeyserSpongePingPassthrough
java.lang.Object
org.geysermc.geyser.platform.sponge.GeyserSpongePingPassthrough
- All Implemented Interfaces:
IGeyserPingPassthrough
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPingInformation(InetSocketAddress inetSocketAddress)Get the MOTD of the server displayed on the multiplayer screenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.ping.IGeyserPingPassthrough
getPingInformation
-
Constructor Details
-
GeyserSpongePingPassthrough
public GeyserSpongePingPassthrough()
-
-
Method Details
-
getPingInformation
Description copied from interface:IGeyserPingPassthroughGet the MOTD of the server displayed on the multiplayer screen- Specified by:
getPingInformationin interfaceIGeyserPingPassthrough- Parameters:
inetSocketAddress- the ip address of the client pinging the server- Returns:
- string of the MOTD
-