Raised This Month: $51 Target: $400
 12% 

[ANY] Simple Chat Filter


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Plugin ID:
4100
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Bored about those rude words ? Replace them with other one !
    Old 02-16-2014 , 14:36   [ANY] Simple Chat Filter
    Reply With Quote #1


    Simple Chat Filter


    Description :
    Bored about those rude words ? Well, now you can get ride of those ! Replace them with other words !

    Features :
    • Easy to configure
    • Work with all other chat plugins !
    • Support a maximum of 999 words !
    • More features are coming soon !

    Command and Cvar :
    sm_reloadfilter - reload manually the word list. Do it after each changes done in chat_filter.cfg !

    Installation :
    REQUIRE: Simple chat processor : https://forums.alliedmods.net/showthread.php?p=2448768
    1) Put chat_filter.smx in your plugin folder : sourcemod/plugins
    2) Put chat_filter.cfg in your configs folder : sourcemod/configs
    3) Configure the plugin, edit chat_filter.cfg with your favorite text editor !
    4) Restart server, reload map or reload plugins folder.

    NOTE: You need to use sm_reloadfilter OR reload plugin (sm plugins reload chat_filter) if you have done changes in your chat_filter.cfg !

    Require the following include to compile manually :
    Simple Chat Processor
    SMLIB

    Configuration :
    Here is a exemple of a simple configuration :
    PHP Code:
    "Filter"
    {
        
    "0"
        
    {
            
    "word"           "fuck"
            "replace"        "Love"
        
    }
        
    "1"
        
    {
            
    "word"           "dog" //dOg, Dog or doG is wrong ! Do NOT use upper case ! Only lower case ! (Not maj. or cap lock, got it ?)
            
    "replace"        "Cat"
        
    }

    /!\ warning /!\ : Always put "word" as lower case !

    Request and things to do :
    • Add a non-case sensitive support. -> DONE!
    • Add a punishement support. (Kick, slay, explose ?)
    • Add a command to manually reload word list. -> DONE!
    ... and all what you want ! Feel free to request !

    Logs :
    Spoiler
    Attached Files
    File Type: cfg chat_filter.cfg (66 Bytes, 1359 views)
    File Type: smx chat_filter.smx (13.4 KB, 951 views)
    File Type: sp Get Plugin or Get Source (chat_filter.sp - 1054 views - 2.8 KB)
    __________________
    Want to check my plugins ?

    Last edited by Arkarr; 03-13-2017 at 12:10.
    Arkarr is offline
    Root_
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 02-16-2014 , 14:40   Re: [ANY] Simple Chat Filter
    Reply With Quote #2

    It looks so sweet and easy to configure. A command to manually reload wordlist would be also nice. Thanks!
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot
    Root_ is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 02-16-2014 , 14:45   Re: [ANY] Simple Chat Filter
    Reply With Quote #3

    Thanks! Gonna do this now.

    EDIT: Done!
    __________________
    Want to check my plugins ?

    Last edited by Arkarr; 02-16-2014 at 15:07.
    Arkarr is offline
    Spyper
    Senior Member
    Join Date: Sep 2013
    Old 02-16-2014 , 14:57   Re: [ANY] Simple Chat Filter
    Reply With Quote #4

    Thanks i really need a plugin like this !
    Spyper is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 02-16-2014 , 15:07   Re: [ANY] Simple Chat Filter
    Reply With Quote #5

    You welcome.
    __________________
    Want to check my plugins ?
    Arkarr is offline
    Spyper
    Senior Member
    Join Date: Sep 2013
    Old 02-16-2014 , 15:15   Re: [ANY] Simple Chat Filter
    Reply With Quote #6

    Is it working with non-english words (ö,ç etc.)?
    Spyper is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 02-16-2014 , 15:21   Re: [ANY] Simple Chat Filter
    Reply With Quote #7

    Quote:
    Originally Posted by Spyper View Post
    Is it working with non-english words (ö,ç etc.)?
    I don't know, let me give a try...

    EDIT: Nope.
    __________________
    Want to check my plugins ?

    Last edited by Arkarr; 02-16-2014 at 15:22.
    Arkarr is offline
    Root_
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 02-18-2014 , 03:57   Re: [ANY] Simple Chat Filter
    Reply With Quote #8

    Quote:
    Originally Posted by Arkarr View Post
    I don't know, let me give a try...

    EDIT: Nope.
    This may help.
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot
    Root_ is offline
    Maxximou5
    AlliedModders Donor
    Join Date: Feb 2013
    Old 02-18-2014 , 09:38   Re: [ANY] Simple Chat Filter
    Reply With Quote #9

    Great job! It's good to see a simple version of this.

    Future request:
    1. Filter for ip's
    2. Filter for web addresse
    This is the same as the regex filter, but a simple version would be superb.
    Maxximou5 is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 02-18-2014 , 10:19   Re: [ANY] Simple Chat Filter
    Reply With Quote #10

    @Root_
    Thanks, gonna give a look.

    @Maxximou5
    Filter for IP or web address ? I don't get it... If a adresse/IP should be banned, just add it into the list. Is this what you want ? Or you want block all IP/address ?
    __________________
    Want to check my plugins ?

    Last edited by Arkarr; 02-18-2014 at 10:21.
    Arkarr is offline
    Reply



    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 13:04.


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