【推荐】高级语句过滤大家一起研究RS Advanced Swear Filter
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- RS Advanced Swear Filter + Punishment -
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Requires:
AMX 0.9.9b
Fun Module
OR:
AMX Mod X 1.0
Fun Module
CStrike Module
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
By: xeroblood (aka; Achilles)
Credits in Source Code file!
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Installation:
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Easy Instructions:
------------------------------------------------------------------------------------------------
The 'addons' folder that comes packaged with this ZIP file has all the files in their
proper places (you only need amx or amxmodx folder) -- you could simply copy this folder onto
your existing addons folder, however, you will still need to add a line to your
plugins.ini file containing rs_swearfilter.amx(x) and configure the plugin to your liking
using the CVARs (rs_swearfilter.cfg)!
Enjoy!
------------------------------------------------------------------------------------------------
Full Instructions for AMX 0.9.9:
------------------------------------------------------------------------------------------------
1. Place the file called 'rs_swearfilter.amx' in your cstrike/addons/amx/plugins/ folder
You should have: cstrike/addons/amx/plugins/rs_swearfilter.amx
2. Add a line to cstrike/addons/amx/config/plugins.ini containing rs_swearfilter.amx
3a. If You DO NOT use SQL:
Place the folder called 'swearfilter' in your cstrike/addons/amx/config/ folder
You should have:
--cstrike/addons/amx/config/swearfilter/blacklist.ini
--cstrike/addons/amx/config/swearfilter/whitelist.ini
--cstrike/addons/amx/config/swearfilter/punishments.ini
You DO NOT need Step 3b. if you DO NOT use SQL.
3b. If you DO use SQL:
Run the TABLES.SQL File in your cstrike/addons/amx/config/swearfilter/ folder to add the
Tables to your SQL Database.You DO NOT need Step 3a. if you use SQL.
4. Configure CVARs to suit your needs! (cstrike/swearfilter.cfg)
Read the CVAR Config File (swearfilter.cfg) for more help with CVARs!
Add a line to Your SERVER.CFG or LISTENSERVER.CFG containing:
exec swearfilter.cfg
6. Enjoy!
------------------------------------------------------------------------------------------------
Full Instructions for AMX Mod X 1.0:
------------------------------------------------------------------------------------------------
1. Place the file called 'rs_swearfilter.amxx' in your cstrike/addons/amxmodx/plugins/ folder
You should have: cstrike/addons/amxmodx/plugins/rs_swearfilter.amxx
2. Add a line to cstrike/addons/amxmodx/configs/plugins.ini containing rs_swearfilter.amxx
3a. If You DO NOT use SQL:
Place the folder called 'swearfilter' in your cstrike/addons/amxmodx/configs/ folder
You should have:
--cstrike/addons/amxmodx/configs/swearfilter/blacklist.ini
--cstrike/addons/amxmodx/configs/swearfilter/whitelist.ini
--cstrike/addons/amxmodx/configs/swearfilter/punishments.ini
You DO NOT need Step 3b. if you DO NOT use SQL.
3b. If you DO use SQL:
Run the TABLES.SQL File in your cstrike/addons/amx/config/swearfilter/ folder to add the
Tables to your SQL Database.You DO NOT need Step 3a. if you use SQL.
4. Configure CVARs to suit your needs! (cstrike/swearfilter.cfg)
Read the CVAR Config File (swearfilter.cfg) for more help with CVARs!
Add a line to Your SERVER.CFG or LISTENSERVER.CFG containing:
exec swearfilter.cfg
6. Enjoy!
Also, You can read the Source Code Files for More Help for Customizing!
------------------------------------------------------------------------------------------------
END OF FILE
------------------------------------------------------------------------------------------------
还没研究到底什么细致功能~拿来大家一起测试吧~ 过滤 脏话语句进行惩罚的安装方法
swearfilter.cfg 内容复制到 server.cfg
swearfilter 目录复制到 amxmodx\configs 目录下面blacklist.ini 写入你要屏蔽的语言如果有空格需要加 "** *** ***" 例如 " wo cao" 不加""只能显示 "wo"
punishments.ini 惩罚的方式a 伤害 b 打耳光 c 着火 d 减少¥ f 踢出
相应的需要安装 另外几个插件好像 比如禁止说话插件和蹲坑插件
玩家 说 say /swear 就可以看到哪些语言不能说
页:
[1]