Modrinth · Minecraft mod
message-api
Fabric message api for translatable, configurable and colorful messages with placeholders
Quick answer
Which message-api release matches 1.21.1 Fabric?
message-api 0.3.5+1.21.1 targets 1.21.1 with Fabric, Quilt. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is message-api required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does message-api 0.3.5+1.21.1 need?
0.3.5+1.21.1 on 1.21.1 Fabric. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add message-api without breaking your instance.
Built for message-api 0.3.5+1.21.1 on 1.21.1 Fabric. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 0.3.5+1.21.1. It targets 1.21.1 with Fabric, Quilt; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 0.3.5+1.21.1. It opens that exact file at the source.
About this project
What does message-api add?
message-api
A simple server-side message API for Fabric. It allows for translatable messages, with text parsing
using PlaceholderAPI
, which can be customized with ease by end users.
Features
- Special text parsing with PlaceholderAPI
- Easy customizable in-game messages
- Language localization support
- Easy to integrate
Usage
Adding the dependency
To use message-api in your mod, add the following to your build.gradle file:
Message-api doesn't bundle placeholder-api, you have to bundle a compatible of it as well.
Replace [TAG] with the respective versions.
repositories {
maven { url "https://maven.nucleoid.xyz/" }
maven { url "https://api.modrinth.com/maven" }
}
dependencies {
include(modImplementation("maven.modrinth:message-api:[TAG]"))
include(modImplementation("eu.pb4:placeholder-api:[TAG]"))
}
Adding messages
Create a messages folder in your resource folder. Create a JSON file with
the language code you would like to add, like
the testmod example.
Add your message to the file (make sure to prefix the message id with your mod id, to avoid conflicts).
Creating messages
Use any of the provided methods in LocalizedMessage to get your text instance,
which works like any other vanilla text instance!
ServerPlayerEntity player;
player.sendMessageToClient(LocalizedMessage.localized("modid.some.message.id"));
Official Mojang Mappings
ServerPlayer player;
player.sendSystemMessage(LocalizedMessage.localized("modid.some.message.id"));
User configuration
To change messages, edit the JSON file in ./config/<modid>/<languageid>.json. This will change the language file for
the mod with the specified modid.
Credits
Special thanks to PlaceholderAPI for providing the parsing functionality.
Project description from Modrinth.
Pick your setup
message-api by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.1
2 loader builds26.1
2 loader builds1.21.11
2 loader builds1.21.10
2 loader builds1.21.9
2 loader builds1.21.8
2 loader builds1.21.7
2 loader builds1.21.6-rc1
2 loader builds1.21.6
2 loader builds1.21.5-rc2
2 loader builds1.21.5
2 loader buildsShowing the newest 12 of 17 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
message-api versions and loaders
0.3.5+1.21.1
message-api-0.3.5+1.21.1.jar
5 Feb 2026
0.3.3+1.21.1
message-api-0.3.3+1.21.1.jar
8 Aug 2025
0.3.2+1.21.1
message-api-0.3.2+1.21.1.jar
26 May 2025
0.3.1+1.21.5
message-api-0.3.1+1.21.5.jar
10 May 2025
0.3.0+1.21.4
message-api-0.3.0+1.21.4.jar
11 Jan 2025
0.2.4-1.21
message-api-0.2.4-1.21.jar
7 Jan 2025
Looking for an older file? The official Modrinth project page is in Resources.