Support for filtering words with spacesSuggestion
Trolls easily find away around the filter using spaces and such. Any way to add words with spaces to the filter, I tried it with just spaces and it didn't work for me. Thanks.
Try wrapping it in quotation marks. EG : "Butt Face"

Hey,

For those lovely creative people who will write words with spaces.

Ex) d o r k, do rk, dor k etc

I currently have quite a lot within the "phrases" section but it does not recognize the spaces within, since in game chat if someone writes with a space, it will allow the spaces and not count it as a "banned word match"

Merged post

@LoneWolfAU the "Butt Face" does not work. I was told it has something to do with Regex but I've not found a regex for it yet.
pls update the plugin that we can add words with spaces

Please improve BetterChatFilter plugin.

This plugin can only hide fuck/shit

This plugin can not hide f u c k/s h i t

thanks.

asurvivalgame

Please improve BetterChatFilter plugin.

This plugin can only hide fuck/shit

This plugin can not hide f u c k/s h i t

thanks.

It doesnt matter what the dev does to "improve" the plugin there will always be a way around it , the idiots will use symbols or numbers between letters, the only way i fix it is to warn players (either in the welcome message or Rules) that they will be promptly kicked , The more words you add to the filter the more chance it will kick players for non offensive chat.

NooBlet and everybody... Try adding this code block around line 456, before you check for "            if (WordMatch)"
This seems to add one additional scan that catches text such as "AB cd" with space, in addition to "Abcd" without space.  This will also allow you to put things like "/\\/i bb" into your words list and it'll catch any chat that says "/\/i bb" for example.     And by the way, thank you for the excellent work.  =)

---------------------------------------------------------------------------------------------------

            foreach (string bannedword in WordFilter_Phrases)
            {
                if (TranslateLeet(original).ToLower().Contains(bannedword.ToLower())  || original.ToLower().Contains(bannedword.ToLower())  )    
                {      
                    Puts($"BANNED WORDS MATCH :| {player.Name} said: \"{original}\" which contained a bad word: \"{bannedword}\"");
                    filtered = filtered.Replace(original, Replace(original));
                    if (FilterAll)
                    {
                        filtered = "";
                    }    
                    WordMatch = true;
                }
            }