ConsoleFilter
A mod that enables the user to filter specific console messages/logs in Minecraft servers
介绍
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.
What It Does
- Keyword Filtering: Suppresses any console message matching your custom keywords or phrases.
- Full In-Game Management (New in v1.7.0): Manage your filters directly in-game using
/consolefilter— no need to dig into server files or restart.- Interactive Chat UI (New in v1.7.0): View active filters with
/consolefilter listand click the [❌ Remove] button directly in chat to delete them on the fly.- Audit Log / Log Redirection (New in v1.7.0): Keep your console clean without losing critical error data. Suppressed messages can be automatically saved to
logs/filtered.logwith timestamps. Enabled by default.- Zero Performance Impact: Filters messages at the Log4j root level before console rendering happens.
- Instant Hot-Reload: Any changes made from in-game take effect immediately. For changes made in the
filter_config.txtmanually to take effect effect immediately, run the command/consolefilter reload.
In-Game Commands (Available from version 1.7.0+ | OP Level 2)
/consolefilter list— Displays all active filter keywords with clickable [❌ Remove] buttons./consolefilter add <keyword>— Adds a new keyword/phrase to filter./consolefilter remove <keyword>— Removes an existing filter (supports tab completion)./consolefilter test <message>— Tests whether a message would be blocked or passed through./consolefilter audit <on|off>— Toggles saving suppressed logs tologs/filtered.log./consolefilter reload— Reloadsfilter_config.txtfrom disk./consolefilter clear— Removes all filters.
Configuration
The configuration file is automatically created at:
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]
- Filters: Add any words or phrases separated by commas. (Keywords are case-sensitive).
- SaveFilteredLogs (v1.7.0+): Set to
trueto redirect blocked console logs tologs/filtered.log, orfalseto completely discard them.
☕ Fuel My Code with Coffee!
Liked the mod? Keep me caffeinated and semi-functional 😴 by dropping a coffee here. Thanks, you legend! 😎
常见问题
ConsoleFilter 支持哪些 Minecraft 版本?
ConsoleFilter 支持 Minecraft Java 版 1.21–26.2,共 16 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
ConsoleFilter 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Sattik03 的其他作品
查看全部 →
ConsoleFilter
一个让用户能在Minecraft服务器中过滤特定控制台消息/日志的模组
ConsoleFilter
A mod that enables the user to filter specific console messages/logs in Minecraft servers
LockyLocks
Secure your treasures with durable locks and forged keys, a personal touch of protection.
评论
登录后评论和评分