RichLocalTextLib

RichLocalTextLib

Rich text support for translations

by
1.5K Downloads
fabricforgeutility
Rent Server with this Mod

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:
screenshot of rich text

Available Versions

1.0.0 (1.17.1 Forge)release
MC 1.17.1forge
October 9, 2021
1.0.0 (1.17.1 Fabric)release
MC 1.17, 1.17.1fabric
October 9, 2021
1.0.0 (1.16.5 Forge)release
MC 1.16.5forge
October 9, 2021
1.0.0 (1.16.5 Fabric)release
MC 1.16.5fabric
October 9, 2021

How to Install RichLocalTextLib on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.17.1).

3

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

fabricforge

Minecraft Versions

1.17.1, 1.17, 1.16.5

Server-side

Unsupported

Recommended 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.

Rent Modded Server

Install RichLocalTextLib with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v3.0 only
Server-side
Unsupported

Supported Versions

1.17.11.171.16.5