跳到正文

Console Filter

作者:Chaosyr

Hides messages from your console logs.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Console Filter

Allows you to hide console messages that contain configured strings or match configured regular expressions. This mod can be installed on either the client or the server, but it is not required on either side.

Config

Here is an example of how to use a basic filter in the config to hide all console messages containing “Can’t keep up” and “Player moved too quickly”:

#Any console messages containing any of these strings will be hidden.
basicFilters = ["Can't keep up", "Player moved too quickly"]

Here is an example of how to use a regex filter to hide messages like “Running 2156ms or 43 ticks behind”:

#Any console messages containing any of these regular expressions will be hidden. Uses Java regex syntax. Backslashes must be doubled, i.e. use \\s instead of \s to match whitespace.
regexFilters = ["Running \\d+ms or \\d+ ticks behind"]

Here is an example of how to use a logger filter to hide messages from JEI:

#Any console messages from loggers with a name containing any of these strings will be hidden.
loggerFilters = ["jei"]

Modpacks

Yes, you can use this mod in your modpack.

Support

If you enjoy the mod and would like to support the project, feel free to leave a donation on PayPal. Support is greatly appreciated!

Sponsor

This project is sponsored by BisectHosting. If you’re looking for a server, check out their hosting plans and use promo code Chaos at checkout to get 25% off your first month!

常见问题

Console Filter 支持哪些 Minecraft 版本?

Console Filter 支持 Minecraft Java 版 1.20.1–26.2,共 7 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Console Filter 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

Chaosyr 的其他作品

查看全部 →