Class ServerSettings
Settings for RageCoop Server
Inherited Members
Namespace: RageCoop.Server
Assembly: RageCoop.Server.dll
Syntax
public class ServerSettings
Properties
| Improve this Doc View SourceAllowedUsernameChars
List of all allowed username characters
Declaration
public string AllowedUsernameChars { get; set; }
Property Value
Type | Description |
---|---|
String |
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 |
Description
The description to be shown on master server
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
String |
GameMode
The game mode to be shown on master server
Declaration
public string GameMode { get; set; }
Property Value
Type | Description |
---|---|
String |
Language
The language to be shown on master server
Declaration
public string Language { get; set; }
Property Value
Type | Description |
---|---|
String |
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 |
WeatherTimeSync
If enabled, all clients will have same weather and time as host
Declaration
public bool WeatherTimeSync { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Website
The website address to be shown on master server
Declaration
public string Website { get; set; }
Property Value
Type | Description |
---|---|
String |
WelcomeMessage
The message to send when a client connected (not visible to others)
Declaration
public string WelcomeMessage { get; set; }
Property Value
Type | Description |
---|---|
String |