Console Filter Next
An improved fork of ConsoleFilter for Minecraft Forge, Fabric, and NeoForge. Filter console output by text, regex, log level, thread, logger/source, and mod id — not just plain text. Reduce noise on the client or dedicated server while debugging modpacks and development environments.
Loaders: Forge · Fabric · NeoForge (separate JAR per loader)
Discord: discord.gg/CcUNTJjPD · Issues: GitHub
Install on either or both sides (optional on client and server): use it only where you read logs.
Features
- Filter types: basic text, regex, log level, thread, logger/source, mod id
- Profiles:
default,debug,production— switch in-game, via TOML, or/consolefilter profile(persisted) - Modes: blacklist (hide matches) or whitelist (show only matches); optional
ignoreCase - In-game editor (Forge/NeoForge Mods → Config; Fabric Mod Menu): paginated lists, regex validation, presets, import/export
- Commands (OP 2):
reload,list,status,export,import,profile filterLatestLog— apply filters tolatest.logand other Log4j file appendersskipMessagesWithStackTrace— never hide lines with exceptions or stack traces- Statistics: per-filter-type hit counts in
/consolefilter status - Hot reload from file, commands, or Save & Apply in the config UI
Configuration
In-game
- Go to Options → Mods
- Find Console Filter Next
- Click Config
- Edit filters and options; Save & Apply writes
consolefilternext-common.tomland reloads filters
Config file
Edit config/consolefilternext-common.toml in your instance folder.
Example — filter INFO messages from the Server thread:
[general]
activeProfile = "default"
ignoreCase = false
whitelistMode = false
filterLatestLog = true
skipMessagesWithStackTrace = false
basicFilters = []
levelFilters = ["INFO"]
threadFilters = ["Server thread"]
sourceFilters = []
modIdFilters = []
regexFilters = []
More examples (whitelist mode, mod id filters, profiles, regex): README.
Tips
Filter all DEBUG messages
levelFilters = ["DEBUG"]
Filter messages from a specific package
sourceFilters = ["com.example.mymod"]
Whitelist mode — show only matching messages
whitelistMode = true
basicFilters = ["ERROR", "WARN"]
If any filter matches, the message is filtered out (unless whitelist mode is enabled).
Compatibility
| Minecraft | 1.20.1 |
| Mod loaders | Forge 47+ · Fabric · NeoForge (one JAR each) |
| Java | 17 or 21 (launcher; mod bytecode targets Java 17) |
| Side | Client and dedicated server (optional on each) |
Migrating from the original ConsoleFilter? See MIGRATION.md.
Support
| Discord | discord.gg/CcUNTJjPD |
| Issues | GitHub Issues |
| Source | alanjmrt94/ConsoleFilterNext |
Credits
| Console Filter Next | alanjmrt94 |
| Originally based on | ConsoleFilter by Matthew Czyr |
| ConsoleFilter contributors | NgLoader, MarkKoz, ChaosTheDude |
| License | CC BY-NC-SA 4.0 |
Crafted with ❤️ for modders who want a cleaner console.
