update: Hide Stealth Players from Spec List (untested)

fix: DefaultServerIP throws error if port not provided
This commit is contained in:
Sachin 2025-02-19 17:39:12 +05:30
parent bd7f4ed40f
commit bf4cd656be
4 changed files with 65 additions and 7 deletions

View file

@ -245,11 +245,14 @@ public class OtherSettings
[JsonPropertyName("AdditionalCommandsToLog")]
public List<string> AdditionalCommandsToLog { get; set; } = new();
[JsonPropertyName("HideStealthPlayersFromSpecList")]
public bool HideStealthPlayersFromSpecList {get; set; } = false;
}
public class CS2_SimpleAdminConfig : BasePluginConfig
{
[JsonPropertyName("ConfigVersion")] public override int Version { get; set; } = 24;
[JsonPropertyName("ConfigVersion")] public override int Version { get; set; } = 25;
[JsonPropertyName("DatabaseHost")]
public string DatabaseHost { get; set; } = "";