Added REGEX

Added regex for User Join, Leave, and Chat
This commit is contained in:
Shinynecrid 2022-02-20 10:45:39 -06:00
parent f3e5166835
commit 93ef8e140a
3 changed files with 6 additions and 5 deletions

View File

@ -26,9 +26,9 @@ App.WorkingDir=403240
App.UseRandomAdminPassword=True App.UseRandomAdminPassword=True
Console.AppReadyRegex=^(LogInit: Display: Starting Game\.)|(LogOnline: GotoState: NewState: Playing)$ Console.AppReadyRegex=^(LogInit: Display: Starting Game\.)|(LogOnline: GotoState: NewState: Playing)$
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
Console.UserChatRegex= Console.UserChatRegex=^\[Chat.*\] \[SteamID\:(?<userid>-?\d+)\] (?<username>.+?) \: (?<message>.+)$
Console.UserJoinRegex= Console.UserJoinRegex=^(?<username>.+?) \(Steam ID\: (?<userid>-?\d+)\) has created Squad .*$
Console.UserLeaveRegex= Console.UserLeaveRegex=^LogSquad\: Warning\: Suicide (?<username>.+?)$
Meta.Author=Shinynecrid,IceOfWraith Meta.Author=Shinynecrid,IceOfWraith
Meta.ConfigManifest=squad-dedicated-serverconfig.json Meta.ConfigManifest=squad-dedicated-serverconfig.json
Meta.MetaConfigManifest=squad-dedicated-servermetaconfig.json Meta.MetaConfigManifest=squad-dedicated-servermetaconfig.json

View File

@ -33,7 +33,7 @@
"IsFlagArgument": false, "IsFlagArgument": false,
"ParamFieldName": "MaxPlayers", "ParamFieldName": "MaxPlayers",
"IncludeInCommandLine": false, "IncludeInCommandLine": false,
"DefaultValue": "50" "DefaultValue": "100"
}, },
{ {
"DisplayName": "LAN Mode", "DisplayName": "LAN Mode",

View File

@ -8,6 +8,7 @@
{ {
"ConfigFile": "./SquadGame/ServerConfig/VoteConfig.cfg", "ConfigFile": "./SquadGame/ServerConfig/VoteConfig.cfg",
"AutoMap": true, "AutoMap": true,
"ConfigType": "kvp" "ConfigType": "kvp",
"ConfigFormat": "{0}=\"{1}\""
} }
] ]