Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
Chat Filters
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).
Note: it won't remove any matching messages prior to adding a filter, nor bring back the ones already filtered even if you turn it off. It acts as if the messages never came through.
What are its features?
- Client-Side Chat Filtering.
- Use either a whitelist or a blacklist for chat messages.
Future plans?
- I'd like to remake pattern matching to use a more standardized system that supports flags input and doesn't require the user to match the whole string.
Examples
Because Java's built-in pattern system differs in syntax to for example JavaScript, here are some example filter patterns:
^\[SERVER\].*
- every message starting with [SERVER]^<.*>.*
- every player-sent chat message (on a non-modified minecraft server), eg.<Player1> Hello!
.*aould.*
- every message containing the word "aould"
Do I need anything else?
This mod uses YetAnotherConfigLib for configuration. While it should work fine without it, you won't be able to modify any configuration options in-game.
How do I Report Issues?
Please use the issue tracker linked at the top of the page to report any issues you encounter when using the mod. Include information about your mod list and attach any crash reports or logs you have.