Class ServerConfiguration
- Namespace
- Obsidian.API.Configuration
- Assembly
- Obsidian.API.dll
public sealed class ServerConfiguration
- Inheritance
-
ServerConfiguration
- Inherited Members
Constructors
ServerConfiguration()
public ServerConfiguration()
Properties
AllowLan
Allows the server to advertise itself as a LAN server to devices on your network.
public bool AllowLan { get; set; }
Property Value
AllowOperatorRequests
Allow people to requests to become an operator.
public bool AllowOperatorRequests { get; set; }
Property Value
AllowUntrustedPlugins
Whether to allow the server to load untrusted(unsigned) plugins
public bool AllowUntrustedPlugins { get; set; }
Property Value
Baah
public bool? Baah { get; set; }
Property Value
- bool?
EnableRcon
Enabled Remote Console operation.
public bool EnableRcon { get; }
Property Value
Remarks
See more at https://wiki.vg/RCON
EntityBroadcastRangePercentage
public ushort EntityBroadcastRangePercentage { get; set; }
Property Value
MaxPlayers
Maximum amount of players that is allowed to be connected at the same time.
public int MaxPlayers { get; set; }
Property Value
Messages
Messages that the server will use by default for various actions.
public MessagesConfiguration Messages { get; set; }
Property Value
Motd
Server description.
public string Motd { get; set; }
Property Value
Network
Network Configuration
public NetworkConfiguration Network { get; set; }
Property Value
OnlineMode
Whether the server uses MojangAPI for loading skins etc.
public bool OnlineMode { get; set; }
Property Value
Port
The port on which to listen for incoming connection attempts.
public int Port { get; set; }
Property Value
PregenerateChunkRange
public int PregenerateChunkRange { get; set; }
Property Value
Rcon
Remote Console configuration
public RconConfiguration? Rcon { get; set; }
Property Value
ServerListQuery
public ServerListQuery ServerListQuery { get; set; }
Property Value
ServerShutdownStopsProgram
public bool ServerShutdownStopsProgram { get; set; }
Property Value
SimulationDistance
public byte SimulationDistance { get; set; }
Property Value
TimeTickSpeedMultiplier
public int TimeTickSpeedMultiplier { get; set; }
Property Value
ViewDistance
The view distance of the server.
public byte ViewDistance { get; set; }
Property Value
Remarks
Players with higher view distance will use the server's view distance.
Whitelist
public bool Whitelist { get; set; }