BedrockServerStatus

data class BedrockServerStatus(val description: Description, val players: Players, val version: Version, val ping: Long, val levelName: String, val gameMode: GameMode, val serverUniqueID: String) : ServerStatus

Represents the status of a Minecraft Bedrock server.

This class extends the ServerStatus base class and provides additional properties specific to Bedrock servers, including level name, game mode, and server unique ID.

Constructors

Link copied to clipboard
constructor(description: Description, players: Players, version: Version, ping: Long, levelName: String, gameMode: GameMode, serverUniqueID: String)

Properties

Link copied to clipboard
open override val description: Description

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

Link copied to clipboard

The current game mode of the server, such as SURVIVAL or CREATIVE.

Link copied to clipboard

The name of the level currently loaded on the server.

Link copied to clipboard
open override val ping: Long

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

Link copied to clipboard
open override val players: Players

Information about the players currently online and the maximum capacity.

Link copied to clipboard

The unique identifier of the server instance.

Link copied to clipboard
open override val version: Version

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