Skip to content

API reference Obsidian.API

ServerStatus class

public sealed class ServerStatus

In Obsidian.API.

Constructors

ServerStatus(IServer, string, bool)

public ServerStatus(IServer server, string serverIcon, bool anonymous = false);

Generates a server status from the specified server.

Properties

public ServerDescription Description { get; }

Favicon

public string Favicon { get; set; }

This is a base64 png image, that has dimensions of 64x64.

IsModded

public bool IsModded { get; set; }

Whether plugins registered payload channels, so connecting may need client mods. NeoForge clients read this field of the status response to mark the server as modded.

public ServerPlayers Players { get; }public ServerVersion Version { get; }

On this page