Redacts sensitive information like IP's, UUIDS, Coordinates from the logs
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.
Conversation