跳到正文

Chat Logs

作者:Raconteur

Save chat logs in a separate folder for better readability of conversations.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Chat Logs

A lightweight Minecraft mod for saving chat logs in a readable format with minimal interference to the base game.

Inspiration

While this mod shares virtually no code with the original project, it is heavily inspired by Permanent Chatlogs, which offers an alternative approach to saving chat logs separately from the main game logs.

Philosophy

This mod aims to make chat logs readable while interfering as little as possible with the base game mechanics. It uses very few mixins that inject code into vanilla methods, maximizing compatibility with other mods and reducing the likelihood of being broken by game updates. This is a significant advantage for modpacks, as the mod will generally not need updates when new versions of Minecraft are released.

Features

The mod uses two complementary approaches to save chat logs:

1. Session-based TXT Files

  • Simple text format: Each session is saved as a plain .txt file
  • Session definition: A session spans from connection to a server/singleplayer world until disconnection
  • Easy to read: Human-readable format that can be opened with any text editor
  • Reliable: Crash-resistant with automatic recovery mechanisms

2. Detailed Database Storage (Experimental)

  • Rich formatting preservation: Saves complete text formatting details in an SQLite database
  • Enhanced search capabilities: Enables advanced searching and filtering of chat history
  • External GUI interface: Provides a dedicated graphical interface for better reading experience
  • JSON preservation: Maintains original Minecraft Text component structure with colors, hover events, and styling

External Interface

An experimental Python GUI is available for browsing the database logs with full formatting support:

🔗 Chat Log GUI (Experimental)

This interface provides:

  • Session browsing with message counts and timestamps
  • Full Minecraft color code support
  • Interactive tooltips for hover events
  • Copy-to-clipboard functionality

常见问题

Chat Logs 支持哪些 Minecraft 版本?

Chat Logs 支持 Minecraft Java 版 1.21.3–1.21.10,共 8 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Chat Logs 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

Raconteur 的其他作品

查看全部 →