Chat Message Library
by GirlInPurple
Chat Message Library gives server developers a set of helpers for building chat and command-line text, written in place of the standard StringBuilder and Text classes.
What it does
The author wrote the library because the standard java.lang.StringBuilder and net.minecraft.text.Text classes were awkward for chat output, so this mod provides its own text-building utilities for commands and command-line tools. It runs on the server alone, so players join without installing anything. Fabric API is required, and files cover 1.20 – 1.20.4, with 1.1 for 1.20.4 as the latest Fabric build.
Key features
Text building helpers
Utility methods assemble formatted chat text from parts, reducing the work needed in server-side code.
Command-line text tools
Helpers designed for command output let developers print readable results from commands.
Open source code
The source code is available under the MIT License, and the issue tracker is public.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Questions
Does Chat Message Library need Fabric API?
In the catalog
Chat Message Library is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,907 mods support Minecraft 1.20.4.
More from GirlInPurple
Similar mods
What the author says
I was annoyed that there was no java.lang.StringBuilder equivalent for net.minecraft.text.Text, so I decided to build my own. If you have a request or issue with the library, make an issue, and I'll take a shot at adding it.\ Feel free to do anything you like with this code; fork, learn, whatever you like.
Official listing
- Modrinth page
- modrinth.com/mod/chatmsglib
- Owner
- GirlInPurple
- Published
- 2024-02-06
- Updated on Modrinth
- 2024-02-15
- Facts verified
- 2026-10-15
