Chat Logger

Log chats in Minecraft servers to a JSON file

by
436 Downloads
fabricsocial
Rent Server with this Mod

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

Chat Logger 1.1.2release
MC 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
April 17, 2026
Chat Logger 1.1.1release
MC 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
April 17, 2026
Chat Logger 1.0.0release
MC 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
January 5, 2026

How to Install Chat Logger on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

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

fabric

Minecraft Versions

1.21.11, 1.21.10, 1.21.9 (+9 more)

Server-side

Unsupported

Recommended 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.

Rent Modded Server

Install Chat Logger with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v2.1 only
Server-side
Unsupported

Supported Versions

1.21.111.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.31.21.2+2 more