Class Settings
Settings for RageCoop Server
Inherited Members
Namespace: RageCoop.Server
Assembly: RageCoop.Server.dll
Syntax
public class Settings
Fields
ZeroTierNetworkID
The zerotier network id to join, default value is zerotier's public Earth network.
Declaration
public string ZeroTierNetworkID
Field Value
Type | Description |
---|---|
String |
Properties
AllowedUsernameChars
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 |
UseP2P
Whether to use direct connection between players to send entity information, UseZeroTier needs to be enabled if on WAN for this feature to function properly.
Declaration
public bool UseP2P { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
UseVoice
Use in-game voice chat to communicate with other players
Declaration
public bool UseVoice { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
UseZeroTier
Whether to enable zerotier VLAN functionality, allowing you to host a server behind NAT firewall, no port forward required.
Declaration
public bool UseZeroTier { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
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 |