Chat Logs
A compact Minecraft mod that saves chat history in a readable format with minimal impact on the core game mechanics.
Development Concept
This modification was created with the goal of making chat records easily readable while minimally interfering with the base game. It uses a very small number of mixins that inject code into standard methods, ensuring maximum compatibility with other mods and reducing the likelihood of breaking with game updates. This is particularly important for modpacks since the mod typically doesn't require updates when new versions of Minecraft are released.
Main Features
The mod uses two complementary approaches for saving chat logs:
1. Session-based Text Files
- Simple text format: Each gaming session is saved as a regular file with
.txtextension - Session definition: A session covers the period from connecting to a server or singleplayer world until disconnection
- Reading convenience: Human-readable format that can be opened with any text editor
- Reliability: Crash resistance with automatic recovery mechanisms
2. Detailed Database Storage (Experimental)
- Formatting preservation: Saves complete text formatting details in an SQLite database
- Advanced search: Enables sophisticated search and filtering of chat history
- External graphical interface: Provides a dedicated graphical interface for enhanced reading experience
- JSON preservation: Maintains the original Minecraft text component structure with colors, hover events, and styles
External Interface
An experimental Python graphical interface is available for viewing database logs with full formatting support:
🔗 Chat Log GUI (Experimental)
This interface provides:
- Session browsing with message counts and timestamps
- Full support for Minecraft color codes
- Interactive tooltips for hover events
- Copy-to-clipboard functionality