The idea is pretty simple, with the help of this library https://github.com/liki-mc/pyOpenTTDAdmin I began writing a bot that uses the admin port of OpenTTD to monitor all chat messages and allow us take actions based on how users behave.
This is still very much in the early stages but so far it does the following:
- Monitors all chat on the server
- Easy configuration via ini file
- Kick users based on using foul language in wordlists
- Allows users to kick and ban vote users, requires votes from several other user ids, though I will likely switch to ip and id combos to reduce abuse factor
I have plans for adding offensive name changing based on wordlists as well, again all while allowing you to enable/disable stuff from the ini file.
Let me know if you're interested, I can't afford to host a server right now so I'm just testing this locally and having fun with it but....
I'll need people interested in it being expanded to continue development long term.
If you'd like to play with it, I just uploaded it to github: https://github.com/SarahRoseLives/ModRail