SeaCogs/.docs/pterodactyl/regex.md
SeaswimmerTheFsh 1263f59cee
All checks were successful
Actions / Lint Code (Ruff & Pylint) (push) Successful in 20s
Actions / Build Documentation (MkDocs) (push) Successful in 23s
fix(pterodactyl): detect messages sent through /say
2024-03-02 15:18:32 -05:00

1.2 KiB

Regex Examples

1.20.4 - Paper (Default)

Achievements

^\[\d{2}:\d{2}:\d{2} INFO\]: (.*) has (made the advancement|completed the challenge) \[(.*)\]$

Chat

\[\d{2}:\d{2}:\d{2}\sINFO\]: (?:<|\[)(\w+)(?:>|\]) (.*)

Join

^\[\d{2}:\d{2}:\d{2} INFO\]: ([^<\n]+) joined the game$

Leave

^\[\d{2}:\d{2}:\d{2} INFO\]: ([^<\n]+) left the game$

Server

^\[\d{2}:\d{2}:\d{2} INFO\]:(?: \[Not Secure\])? \[(?:Server|Rcon)\] (.*)

1.20.1 - Forge

Achievements

^\[\d{2}:\d{2}:\d{2}\] \[Server thread\/INFO\] \[minecraft\/MinecraftServer\]: (.*) has (made the advancement|completed the challenge) \[(.*)\]$

Chat

^\[\d{2}:\d{2}:\d{2}\] \[Server thread\/INFO\] \[minecraft\/MinecraftServer\]: (?:<|\[)(\w+)(?:>|\]) (.*)

Join

^\[\d{2}:\d{2}:\d{2}\] \[Server thread\/INFO\] \[minecraft\/MinecraftServer\]: ([^<\n]+) joined the game$

Leave

^\[\d{2}:\d{2}:\d{2}\] \[Server thread\/INFO\] \[minecraft\/MinecraftServer\]: ([^<\n]+) left the game$

Server

^\[\d{2}:\d{2}:\d{2}\] \[Server thread\/INFO\] \[minecraft\/MinecraftServer\]: \[(?:Server|Rcon)\] (.*)