介绍
Log Redact is a small server-side NeoForge mod that automatically redacts sensitive information from Minecraft server logs.
When the server logs messages to the console or latest.log, this mod intercepts those messages before they’re printed and replaces sensitive values—such as IP addresses, player UUIDs, and world coordinates—with [REDACTED] placeholders.
The server console stays fully live and readable, log structure and log levels are unchanged, and sensitive data never reaches stdout or log files in plain text.
Example
Before:
UUID of player Steve is c482f9e9-16c6-20ad-89e1-dd3216d89b649
Steve[/194.62.89.122:35904] logged in with entity id 50 at (8.30, 136.0, -6.41)
After:
UUID of player Steve is [REDACTED_UUID]
Steve/[[REDACTED_IP]:35904] logged in with entity id 50 at ([REDACTED_COORDS])
This approach avoids unreliable stdout piping and unsupported log4j2.xml replacements, and it does not drop log lines—only the sensitive parts are rewritten.
Intended for server operators who want to share logs (e.g. panels, Discord, bug reports) without leaking private information.
Server-side only. No client required.
常见问题
Redacted Log 支持哪些 Minecraft 版本?
Redacted Log 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Redacted Log 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
评论
登录后评论和评分