Update Vintage Story Regex (#383)

The latest version includes the date at the beginning of the line. Updated the regex to handle new and old versions.

`31.5.2023 18:52:33 [Server Event] Dedicated Server now running on Port 40027 and all ips!`
This commit is contained in:
IceOfWraith 2023-05-31 22:37:48 -05:00 committed by GitHub
parent 5e78d0c028
commit 721bb1e031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,10 +69,10 @@ App.TemplateMatchRegex={{(\$?[\w]+)}}
Console.FilterMatchRegex= Console.FilterMatchRegex=
Console.FilterMatchReplacement= Console.FilterMatchReplacement=
Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$ Console.ThrowawayMessageRegex=^(WARNING|ERROR): Shader.+$
Console.AppReadyRegex=^[\d:]+ \[Server Event\] Dedicated Server now running on Port \d+ and (all ips|ip .*)!$ Console.AppReadyRegex=^[\d.]*\s*[\d:]+ \[Server Event\] Dedicated Server now running on Port \d+ and (all ips|ip .*)!$
Console.UserJoinRegex=^[\d:]+ \[Server Event\] (?<username>.+?) [\[\]a-f\d:.]+ joins\.$ Console.UserJoinRegex=^[\d.]*\s*[\d:]+ \[Server Event\] (?<username>.+?) [\[\]a-f\d:.]+ joins\.$
Console.UserLeaveRegex=^[\d:]+ \[Server Event\] Player (?<username>.+?) (left|got removed\. Reason: Server shutting down - Shutdown via server command).*$ Console.UserLeaveRegex=^[\d.]*\s*[\d:]+ \[Server Event\] Player (?<username>.+?) (left|got removed\. Reason: Server shutting down - Shutdown via server command).*$
Console.UserChatRegex=^[\d:]+ \[Server Chat\] (?<username>.+?): <strong>(?<username>.+?):</strong> (?<message>.+)$ Console.UserChatRegex=^[\d.]*\s*[\d:]+ \[Server Chat\] (?<username>.+?): <strong>(?<username>.+?):</strong> (?<message>.+)$
Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$ Console.UpdateAvailableRegex=^\[\d\d:\d\d:\d\d\] \[INFO\] A new server update is available! v[\d\.]+.$
Console.MetricsRegex= Console.MetricsRegex=
Console.SuppressLogAtStart=False Console.SuppressLogAtStart=False