Censors blacklisted words (with leetspeak folding), blocks IP/URL advertising and escalates gags on repeat offenders.
Daemon666
1.0.0 - Initial release.
| csb_swear_filter.sma main | a7ba173 | 6.1 KB |
README.md
CSB Chat Filter keeps public chat clean without breaking it. Every say / say_team line is inspected: blacklisted words are masked with asterisks using a leetspeak-insensitive fold (so sh1t and $hit are caught too), and messages that contain a URL or a dotted-quad IP are blocked outright as advertising. The cleaned message is then re-broadcast in colour so normal chat still flows.
Repeat offenders are handled with an escalating gag: the first strike is a warning, and each further strike multiplies the base gag length, so a spammer is silenced for progressively longer.
Features
- Word blacklist with leetspeak folding (
@ 4 3 1 ! 0 $ 5 7). - Anti-advertising: blocks
http,www., common TLDs and IP addresses. - Escalating gag driven by
csb_filter_gagbase. - Clean messages re-emitted with team tag and colour.
Installation
- Compile
csb_swear_filter.smaand copy it toaddons/amxmodx/plugins/. - Add it to
plugins.iniand change the map.
Instalare
1. Put csb_swear_filter.amxx in addons/amxmodx/plugins/ 2. Add it to addons/amxmodx/configs/plugins.ini 3. Change map
Cvar-uri
| CVAR | Default | Description |
|---|---|---|
csb_filter_enabled |
1 |
Enable or disable the chat filter. |
csb_filter_antiad |
1 |
Block messages containing URLs or IP addresses. |
csb_filter_gagbase |
20 |
Base gag length in seconds; multiplied on each repeat offense. |
Comenzi
| Command | Access | Description |
|---|---|---|
say / say_team |
|
All chat is filtered automatically. |
Jurnal de modificări — v1.0.0
1.0.0 - Initial release.Versiuni →
Evaluare
No ratings yet.
Download v1.0.0
Cerințe
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Opțional |
| ReAPI | Opțional |
| Metamod | Metamod / Metamod-r |
| Conflicte cunoscute | Other plugins that also hook say/say_team and re-broadcast chat may double-print messages. |
Contribuitori









