RichLocalTextLib
Rich text support for translations
About this Mod
RichLokalТекстLib
RichLocalText is a library that allows modders and pack-makers to use translated rich text.
Easily add font styles and colors anywhere without code!
Installation
Drop the .jar into the /mods folder, and enjoy rich localization text.
Requires no other dependencies.
*resourcepack utilizing the Rich™ Lokal™ Текст™ Capabilities™ not included.
Usage
Use /tellraw-like format in language files.
When overriding a string that has format placeholders use {"index":n} instead;
Example, changing the default chat text format:
//en_us.json
{
"chat.type.text":
[
"",
{"text":"A mysterious stranger known only as <", "color": "gray"},
{"index":0, "obfuscated": true},
{"text":"> uttered: \"", "color": "gray"},
{"index":1},
{"text":"\"", "color": "gray"}
]
}
N.B.: If your first text component is styled, all components after it will inherit its style. This is a Minecraft quirk that we are not going to fix.
This results in text like this:
Available Versions
How to Install RichLocalTextLib on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.17.1).
Install Mod
Open the mod browser in the dashboard and search for "RichLocalTextLib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.17.1, 1.17, 1.16.5
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
RichLocalTextLib 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.17.1). You can switch loaders with one click in the panel.
Is RichLocalTextLib compatible with fabric and forge?
RichLocalTextLib officially supports fabric, forge for Minecraft 1.17.1, 1.17, 1.16.5. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with RichLocalTextLib – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if RichLocalTextLib 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.
Similar Mods
Rent Modded Server
Install RichLocalTextLib with just one click on your server.