Class Config
Represents server config fields
Inherited Members
Namespace: Slipe.Server.Game
Assembly: SlipeServer.dll
Syntax
public class Config
Constructors
| Improve this Doc View SourceConfig()
Create a new config handler
Declaration
public Config()
Properties
| Improve this Doc View SourceAnalogKeySyncInterval
Minimum gap between joystick partial axes movement updates being sent to the server. (Full axes movement is treated as key sync and is not limited by this setting)
Declaration
public int AnalogKeySyncInterval { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
BandwidthReduction
The bandwidth reduction setting
Declaration
public BandwidthReduction BandwidthReduction { get; set; }
Property Value
Type | Description |
---|---|
BandwidthReduction |
CameraSyncInterval
How often to tell the server of any client side changes to the local players camera position and target.
Declaration
public int CameraSyncInterval { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
FpsLimit
The FPS limit of this server
Declaration
public int FpsLimit { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
LightweightSyncInterval
Time between updates for very far away players
Declaration
public int LightweightSyncInterval { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
MinClientVersion
The minimal client version for connecting players
Declaration
public string MinClientVersion { get; set; }
Property Value
Type | Description |
---|---|
String |
MouseKeySyncInterval
Minimum gap between mouse movement updates being sent to the server
Declaration
public int MouseKeySyncInterval { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
NetworkEncryption
Whether to use network encryption or not
Declaration
public bool NetworkEncryption { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Password
The password of this server
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
String |
PedSyncInterval
Time between updates for non-player peds
Declaration
public int PedSyncInterval { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
PermanentSaveFlag
If set to true, changes to the server config are permanent as opposed to lasting till next server restart
Declaration
public bool PermanentSaveFlag { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
PlayerSyncInterval
Time between key sync correction updates for players. (Note: Player key sync is always done on demand and is not affected by any setting)
Declaration
public int PlayerSyncInterval { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
RecommendedClientVersion
The recommended client version for connecting players
Declaration
public string RecommendedClientVersion { get; set; }
Property Value
Type | Description |
---|---|
String |
UnoccupiedVehicleSyncInterval
Time between updates for unoccupied vehicles
Declaration
public int UnoccupiedVehicleSyncInterval { get; set; }
Property Value
Type | Description |
---|---|
Int32 |