message-api

⭐ — (3 endorsements) 📥 3,284 downloads 📌 v0.3.5+26.1 📅 1/11/2025
🟡 Updated this year

By DrexHD · fabric

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 3/25/2026 📅 Created: 1/11/2025
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.1% endorsement rate
  • 🏆 #546 of 896 fabric mods in this game by downloads

📋 About This Mod

✅ Special text parsing with PlaceholderAPI
✅ Easy customizable in-game messages
✅ Language localization support
✅ Easy to integrate

# message-api A simple server-side message API for Fabric. It allows for translatable messages, with text parsing using (https://placeholders.pb4.eu/) , 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 `` with the respective versions. ```groovy repositories { maven { url "https://maven.nucleoid.xyz/" } maven { url "https://api.modrinth.com/maven" } } dependencies { include(modImplementation("maven.modrinth:message-api:")) include(modImplementation("eu.pb4:placeholder-api:")) } ``` ### Adding messages Create a `messages` folder in your resource folder. Create a JSON file with the (https://minecraft.fandom.com/wiki/Language#Languages) you would like to add, like the (src/testMod/resources/messages/en_us.json). 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 (src/main/java/me/drex/message/api/LocalizedMessage.java) to get your text instance, which works like any other vanilla text instance! ```java ServerPlayerEntity player; player.sendMessageToClient(LocalizedMessage.localized("modid.some.message.id")); ``` <details> <summary>Official Mojang Mappings</summary> ```java ServerPlayer player; player.sendSystemMessage(LocalizedMessage.localized("modid.some.message.id")); ``` </details> ### 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 (https://placeholders.pb4.eu/) for providing the parsing functionality.

# message-api

A simple server-side message API for Fabric. It allows for translatable messages, with text parsing using (https://placeholders.pb4.eu/) , 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

### 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 `` with the respective versions.

```groovy repositories { maven { url "https://maven.nucleoid.xyz/" } maven { url "https://api.modrinth.com/maven" } }

dependencies { include(modImplementation("maven.modrinth:message-api:")) include(modImplementation("eu.pb4:placeholder-api:")) } ```

### Adding messages

Create a `messages` folder in your resource folder. Create a JSON file with the (https://minecraft.fandom.com/wiki/Language#Languages) you would like to add, like the (src/testMod/resources/messages/en_us.json). 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 (src/main/java/me/drex/message/api/LocalizedMessage.java) to get your text instance, which works like any other vanilla text instance!

```java ServerPlayerEntity player; player.sendMessageToClient(LocalizedMessage.localized("modid.some.message.id")); ```

Official Mojang Mappings

```java ServerPlayer player; player.sendSystemMessage(LocalizedMessage.localized("modid.some.message.id")); ```

### User configuration

To change messages, edit the JSON file in `./config//.json`. This will change the language file for the mod with the specified `modid`.

Special thanks to (https://placeholders.pb4.eu/) for providing the parsing functionality.

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
DrexHD
Version
0.3.5+26.1
Downloads
3,284
Endorsements
3
Category
fabric
Created
1/11/2025
Updated
3/25/2026
Game Versions
26.1, 26.1.1, 26.1.2
Tags
library

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does message-api support?

The author lists 26.1, 26.1.1, 26.1.2. Other versions may work but are untested by the author.

What is the latest version of message-api?

Version 0.3.5+26.1, published 2026-03-25 with 3,284 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More fabric 👤 More by DrexHD 🔎 Similar Mods 🌐 Best fabric (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods