The bot will do this. Probably after tonight(GMT+2). I still need a bit of
coding to do to reach this point. I am really happy that I got this far
today. So I made a PR.
Warnings based on number of offences with a counter is what I am working on
now. The *** replace can be commented out or removed. Its on 1 line of
code.

But this way I can show you guys that the expressions do their work.


On Fri, Oct 18, 2013 at 6:37 AM, Ben Sparks <notifications@github.com>wrote:

> In src/server/game/chat/chatHandler.js:
>
> > @@ -112,6 +112,11 @@ module.exports = function(items, units, worldHandler) {
> >                  message = sanitize(message).entityEncode();
> >              }
> >
> > +            // Send message through ironbot
> > +            var ironbot = require(APP_ROOT_PATH + '/src/server/game/ironbot/ironbot');
> > +            message = ironbot.filterBadwords(unit, message);
>
> I thought that the bot was only going to do the auto warning system. I
> still think that the filtering into stars should happen on the client side
> so that I can turn it off if I don't mind seeing them. You could easily add
> the badwords dictionary and filtering to the client side mouthwash, and
> then have the server do the warnings based on number of offenses.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ironbane/IronbaneServer/pull/224/files#r7053982>
> .
>



-- 
----------
Lars van der Schans