Issue with Word Filter in SmartFoxServer
Posted: 16 Feb 2025, 19:45
Hi everyone,
I'm configuring the Words Filter in SmartFoxServer, but the system does not seem to detect and censor words based on the regex I have added.
Here are the details of my configuration:
Activated: ✅ Yes
Maximum bad words per message: 0
Send warnings: ✅ Yes
Warnings before kicking: 4
Kicks before banning: 2
Kick before banning timeframe: 3 minutes
Duration of banning: 1440 minutes (24 hours)
Custom warning, kicking, and banning messages: Set correctly
Ban mode: NAME
Words file: config/wordsFile.txt
Character to hide bad words: *
Filter mode: BLACKLIST
In the words file, I have added the following regex:
Unfortunately, the filter is not detecting or censoring these words when messages are sent in the chat.
Does anyone have experience with SmartFoxServer's word filter and know if my approach is correct?
Should I modify the regex syntax or adjust the server settings in any way?
Thanks in advance for your help!
I'm configuring the Words Filter in SmartFoxServer, but the system does not seem to detect and censor words based on the regex I have added.
Here are the details of my configuration:
Activated: ✅ Yes
Maximum bad words per message: 0
Send warnings: ✅ Yes
Warnings before kicking: 4
Kicks before banning: 2
Kick before banning timeframe: 3 minutes
Duration of banning: 1440 minutes (24 hours)
Custom warning, kicking, and banning messages: Set correctly
Ban mode: NAME
Words file: config/wordsFile.txt
Character to hide bad words: *
Filter mode: BLACKLIST
In the words file, I have added the following regex:
Code: Select all
(?i:08sex)
([f|F][\W]*[u|U][\W]*[c|C][\W]*[k|K][\W]*)Unfortunately, the filter is not detecting or censoring these words when messages are sent in the chat.
Does anyone have experience with SmartFoxServer's word filter and know if my approach is correct?
Should I modify the regex syntax or adjust the server settings in any way?
Thanks in advance for your help!