Class ServerSettings
Settings for RageCoop Server
Inherited Members
Namespace: RageCoop.Server
Assembly: RageCoop.Server.dll
Syntax
public class ServerSettings
Properties
AnnounceSelf
Whether or not to announce this server so it'll appear on server list.
Declaration
public bool AnnounceSelf { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
LogLevel
See LogLevel.
Declaration
public int LogLevel { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
MasterServer
Master server address, mostly doesn't need to be changed.
Declaration
public string MasterServer { get; set; }
Property Value
Type | Description |
---|---|
String |
MaxLatency
Maximum latency allowed for a client, a client will be kicked if it's latency it's higher than this value
Declaration
public int MaxLatency { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
MaxPlayers
Maximum number of players on this server
Declaration
public int MaxPlayers { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Name
The server name to be shown on master server
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
NpcStreamingDistance
NPC data won't be sent to a player if their distance is greater than this value. -1 for unlimited.
Declaration
public float NpcStreamingDistance { get; set; }
Property Value
Type | Description |
---|---|
Single |
PlayerStreamingDistance
Player's data won't be sent to another player if their distance is greater than this value. -1 for unlimited.
Declaration
public float PlayerStreamingDistance { get; set; }
Property Value
Type | Description |
---|---|
Single |
Port
Port to listen for incoming connections
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
WelcomeMessage
The message to send when a client connected (not visible to others)
Declaration
public string WelcomeMessage { get; set; }
Property Value
Type | Description |
---|---|
String |