- Supported Games
- All
This plugin blocks configured list of words and prevents them appearing in chat.
Features :
This plugin has 3 configuration files :
cstrike/addons/sourcemod/configs/chat/censure_list.txt
This configuration file is used to block the offensive words. List each bad word in each line. Do not use spaces in a word.
cstrike/addons/sourcemod/configs/chat/ip_whitel.txt
In this file you can list the server's IP addresses, which are allowed in chat. Only these IP addresses will appear in chat. All others will be blocked. List each IP address in a single line.
Note: To enable the IP address block feature. Set the cvar
cstrike/addons/sourcemod/configs/chat/servmsg_filter.txt
In this file you can list the server messages which should be blocked in chat from appearing. List each message in a single line.
Admin Commands :
CVARs :
Credits :
Features :
- Support for blocking the words from a configured list
- Immunity to admins
- Punishment system for using the bad words (Skip, Gag, Slap, Slay, Kick or Ban)
- Server messages block support
- Plugins commands block support (!admin, !vip etc)
- IP Block support
- Sourcemod v1.8 or Higher
- Download Game_Chat_Filter.zip file attached to this post.
- Extract the content of zip file and put into your server's cstrike folder.
- Configure the configuration files present in cstrike/addons/sourcemod/configs/chat folder as you like.
- Change the map or restart the server.
This plugin has 3 configuration files :
cstrike/addons/sourcemod/configs/chat/censure_list.txt
This configuration file is used to block the offensive words. List each bad word in each line. Do not use spaces in a word.
Code:
asshole
bitch
fuck
dick
In this file you can list the server's IP addresses, which are allowed in chat. Only these IP addresses will appear in chat. All others will be blocked. List each IP address in a single line.
Note: To enable the IP address block feature. Set the cvar
sm_acf_ipfilter
value to 1. (cstrike/cfg/sourcemod/anychatfilter.cfg)
Code:
34.93.78.146:27045
68.183.83.4:27015
In this file you can list the server messages which should be blocked in chat from appearing. List each message in a single line.
Code:
has joined the game
is joining the Terrorist force
left the game ()
is joining the Spectators
is joining the Counter-Terrorist force
Code:
acf_reload - Reloads all the configuration files
// Enable Chat Message Filter
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_acf_chatfilter "1"
// Immunity flag. Leave blank if not needed
// -
// Default: ""
sm_acf_ingflag "b"
// Chat IP Filter
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_acf_ipfilter "1"
// Type of punishment after the expiration of warning.
// 0 - Skip
// 1 - Gag in the chat
// 2 - Slap
// 3 - Kill
// 4 - Kick from the server
// 5 - Ban client
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "5.000000"
sm_acf_restricttype "0"
// Argument of punishment
// (If slap - damage, gag/ban - time in minutes etc.)
// -
// Default: "0"
// Minimum: "0.000000"
sm_acf_retypearg "0"
// Reason of punishment
// -
// Default: "The thief must sit ..."
sm_acf_retypereasone "This word/text/sentence is not allowed."
// Server Message Filter
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_acf_serverfilter "1"
// Plugin trigger filter (!vip |!admin | etc ..)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_acf_trigfilter "0"
// Number of warnings
// -
// Default: "2"
// Minimum: "0.000000"
sm_acf_warncount "0"
// These commands do not fall under the filter
// -
// Default: "!vip|!voteban|!vips"
sm_acf_whitecommands "!voteban"
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_acf_chatfilter "1"
// Immunity flag. Leave blank if not needed
// -
// Default: ""
sm_acf_ingflag "b"
// Chat IP Filter
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_acf_ipfilter "1"
// Type of punishment after the expiration of warning.
// 0 - Skip
// 1 - Gag in the chat
// 2 - Slap
// 3 - Kill
// 4 - Kick from the server
// 5 - Ban client
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "5.000000"
sm_acf_restricttype "0"
// Argument of punishment
// (If slap - damage, gag/ban - time in minutes etc.)
// -
// Default: "0"
// Minimum: "0.000000"
sm_acf_retypearg "0"
// Reason of punishment
// -
// Default: "The thief must sit ..."
sm_acf_retypereasone "This word/text/sentence is not allowed."
// Server Message Filter
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_acf_serverfilter "1"
// Plugin trigger filter (!vip |!admin | etc ..)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_acf_trigfilter "0"
// Number of warnings
// -
// Default: "2"
// Minimum: "0.000000"
sm_acf_warncount "0"
// These commands do not fall under the filter
// -
// Default: "!vip|!voteban|!vips"
sm_acf_whitecommands "!voteban"
- Skeriiz