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
DescriptionstringThe two lines shown where the MOTD normally goes.
VersionNamestringShown next to the player count, e.g. "1.21.1".
MaxPlayersintThe "0/max" the client draws.
IconPathstringThe server's
server-icon.png, or null for the default icon.DisconnectMessagestringShown full-screen to whoever presses Join.
Properties
Description
The two lines shown where the MOTD normally goes.
public string Description { get; init; }
Property Value
DisconnectMessage
Shown full-screen to whoever presses Join.
public string DisconnectMessage { get; init; }
Property Value
IconPath
The server's server-icon.png, or null for the default icon.
public string? IconPath { get; init; }
Property Value
MaxPlayers
The "0/max" the client draws.
public int MaxPlayers { get; init; }
Property Value
VersionName
Shown next to the player count, e.g. "1.21.1".
public string VersionName { get; init; }