ChatFilters: Master Your Minecraft Chat Experience

ChatFilters for Minecraft lets you filter chat with regex blacklists or whitelists. Download ChatFilters for a cleaner, distraction-free game.

Download chatfilters for Minecraft 1.21.9

Original name: chatfilters

Minecraft: 1.21.9

Loaders: Fabric

FileVersionLoaderSize
chatfilters-0.1.0.jar1.21.9Fabric310 КБDownload
chatfilters-0.1.1.jar1.21.9Fabric310 КБDownload

ChatFilters

Minecraft's chat can be a chaotic torrent of server messages, player chatter, and spam. Whether you are trying to focus on a complex build, avoid spoilers on a modded server, or simply want to silence repetitive announcements, the default chat options often feel inadequate. That is where ChatFilters steps in. This simple yet powerful client-side mod gives you complete control over what appears in your chat window, acting as a silent bouncer for every incoming message.

What Does ChatFilters Do?

At its core, ChatFilters is a lightweight utility that filters chat messages based on a list of regular expressions (regex). It works in two distinct modes: a blacklist or a whitelist. When set to blacklist mode, any message that matches a pattern you define will be hidden. Conversely, in whitelist mode, only messages that match your specified patterns will be allowed through, blocking everything else.

One of the most critical aspects to understand is that the mod operates in real-time. It does not retroactively remove messages that were sent before you activated a filter, nor does it restore messages that have already been filtered out, even if you disable the filter afterward. As far as your game client is concerned, those filtered messages simply never arrived. This "hard filter" approach ensures a truly clean chat log without any visual glitches or missing context lines.

Key Features and Benefits

  • Client-Side Only: The mod runs entirely on your client, meaning it works on any server without requiring server-side installation or permissions.
  • Flexible Filtering: Choose between a blacklist to hide specific patterns or a whitelist to only show what you want to see.
  • Regex Power: Use Java's built-in pattern system to create precise filters, from simple keyword blocks to complex string matching.
  • Instant Application: Changes to your configuration take effect immediately, allowing you to tweak filters on the fly without restarting the game.

Understanding Regex with Practical Examples

To get the most out of ChatFilters, you need to understand a bit about regex syntax. While it can seem intimidating, a few basic patterns will cover most use cases. Here are some examples to get you started:

  • ^\[SERVER\].* - This pattern matches every message that starts with "[SERVER]". Perfect for blocking automated server broadcasts.
  • ^<.*>.* - This matches every player-sent chat message on a standard, unmodified Minecraft server, such as <Player1> Hello!. Use this in whitelist mode to only see player chat and ignore system messages.
  • .*whisper.* - This matches any message containing the word "whisper", useful for filtering out roleplay or specific command outputs.

Remember that Java's regex syntax differs slightly from other languages like JavaScript. The mod requires you to match the entire string unless you use the .* wildcard, as shown above. For those looking for a more streamlined setup, the foxygame.net launcher offers a one-click install for ChatFilters, bundling it with all necessary dependencies so you can skip the manual configuration and jump straight into a cleaner chat experience.

Installation and Dependencies

Before you can download ChatFilters, you need to ensure you have the required dependencies installed. This mod relies on two essential libraries: Fabric API and YetAnotherConfigLib. The latter is used to provide a user-friendly configuration screen, so you don't have to edit JSON files manually.

To install, you will need to have Fabric Loader set up for your specific Minecraft version. ChatFilters for Minecraft supports a range of recent versions, and it is always best to check the mod's official page for the exact version compatibility list. The installation process is standard for Fabric mods: place the mod JAR file along with the Fabric API and YetAnotherConfigLib JARs into your mods folder. If you are using a third-party launcher, the process is often simplified. For instance, the foxygame.net launcher features an integrated add-on catalog that lets you find ChatFilters and install it with a single click, automatically resolving dependency conflicts and ensuring version compatibility.

How to Install and Configure

Here is a step-by-step guide on how to install and set up ChatFilters:

  1. Ensure you have Fabric Loader and the Fabric API installed for your Minecraft version.
  2. Download the ChatFilters mod JAR and the YetAnotherConfigLib JAR from their respective sources.
  3. Navigate to your .minecraft directory and open the mods folder.
  4. Drag and drop all three JAR files (ChatFilters, Fabric API, YetAnotherConfigLib) into the folder.
  5. Launch Minecraft with the Fabric profile.
  6. Once in the game, open your options menu and find the ChatFilters configuration screen.
  7. Add your regex patterns and select either blacklist or whitelist mode.
  8. For those who prefer a more hands-off approach, the foxygame.net launcher handles all of this automatically. It not only installs ChatFilters but also manages updates, so you always have the latest version without manually checking for new releases.

    Reporting Issues and Future Plans

    If you encounter any bugs or crashes while using the mod, the developer requests that you use the official issue tracker linked on the mod's page. When reporting, be sure to include your full mod list, any relevant crash reports, and logs. This information is vital for diagnosing problems that may arise from mod conflicts.

    Looking ahead, the developer has expressed interest in remaking the pattern matching system to use a more standardized approach that supports flags and does not require users to match the whole string. This would make the mod more accessible to those who are not regex experts.

    Conclusion

    ChatFilters is an indispensable tool for any Minecraft player who values a clean and focused chat interface. Its simple blacklist/whitelist approach, combined with the power of regex, provides a level of control that vanilla Minecraft simply cannot offer. Whether you are a server administrator looking to cut down on spam or a player who just wants peace and quiet, ChatFilters is a reliable and efficient solution. With straightforward installation and immediate results, it is a mod that delivers exactly what it promises: a better chat experience. Download ChatFilters today and take the first step toward reclaiming your chat log.