diff --git a/paper-api/src/main/java/com/destroystokyo/paper/network/StatusClient.java b/paper-api/src/main/java/com/destroystokyo/paper/network/StatusClient.java index 517d15238e..a8437bbd80 100644 --- a/paper-api/src/main/java/com/destroystokyo/paper/network/StatusClient.java +++ b/paper-api/src/main/java/com/destroystokyo/paper/network/StatusClient.java @@ -10,4 +10,16 @@ import com.destroystokyo.paper.event.server.PaperServerListPingEvent; */ public interface StatusClient extends NetworkClient { + /** + * Returns whether the client is using an older version that doesn't + * support all the features in {@link PaperServerListPingEvent}. + * + *

For Vanilla, this returns {@code true} for all clients older than 1.7.

+ * + * @return {@code true} if the client is using legacy ping + */ + default boolean isLegacy() { + return false; + } + }