CurseForge · Minecraft mod
[1.8.9] ChatFilter
A simple, command based, clientside chat filter mod using Regex.
Quick answer
Which [1.8.9] ChatFilter release matches 1.8.9?
[1.8.9] ChatFilter chatfilter-1.6.jar targets 1.8.9 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is [1.8.9] ChatFilter required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does [1.8.9] ChatFilter chatfilter-1.6.jar need?
chatfilter-1.6.jar on 1.8.9. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add [1.8.9] ChatFilter without breaking your instance.
Built for [1.8.9] ChatFilter chatfilter-1.6.jar on 1.8.9. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use chatfilter-1.6.jar. It targets 1.8.9 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside chatfilter-1.6.jar. It opens that exact file at the source.
About this project
What does [1.8.9] ChatFilter add?
Due to the cluttered chat on Hypixel Bedwars, i was searching for a simple chat filter and replacement mod for 1.8.9. I was surprised to find out that there arent any that work well.
So, i present:
Strableg's ChatFilter!
Features
Purely clientside, made for use on any server.
This Mod only affects the chat on your side, so it is allowed on every server!
Filtering is based on Regex, which a lot of people already know.
Many different filters with more to come:
- Hide: Completely hides matching messages
- Replace: Replaces a matching message with another one via regex
- Summarize: Summarizes many simmilar Messages into a single one
- Preset: Manages entire sets of filters
A rich /command interface, providing functionality for
- Adding, removing and renaming filters
- Grouping filters in so called Presets
- Autocomplete for easier use
- Saving and reloading the running config (or letting the mod automatically do so on start and exit)
- Listing and filtering through all created rules
- Enabling and disabling single filters or entire presets
- Replacement messages can include Formatting Codes (Color & Font styles)
How to use
Simply type /cf in the chat. The Syntax is very self-explanatory. It only requires a little knowledge of Regex.
What the duck is Regex?
Regex stands for regular expression and is a simple and consise way to describe the syntax of a text.
At the start of this project, i never wrote a regular expression in my life, but its a matter of maybe 30 minutes to learn.
I recommend asking ChatGPT for a specific filter and the using regex101 to better understand it.
Adding filters
Example: Removing Hypixels annoying "[MVP+] PlayerXYZ slid into the lobby!" Messages.
The syntax for this is /cf add <filter name> <regex pattern>
So i would type: /cf add hypixel_lobbyJoin ".* slid into the lobby!.*"
Every message containing the string "slid into the lobby!" is now hidden! But what about replacing them?
To do so, simply specify you want to add a replace-filter: /cf add <filter name> <regex pattern> replace <replacement>
Like this: /cf add hypixel_lobbyJoin ".*([.*].*) slid into the lobby!.*" replace "$1 joined!"
Now everytime someone joins the lobby you will see this message: "[MVP+] PlayerXYZ joined!"
Easy, right? But the replacement looks boring, so lets color it a bit by using color codes!
Like this: /cf add hypixel_lobbyJoin ".*([.*].*) slid into the lobby!.*" replace "&3&l$1 &ejoined!"
Example: Summarizing all those "+XXX coins! (Triple Coins + EXP, Network booster, etc.)"
You can achieve this by adding a summarize-filter: /cf add <filter name> <regex pattern> summarize <summarizing message> <delay in client ticks>
For example: /cf add hypixel_coins "+(\d+) coins?!.*" summarize "&6+$1 coins in the past 30 seconds!" 1200
Managing filters
To view all your filters, simply type /cf list.
If you want to disable or reenable a filter, you can do so by typing /cf enable <filters...> or /cf disable <filters...>
Note that you can also use Regex to enable and disable filters. Here i enable all filters starting with "hypixel_": /cf enable hypixel_.*
Here i disable all filters by typing using the ".*" regex: /cf disable .*
You can also just disable/ enable filtering by the mod overall by typing /cf disable or /cf enable.
If you want to use filters together, you can add them to a preset: /cf preset <preset> add <filters...>
Here, i add all hypixel related filters to a preset called hypixel: /cf preset hypixel add hypixel_.*
You can now check out the newly created preset with /cf list. If you want to check the rules contained in it, you can use /cf list preset=hypixel
Listing filters
/cf list has a few different options that will change whats listed and that can be combined. If you type "/cf list " and press tab, all filters will be suggested.
Example: /cf list preset=hypixel name=bedwars_.* enabled hide verbose will list all filters in the preset "hypixel" that have a name starting with "bedwars_" and are enabled and are hiding filters. It will also describe the filters very verbose
When listing filters, they either have a red, yellow or green name.
- Green means the filter is enabled and active
- Yellow means the filter is not enabled, but still active (because a preset containing the filter is active)
- Red means the filter is disabled and inactive
If you want to rename a filter, you can by using /cf rename <filter> <new name>.
Thanks to leaf for the inspiration through their chatfilter 2.0 Mod! This was the only usable chat filter mod i have found, which inspired me to make this.
Feel free to ask questions in the comments. A port to any other game version is not planned as of now.
This Description will be updated soon.
Project description from CurseForge.
Pick your setup
[1.8.9] ChatFilter by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.8.8
1 loader build1.8.7
1 loader build1.8.6
1 loader build1.8.5
1 loader build1.8.4
1 loader build1.8.3
1 loader build1.8.2
1 loader build1.8.1
1 loader build1.8
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
[1.8.9] ChatFilter versions and loaders
chatfilter-1.6.jar
30 Dec 2023
chatfilter-1.5.jar
29 Dec 2023
chatfilter-1.4.jar
25 Dec 2023
chatfilter-1.3.1.jar
22 Dec 2023
Looking for an older file? The official CurseForge project page is in Resources.