forked from cswimr/SeaCogs
fix(pterodactyl): detect messages sent through /say
This commit is contained in:
parent
385c94c97e
commit
1263f59cee
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
||||||
### Chat
|
### Chat
|
||||||
|
|
||||||
```re
|
```re
|
||||||
\[\d{2}:\d{2}:\d{2}\sINFO\]: <(\w+)>\s(.*)
|
\[\d{2}:\d{2}:\d{2}\sINFO\]: (?:<|\[)(\w+)(?:>|\]) (.*)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Join
|
### Join
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
### Chat
|
### Chat
|
||||||
|
|
||||||
```re
|
```re
|
||||||
^\[\d{2}:\d{2}:\d{2}\] \[Server thread\/INFO\] \[minecraft\/MinecraftServer\]: <(\w+)>\s(.*)
|
^\[\d{2}:\d{2}:\d{2}\] \[Server thread\/INFO\] \[minecraft\/MinecraftServer\]: (?:<|\[)(\w+)(?:>|\]) (.*)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Join
|
### Join
|
||||||
|
|
|
@ -10,7 +10,7 @@ def register_config(config_obj: Config) -> None:
|
||||||
startup_jar=None,
|
startup_jar=None,
|
||||||
startup_arguments=None,
|
startup_arguments=None,
|
||||||
current_status='',
|
current_status='',
|
||||||
chat_regex=r"\[\d{2}:\d{2}:\d{2}\sINFO\]: <(\w+)>\s(.*)",
|
chat_regex=r"\[\d{2}:\d{2}:\d{2}\sINFO\]: (?:<|\[)(\w+)(?:>|\]) (.*)",
|
||||||
server_regex=r"^\[\d{2}:\d{2}:\d{2} INFO\]:(?: \[Not Secure\])? \[(?:Server|Rcon)\] (.*)",
|
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$",
|
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$",
|
leave_regex=r"^\[\d{2}:\d{2}:\d{2} INFO\]: ([^<\n]+) left the game$",
|
||||||
|
|
Loading…
Reference in a new issue