Raised This Month: $93 Target: $400
 23% 

[ANY] [RU] Message Filter (Censor)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Plugin ID:
6507
Plugin Version:
1.7
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Replace obscene and offensive language in the chat and nicknames
    Old 04-09-2019 , 10:26   [ANY] [RU] Message Filter (Censor)
    Reply With Quote #1

    How is it work?
    - it checks all chat messages by prepared censor list and replace unappropriate words (or part of words) by * asterisk.
    - nicknames of clients are handled as well (on connect stage), including attempt to manually rename it in-game.
    - all actions are logged to logs/chat_filter.log file.
    Abilities:
    Can handle:
    - translit
    - character multi duplication
    - some tricks, like w*o*r*d, ъ <-> ь, ё <-> е, й <-> и, 0 <-> О, 3 <-> З, _.- attempts and so.
    - supports white listing.

    Note: it doesn't use regexp.
    Compitibility:
    - L4D1
    - L4D2 (untested)
    - CS (untested)
    - CSGO (untested)
    - TF (untested)
    Languages:
    - Russian only (hard-coded morphology handling logic).
    - BTW, you can freely add your filter words in configs/chat_filter.cfg file.
    Settings:
    - sm_message_filter_enable (ConVar) - Enable plugin (1 - On / 0 - Off)
    - configs/chat_filter.cfg file - to edit the list of obscene phrases.
    - configs/chat_filter_whitelist.cfg file - to add some excludes from above rule.
    Required:
    - SM GeoIP extension
    - Chat processor by Drixevel (included)
    https://github.com/Drixevel/Chat-Processor
    Credits:
    - Keith Warren (Shaders Allen) - for chat processor
    Conflicts:
    - May conflict with some plugins for coloring the chat (only for censored messages).
    Attached Files
    File Type: zip MessageFilter_v1.7.zip (77.8 KB, 12 views)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst.
    [My plugins] [My tools] [GitHub]

    Last edited by Dragokas; 08-25-2019 at 09:08.
    Dragokas is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine
    Old 04-09-2019 , 14:26   Re: [ANY] [RU] Message Filter (Censor)
    Reply With Quote #2

    Quote:
    1.1 (09-Apr-2019)
    - Added temporary lock for sending messages if player used offensive word (see "g_hCvarBlockTime" ConVar)
    - Added several rules against attempts to trick the filter
    - Fixed the case in "Chat processor" when double msg protection "eats" Name_Change message (tested in L4D1)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst.
    [My plugins] [My tools] [GitHub]
    Dragokas is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine
    Old 04-21-2019 , 07:41   Re: [ANY] [RU] Message Filter (Censor)
    Reply With Quote #3

    Quote:
    1.4 (21-Apr-2019)
    - Added words whitelist (configs/chat_filter_white.cfg).
    - Added some rules against new tricks (Russian words written as a translit, multi char duplication, ...).
    - Words filter is rearranged to prevent rules duplication (added sort_order.xls macro to prepare list in correct order).
    - Added missing CloseHandle.
    - Added some Engligh bad words.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst.
    [My plugins] [My tools] [GitHub]
    Dragokas is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine
    Old 08-25-2019 , 09:07   Re: [ANY] [RU] Message Filter (Censor)
    Reply With Quote #4

    Updated.
    Quote:
    1.5 (05-May-2019)
    - Do not filter root admin chat

    1.7 (25-Aug-2019)
    - Updated some rules.
    - Updated bad words.
    - Updated whitelists.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst.
    [My plugins] [My tools] [GitHub]
    Dragokas is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 01:12.


    Powered by vBulletin®
    Copyright ©2000 - 2019, vBulletin Solutions, Inc.
    Theme made by Freecode