Table of Contents

Class WakeStatus

Namespace
McServerLauncher.Services
Assembly
McServerLauncher.dll

What a client is told about a server that is currently asleep.

public record WakeStatus : IEquatable<WakeStatus>
Inheritance
WakeStatus
Implements
Inherited Members

Constructors

WakeStatus(string, string, int, string?, string)

What a client is told about a server that is currently asleep.

public WakeStatus(string Description, string VersionName, int MaxPlayers, string? IconPath, string DisconnectMessage)

Parameters

Description string

The two lines shown where the MOTD normally goes.

VersionName string

Shown next to the player count, e.g. "1.21.1".

MaxPlayers int

The "0/max" the client draws.

IconPath string

The server's server-icon.png, or null for the default icon.

DisconnectMessage string

Shown full-screen to whoever presses Join.

Properties

Description

The two lines shown where the MOTD normally goes.

public string Description { get; init; }

Property Value

string

DisconnectMessage

Shown full-screen to whoever presses Join.

public string DisconnectMessage { get; init; }

Property Value

string

IconPath

The server's server-icon.png, or null for the default icon.

public string? IconPath { get; init; }

Property Value

string

MaxPlayers

The "0/max" the client draws.

public int MaxPlayers { get; init; }

Property Value

int

VersionName

Shown next to the player count, e.g. "1.21.1".

public string VersionName { get; init; }

Property Value

string