Package com.destroystokyo.paper.network
Interface StatusClient
- All Superinterfaces:
NetworkClient
Represents a client requesting the current status from the server (e.g. from
the server list).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
isLegacy()
Returns whether the client is using an older version that doesn't support all of the features inPaperServerListPingEvent
.Methods inherited from interface com.destroystokyo.paper.network.NetworkClient
getAddress, getProtocolVersion, getVirtualHost
-
Method Details
-
isLegacy
default boolean isLegacy()Returns whether the client is using an older version that doesn't support all of the features inPaperServerListPingEvent
.For Vanilla, this returns
true
for all clients older than 1.7.- Returns:
true
if the client is using legacy ping
-