介绍
Sysout Filter
A NeoForge/Forge server mod that filters spam from your console that other filtering mods often can’t catch.
Why is this different than other solutions?
Some mods print directly to System.out or System.err instead of going through the standard Log4j logging system. This means that Log4j filters don’t always work, and other implementations of console filtering mods like ConsoleFilter can’t catch everything, which was my inspiration for this mod.
Sysout Filter intercepts at the JVM level by replacing System.out and System.err on startup. Every single line of console output passes through it, regardless of how it was printed. There is no lower level to intercept at.
Setup and usage
On first launch, the mod creates config/sysoutfilter.txt.
Filters are line-by line with no formatting required.
I.e:
# Comment
Tick
Drowned
Suffocated in a wall
常见问题
Sysout Filter 支持哪些 Minecraft 版本?
Sysout Filter 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Sysout Filter 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
_haise0_ 的其他作品
查看全部 →Contraband
为 NeoForge 整合包提供服务端物品禁用功能,避免使用狡猾的 KubeJS 方案。
Tick Watchdog
Configurable watchdog that captures thread dumps when server is suffering from TPS lag
Merpmerp SMP S2
A pack bursting with magic that rewards exploration and adventure, with artifacts, relics, special weapons and more!
PackReport
Simple in-game bug reporting for modpack authors and SMP/RP servers with configurable endpoint support
评论
登录后评论和评分