Chat Filters
by spzla
Chat Filters hides chat messages that match a list of regular expressions, applied on the client only, so a player can screen out lines they do not want to read.
What it does
Each rule in the filter list is a regular expression that is checked against incoming chat. The mod can run in whitelist mode, where only matching messages appear, or in blacklist mode, where matching messages are kept out of view. Matching happens on the client, so a message is hidden only for the player who installed the mod, and the server sends the same chat either way.
The filters act on messages as they arrive. Adding or removing a rule does not delete messages that were already shown, and turning the filter off does not bring back lines that were hidden while it was on. Patterns do not need to match the whole string, so a short word inside a longer line can be enough to filter it. Required dependencies are Fabric API and YetAnotherConfigLib (YACL), which provides the settings screen; Mod Menu is optional and gives a menu entry for opening it. The mod is published for Fabric only, for 1.21.9, 1.21.10 and 26.2, and the latest file is 0.1.2 for 26.2 on the beta channel.
Key features
Regex-based rules
Each filter is a regular expression, so a single rule can cover many spellings or word forms in chat.
Whitelist and blacklist modes
Players choose whether to show only matching lines or to hide the lines that match.
Partial matching
Patterns can match part of a message, so the whole line does not have to equal the rule.
Filtering without server changes
Messages from the server, including those starting with SERVER, can be matched like player chat, and nothing is altered on the server.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Optional 1
How it compares
Chat Sync is client-side only and published for 1.21.10 – 1.21.11 under the MIT License, and it is not open source. SecondChat is client-side only, open source under the GNU General Public License v3.0 only, and has files for 1.21.4 – 26.3. Chat Filters is also client-side only and open source under the same license as SecondChat, but it covers only 1.21.9, 1.21.10 and 26.2, so a player on a different version may need one of the other two.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Chat Filters | Fabric | 1.21.9 – 26.2 | Client-side only | 2026-07-27 |
| Chat Sync | Fabric | 1.21.10 – 1.21.11 | Client-side only | 2026-02-19 |
| SecondChat | Fabric | 1.21.4 – 26.3 | Client-side only | 2026-09-16 |
Questions
Does Chat Filters need Fabric API and YACL?
Does Chat Filters have to be installed on the server?
Are hidden messages removed from the server?
Which game versions are supported?
In the catalog
Chat Filters is one of 5,392 Social mods on ModsFinder, and one of 4,084 Social mods for Fabric. 13,894 mods support Minecraft 26.2.
More from spzla
Similar mods
What the author says
A simple mod that filters chat messages based on a list of regular expressions. It works by not allowing the message to appear if it matches a pattern specified in the configuration (blacklist) or if it doesn't match a pattern (whitelist).
Official listing
- Modrinth page
- modrinth.com/mod/chatfilters
- Owner
- spzla
- Published
- 2025-10-12
- Updated on Modrinth
- 2026-07-27
- Facts verified
- 2026-10-15
