API reference Obsidian.API.Configuration
IntegratedConfiguration class
Settings of the Integrated section, used when a game client runs the server for one singleplayer world and controls it over standard input and output (see docs/integrated-server.md).
public sealed class IntegratedConfiguration
In Obsidian.API.
Constructors
public IntegratedConfiguration();Properties
Enabled
public bool Enabled { get; set; }Whether the server runs as a client's integrated server.
JoinSecret
public string JoinSecret { get; set; }The per-launch secret the local player answers the login query with, passed in the environment (Integrated__JoinSecret) rather than on the command line.
LanAddress
public string LanAddress { get; set; }The address the world listens on once it's opened to LAN: every interface by default, like vanilla. Tests set 127.0.0.1, which needs no firewall permission.
LocalPlayerName
public string LocalPlayerName { get; set; }The name of the client's own player, who joins with IntegratedConfiguration.JoinSecret instead of Mojang authentication.
LocalPlayerUuid
public Guid LocalPlayerUuid { get; set; }The UUID the local player plays with.
WorldPath
public string WorldPath { get; set; }The world folder, laid out like a vanilla save. The server loads exactly this world instead of config/worlds.json, and creates it from the NewWorld settings when it has no level.dat.