ConsoleFilter
Tired of spammy errors, repeating warnings, or noisy mod logs clogging up your server terminal? ConsoleFilter intercepts and hides unwanted console messages in real time, keeping your logs clean and readable.
Key Features
- Keyword Filtering: Suppresses any console message matching your custom keywords or phrases.
- Full In-Game Control (New in v1.7.0): Manage your filters directly in-game using
/consolefilter— no need to open server files or restart. - Interactive Chat UI (New in v1.7.0): Run
/consolefilter listto view active filters and click the [❌ Remove] button directly in chat to delete them. - Audit Log / Log Redirection (New in v1.7.0): Clean your console without losing track of errors. Suppressed messages can be automatically saved to
logs/filtered.logwith timestamps. Enabled by default. - Zero Overhead: Filters messages at the Log4j root level before console rendering.
- Instant Hot-Reload: Any changes made from in-game take effect immediately. For changes made in the filter_config.txt manually to take effect effect immediately, run the command /consolefilter reload.
In-Game Commands (Available from version 1.7.0+ | OP Level 2)
/consolefilter list— View active filters with clickable[❌ Remove]buttons./consolefilter add <keyword>— Add a new filter keyword or phrase./consolefilter remove <keyword>— Remove a filter (supports tab completion)./consolefilter test <message>— Test whether a sample message would be blocked./consolefilter audit <on|off>— Toggle saving suppressed logs tologs/filtered.log./consolefilter reload— Reload configuration directly from disk./consolefilter clear— Clear all active filter rules.
Configuration
Config file location: config/consolefilter/filter_config.txt
# Save filtered logs to logs/filtered.log (true/false) - (v1.7.0+)
SaveFilteredLogs = true
# Add keywords you want to filter separated by commas
Filters = [fell from a high place, drowned]
☕ Fuel My Code with Coffee!
Liked the mod? Keep me caffeinated and semi-functional 😴 by dropping a coffee . Thanks, you legend!
How to Install ConsoleFilter (Mod)
ConsoleFilter by Sattik03 is verified for Fabric, Forge, Neoforge across Minecraft versions 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5 (latest release: consolefilter-neoforge-1.7.0, file size: 1.0 MB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5) and platform (Fabric, Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
- Move the downloaded ConsoleFilter file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- In-Game Commands: Added /consolefilter (add, remove, list, test, clear, audit, reload).
- Clickable Chat UI: Added interactive [❌ Remove] buttons in /consolefilter list.
- Audit Logging: Added option to redirect suppressed logs to logs/filtered.log.
- In-Game Commands: Added /consolefilter (add, remove, list, test, clear, audit, reload).
- Clickable Chat UI: Added interactive [❌ Remove] buttons in /consolefilter list.
- Audit Logging: Added option to redirect suppressed logs to logs/filtered.log.
- Minecraft 26.x+ Support: Initial dedicated build targeting Minecraft 26.x on Java 25 using native Mojang mappings.
- In-Game Commands: Added /consolefilter (add, remove, list, test, clear, audit, reload).
- Clickable Chat UI: Interactive [❌ Remove] buttons in /consolefilter list.
- Audit Logging: Suppressed console logs can now be saved to logs/filtered.log.
- In-Game Commands: Added /consolefilter (add, remove, list, test, clear, audit, reload).
- Clickable Chat UI: Added interactive [❌ Remove] buttons in /consolefilter list.
- Audit Logging: Added option to redirect suppressed logs to logs/filtered.log.
- New Feature**: Added /consolefilter reload command for reloading the filter config at runtime without restarting the server.
- Accessible by server operators only.
- Reloading the config now applies updated filters instantly from config/consolefilter/filter_config.txt.
- Minor improvements to config handling and logging clarity.
- New Feature**: Added /consolefilter reload command for reloading the filter config at runtime without restarting the server.
- Accessible by server operators only.
- Reloading the config now applies updated filters instantly from config/consolefilter/filter_config.txt.
- Minor improvements to config handling and logging clarity.