From 93ef8e140a900c66d00a09a6dfd197f6a5e2a4ef Mon Sep 17 00:00:00 2001 From: Shinynecrid Date: Sun, 20 Feb 2022 10:45:39 -0600 Subject: [PATCH] Added REGEX Added regex for User Join, Leave, and Chat --- squad-dedicated-server.kvp | 6 +++--- squad-dedicated-serverconfig.json | 2 +- squad-dedicated-servermetaconfig.json | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/squad-dedicated-server.kvp b/squad-dedicated-server.kvp index 4d4a097..a7d2226 100644 --- a/squad-dedicated-server.kvp +++ b/squad-dedicated-server.kvp @@ -26,9 +26,9 @@ App.WorkingDir=403240 App.UseRandomAdminPassword=True Console.AppReadyRegex=^(LogInit: Display: Starting Game\.)|(LogOnline: GotoState: NewState: Playing)$ Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ -Console.UserChatRegex= -Console.UserJoinRegex= -Console.UserLeaveRegex= +Console.UserChatRegex=^\[Chat.*\] \[SteamID\:(?-?\d+)\] (?.+?) \: (?.+)$ +Console.UserJoinRegex=^(?.+?) \(Steam ID\: (?-?\d+)\) has created Squad .*$ +Console.UserLeaveRegex=^LogSquad\: Warning\: Suicide (?.+?)$ Meta.Author=Shinynecrid,IceOfWraith Meta.ConfigManifest=squad-dedicated-serverconfig.json Meta.MetaConfigManifest=squad-dedicated-servermetaconfig.json diff --git a/squad-dedicated-serverconfig.json b/squad-dedicated-serverconfig.json index 98d0405..7fa0720 100644 --- a/squad-dedicated-serverconfig.json +++ b/squad-dedicated-serverconfig.json @@ -33,7 +33,7 @@ "IsFlagArgument": false, "ParamFieldName": "MaxPlayers", "IncludeInCommandLine": false, - "DefaultValue": "50" + "DefaultValue": "100" }, { "DisplayName": "LAN Mode", diff --git a/squad-dedicated-servermetaconfig.json b/squad-dedicated-servermetaconfig.json index dc7c95b..f8b63d3 100644 --- a/squad-dedicated-servermetaconfig.json +++ b/squad-dedicated-servermetaconfig.json @@ -8,6 +8,7 @@ { "ConfigFile": "./SquadGame/ServerConfig/VoteConfig.cfg", "AutoMap": true, - "ConfigType": "kvp" + "ConfigType": "kvp", + "ConfigFormat": "{0}=\"{1}\"" } ] \ No newline at end of file