Back to mods

Modrinth · Minecraft mod

Chat Logger

Log chats in Minecraft servers to a JSON file

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Chat Logger release should I use?

Updated 2 days ago
Latest stable file 1.2.0+26.1.2
Game version 26.1.2, 26.1.1, 26.1
Loader Fabric

Chat Logger 1.2.0+26.1.2 targets 26.1.2, 26.1.1, 26.1 with Fabric. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.

Where it goes

Is Chat Logger required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does Chat Logger 1.2.0+26.1.2 need?

1.2.0+26.1.2. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Chat Logger without breaking your instance.

Built for Chat Logger 1.2.0+26.1.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.2.0+26.1.2. It targets 26.1.2, 26.1.1, 26.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.2.0+26.1.2. It opens that exact file at the source.

About this project

What does Chat Logger add?

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.

Project description from Modrinth.

Pick your setup

Chat Logger by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

17 available setups

Showing the newest 12 of 17 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Chat Logger versions and loaders

6 of 6 releases match

Looking for an older file? The official Modrinth project page is in Resources.