fix(pterodactyl): changed a regex pattern default

This commit is contained in:
Seaswimmer 2024-03-02 15:11:26 -05:00
parent eb5fdfa84e
commit 1f51cb2a27
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -10,7 +10,7 @@ def register_config(config_obj: Config) -> None:
startup_jar=None,
startup_arguments=None,
current_status='',
chat_regex=r"\[(\d{2}:\d{2}:\d{2})\sINFO\]:\s<(\w+)>\s(.*)",
chat_regex=r"\[\d{2}:\d{2}:\d{2}\sINFO\]: <(\w+)>\s(.*)",
server_regex=r"^\[\d{2}:\d{2}:\d{2} INFO\]:(?: \[Not Secure\])? \[(?:Server|Rcon)\] (.*)",
join_regex=r"^\[\d{2}:\d{2}:\d{2} INFO\]: ([^<\n]+) joined the game$",
leave_regex=r"^\[\d{2}:\d{2}:\d{2} INFO\]: ([^<\n]+) left the game$",