feat(pterodactyl): server status will persist through reloads
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 18s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 22s

This commit is contained in:
SeaswimmerTheFsh 2024-03-01 00:02:42 -05:00
parent a4f68d55eb
commit d39f0ba104
Signed by: cswimr
GPG key ID: B8953EC01E5C4063
2 changed files with 18 additions and 7 deletions

View file

@ -10,7 +10,7 @@ def register_config(config_obj: Config) -> None:
console_channel=None,
startup_jar=None,
startup_arguments=None,
power_action_in_progress=False,
current_status='',
chat_regex=r"\[(\d{2}:\d{2}:\d{2})\sINFO\]:\s<(\w+)>\s(.*)",
server_regex=r"^\[\d{2}:\d{2}:\d{2} INFO\]: \[Not Secure\] \[.*\] (.*)",
chat_command='tellraw @a ["",{"text":".$U ","color":".$C"},{"text":" (DISCORD): ","color":"blue"},{"text":".$M","color":"white"}]',