Chat Logger
Log chats in Minecraft servers to a JSON file
About this Mod
MC Chat Logger
Join my Discord server for free MC server hosting :) https://discord.gg/fdSVNfDUx7
Support & Updates / Chat Log Viewer
A lightweight client-side mod that logs public chat messages in servers to JSON files.
Features
- Automatic logging - All public chat messages are captured and saved automatically
- Organized by server - Each server gets its own folder (e.g.,
chatlogs/hypixel_net/) - Session-based files - Each play session creates a new JSON file, so your logs stay organized
- Real-time saving - Messages are saved immediately to prevent data loss if your game crashes
Coming soon: Web UI to visualize chat logs, examples for finetuning a LLM on chatlogs, and more.
Output Format
Logs are saved to .minecraft/chatlogs/<server>/session_<date>_<id>.json (or the chatlogs folder in your Minecraft folder):
{
"server": "play_example_com",
"sessionId": "a1b2c3d4",
"sessionStart": "2024-01-15 14:30:00",
"lastUpdated": "2024-01-15 15:45:30",
"messageCount": 127,
"messages": [
{
"timestamp": "2024-01-15 14:31:05",
"epochMillis": 1705329065000,
"senderUuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
"senderName": "Notch",
"message": "<Notch> Hello everyone!"
}
]
}
Use Cases
- Archive memorable conversations
- Paper trail for reports
- Monitor chat while AFK
- Analyze chat patterns
- Create chat statistics
- Build external tools that read your chat history
Support
Feel free to DM me on Discord (bl4747) if you need any support. You can also join my server.
Acknowledgements
Thanks to grah, Guter Mensch, and Stealth Gamer for testing :)
Note
Make sure you acquire all necessary consent before recording chat messages! You are fully responsible for your use of this mod.
Available Versions
How to Install Chat Logger on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Chat Logger". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+9 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Chat Logger server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Chat Logger compatible with fabric?
Chat Logger officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Chat Logger – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Chat Logger consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Chat Logger with just one click on your server.