EvoEsports / EvoSC-sharp

Next generation server controller for Trackmania written in C# using modern .NET
https://evosc.io
GNU General Public License v3.0
20 stars 13 forks source link

[Feature] Add module to log all chat messages #280

Open Chris92de opened 3 months ago

Chris92de commented 3 months ago

Is your feature request related to a problem? Please describe. Collecting evidence for potential rule infractions

Describe the solution you'd like I want to be able to have a file-based chat log available that logs all the chat messages sent on the server powered by EvoSC#.

Describe alternatives you've considered Chat is available in GameLog-xxx.txt file in Logs folder of the Trackmania server, however in our Docker images this is not mounted to a volume, meaning they get reset every time the container gets restarted. Also makes it so you can't easily push it to external log aggregators like Grafana Loki or Graylog.

Additional context EvoSC (PHP version) prints every chat message in its log, even of muted players. See source code reference

snixtho commented 3 months ago

Chat is already logged to stdout, and can easily be parsed in json mode. If that's not what you are looking for, then I'm not sure I understand.