跳到正文

Shush

作者:Brickyboy

Allows the selective removal of console messages

收藏

介绍

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

Shush

This mod allows the complete removal of console logs using Regex matches.

Logs are usually important

If you are experiencing log spam, make sure to check with the mod author first! If you need to report an issue to any mod, please remove this mod first! Mod authors don’t want tampered with logs when trying to find an issue.

Then why does this exist

Sometimes, you might experience a log spamming your console that you know isn’t a problem. Perhaps a dev forgot to remove a print statement somewhere, or the error simply isn’t relevant to your situation. Sometimes it can even slow down your launcher of choice with the amount of logs. Normally, you just have to put up with it. But this mod provides an alternative.

What does it offer

In the mod config, you can define a list of regex patterns. If any log matches a pattern, it will be prevented from outputting. This works for both Log4j messages (e.g. [hh:mm:ss] [thread/LEVEL] [classpath]: message) _and_ any un-conventional System.out messages (much harder to trace back to a particular mod, but luckily much less common).

What on earth is Regex

Regex is short for “Regular Expression”. Regular expressions are a sequence of characters that can be used to sort through text data. I highly recommend RegExr.com for experimenting with Regex

常见问题

Shush 支持哪些 Minecraft 版本?

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

Shush 怎么安装?

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

评论

登录后评论和评分

Brickyboy 的其他作品

查看全部 →