Open CuriousMike56 opened 5 years ago
To expand on this, there should also be banned vehicles and usernames. The server scripts can ban vehicles, but the server must be restarted for the changes to apply.
Hi.
RoRserver has persistent state AUTH_BANNED(32) based on token in authfile - this is checked first when connecting.
There are also IP-bans which are created by "!ban " command and aren't persisted. Nickname is recorded but not checked: https://github.com/RigsOfRods/ror-server/blob/17cc7b5a6922f4c32dcb7ea0753cbacafed4c401/source/server/sequencer.cpp#L219-L225
Draft
Currently, server bans are cleared when the server restarts. It would be nice if they were stored in a file, by username & IP.