mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
make connection attempts for CoD configurable as "ServerConnectionAttempts"
This commit is contained in:
@ -150,6 +150,8 @@ namespace SharedLibraryCore.Configuration
|
||||
|
||||
[ConfigurationIgnore]
|
||||
public TimeSpan ServerDataCollectionInterval { get; set; } = TimeSpan.FromMinutes(5);
|
||||
|
||||
public int ServerConnectionAttempts { get; set; } = 6;
|
||||
|
||||
[ConfigurationIgnore]
|
||||
public Dictionary<Permission, string> OverridePermissionLevelNames { get; set; } = Enum
|
||||
|
@ -64,9 +64,5 @@ namespace SharedLibraryCore.RCon
|
||||
/// interval in milliseconds to wait before sending the next RCon request
|
||||
/// </summary>
|
||||
public static readonly int FloodProtectionInterval = 750;
|
||||
/// <summary>
|
||||
/// how many failed connection attempts before aborting connection
|
||||
/// </summary>
|
||||
public static readonly int AllowedConnectionFails = 5;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user