Class Configuration
  
  
  
    Inheritance
    
    Configuration
   
  
  
  Assembly: SlipeServer.Server.dll
  Syntax
  
    public class Configuration
   
  Properties
  
    |
    Edit this page
  
  
    View Source
  
  
  AllowDriveByAnimationFix
  
  
  Declaration
  
    public bool AllowDriveByAnimationFix { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  AllowFastSprintFix
  
  
  Declaration
  
    public bool AllowFastSprintFix { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  AllowShotgunDamageFix
  
  
  Declaration
  
    public bool AllowShotgunDamageFix { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  AntiCheat
  
  
  Declaration
  
    public AntiCheatConfiguration AntiCheat { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  BitStreamVersion
  Bitstream version used by the server.
Only needs editing if you implement additional packet handling / packet changes that were implemented in a newer version of MTA
 
  
  Declaration
  
    public ushort BitStreamVersion { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  BulletSyncEnabledWeapons
  Weapon ids that will triggered bullet sync packets to be sent to the server.
 
  
  Declaration
  
    public WeaponId[] BulletSyncEnabledWeapons { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  DebugPort
  Server UDP port for players to connect to using a debug build of MTA
Leaving this null will not allow debug clients to connect
 
  
  Declaration
  
    public ushort? DebugPort { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  ExplosionSyncDistance
  In-game distance to sync explosions, any player within this distance from an explosion will be informed of the explosion
 
  
  Declaration
  
    public float ExplosionSyncDistance { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Host
  Server host IP address, usually left 0.0.0.0
 
  
  Declaration
  
    [MaxLength(15)]
public string Host { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  HttpConnectionsPerClient
  Maximum HTTP connections allowed per client
 
  
  Declaration
  
    public int HttpConnectionsPerClient { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  HttpHost
  HTTP host to listen to for built-in HTTP server for serving resource files
 
  
  Declaration
  
    public string HttpHost { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  HttpPort
  HTTP port to listen to for built-in HTTP server for serving resource files
 
  
  Declaration
  
    public ushort HttpPort { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  HttpUrl
  HTTP URL for an external HTTP server for serving resource files
 
  
  Declaration
  
    public string? HttpUrl { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  IsFakeLagCommandEnabled
  Sets whether fake lag is enabled
 
  
  Declaration
  
    public bool IsFakeLagCommandEnabled { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  IsVoiceEnabled
  Sets whether voice chat is enabled
 
  
  Declaration
  
    public bool IsVoiceEnabled { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  LatentBandwidthLimit
  Amount of bytes worth of latent packets to send per second
 
  
  Declaration
  
    public uint LatentBandwidthLimit { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  LatentSendInterval
  Interval in milliseconds between latent packets to be sent
 
  
  Declaration
  
    public ushort LatentSendInterval { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  LightSyncRange
  Distance after which a player should be light-synced. Meaning it receives less frequent updates, and is not visible on the client.
 
  
  Declaration
  
    public float LightSyncRange { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  MaxPlayerCount
  
  
  Declaration
  
    public ushort MaxPlayerCount { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  MinVersion
  Minimum version for connecting clients
 
  
  Declaration
  
    public Version MinVersion { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Password
  
  
  Declaration
  
    [MaxLength(128)]
public string? Password { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  PedSyncerDistance
  Distance used to determine what client should sync a ped
 
  
  Declaration
  
    public int PedSyncerDistance { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  Port
  Server UDP port players connect to
Note: A server's ASE port will be this value + 123
 
  
  Declaration
  
    public ushort Port { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  ResourceDirectory
  Directory to server client-side Lua resources from
 
  
  Declaration
  
    public string ResourceDirectory { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  ServerName
  Server name, as it will appear in the server browser.
 
  
  Declaration
  
    [MaxLength(128)]
public string ServerName { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  SyncIntervals
  Intervals for player sync
 
  
  Declaration
  
    public SyncIntervals SyncIntervals { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  UnoccupiedVehicleSyncerDistance
  Distance used to determine what client should syc an unoccupied vehicle
 
  
  Declaration
  
    public int UnoccupiedVehicleSyncerDistance { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  UseAlternativePulseOrder
  
  
  Declaration
  
    public bool UseAlternativePulseOrder { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public short VehicleExtrapolationBaseMilliseconds { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public short VehicleExtrapolationMaxMilliseconds { get; set; }
   
  Property Value
  
  
    |
    Edit this page
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public short VehicleExtrapolationPercentage { get; set; }
   
  Property Value