ServerStatus

sealed class ServerStatus

Represents the status of a server.

This class serves as a sealed base for different types of server status implementations, such as JavaServerStatus or BedrockServerStatus.

Inheritors

Properties

Link copied to clipboard

Description of the server, often referred to as the MOTD text.

Link copied to clipboard
abstract val ping: Long?

The time taken to ping the server, measured in milliseconds.

Link copied to clipboard
abstract val players: Players

Information about the players currently online and the maximum capacity.

Link copied to clipboard
abstract val version: Version

Information about the server's version, including name and protocol.