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 :