While there's a server side "swear_filter" setting, it's pretty generic and uncustomizable. I think having a client-side setting where people could add words to a filter file or something would work best. It would probably be sufficient just to remove any message containing a word from the list. I think if I did that, I'd ship it with words like "hack", "cheat", "hax", etc. in it.