No, that is not supported yet and wouldn't even be easy to add as the clients can't see the difference betwee chat messages and other messages. If you don't care if you accidentally also remove other messages, you could try implementing some filtering in Con_PrintToHistory in console.c (note that in this function, txt is the whole line, so you could check for some patterns using strncmp and just "return" if you don't want to show that line).
BTW, he's been banned from my server not for the insults, but for repeated teamkilling in CTF games and ignoring messages from others. I don't care if people insult each other - after all, if you play an online game or chat on IRC, you have to get used to it anyway. Plus, I don't think XSAX's insults are going too far. He doesn't exactly have a large "insult vocabulary", all he can do is call people "fag" and "gay))". Not exactly things that could hurt a player's feelings or reputation, just stupid stuff that 14 years old guys say to "act cool". That alone wouldn't justify a ban IMHO.
XSAX is the only player I ever banned, and I've kicked two or three others. As for his teamkilling: In spectator mode, I saw he sometimes shoots at his own guys and sometimes the enemy - whoever he sees first. He doesn't teamkill on purpose, he does not know about that team concept and ignores any hints/explanations by others as well as the TEAM MATE sign or the mirror damage.
What I want to tell you with this: I wouldn't have banned XSAX if my server wouldn't primarily run CTF. I think I have every right to call him an immature idiot - but he isn't worse than that. However, such a teamkiller really makes CTF games bad - like, people teamswitching away so they don't have to play in his team or even leaving the server because of him.
But in the end, it's up to server admins to ban him or not. On a Linux server, you can ban someone's IP by entering this command as root:
- Code: Select all
iptables -I INPUT 1 --source the.guy.s.ip -p udp --dport 26000 -j DROP
You can make this permanent by adding that line to a bootup script like /etc/rc.local.
After that, the player's connection will time out (if he's still connected), and from then, he won't even see your server in the server browser again.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again
You can vary the number of "MS", so you can clearly see it's MS which is causing it.