Fabric Plugin Messaging

⭐ — (2 endorsements) 📥 663 downloads 📌 v1.0.0 📅 2/27/2025
🟠 Updated over a year ago

By Stampede · fabric

⬇ Download Mod 🏛️ Official Download Source: Modrinth ↗ 📅 Updated: 2/25/2025 📅 Created: 2/27/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.3% endorsement rate
  • 🏆 #423 of 894 fabric mods in this game by downloads

📋 About This Mod

# Fabric Plugin Messaging <img src="https://img.shields.io/badge/Enviroment-Server-purple" alt="Enviroment Server"> <a href="https://discord.gg/invite/cgBww275Fg" rel="noopener nofollow ugc"><img src="https://img.shields.io/discord/1158447623989116980?color=blue&amp;logo=discord&amp;label=Discord" alt="Discord"></a> A Fabric plugin messaging library! This server-sided mod will register a Plugin Message Packet (`PluginMessagePacket.class`) and a Plugin Message Event (`PluginMessageEvent#EVENT`) for developers to use in their projects. Without this mod, developers would need to register their own packets, which would cause conflicts if multiple are present at the same time. By using the Packet and Listener provided here, this issue is avoided. ## Developer Info Add the mod as a dependency in your gradle build script! This will include the API in your final build. ``` dependencies { modImplementation(include("com.pokeskies:fabricpluginmessage:1.0.0")) } ``` ### Sending Then you can send Plugin Messages by creating an instance of the PluginMessagePacket class and then sending it! You can either create it by passing a byte array or a FriendlyByteBuf: ```java ByteArrayDataOutput outputStream = ByteStreams.newDataOutput(); outputStream.writeUTF("Connect"); outputStream.writeUTF("cobblemon"); ServerPlayNetworking.send(player, new PluginMessagePacket(outputStream.toByteArray())); ``` ### Receiving If you need to receive a Plugin Message from the proxy, you can subscribe to the PluginMessageEvent: ```java PluginMessageEvent.EVENT.register((payload, context) -> { ByteArrayDataInput inputStream = ByteStreams.newDataInput(payload.getData()); String channel = inputStream.readUTF(); if (channel.equals("GetServers")) { String serversList = inputStream.readUTF(); System.out.println("Proxy Servers: " + serversList); } }); ``` ## Support A community support Discord has been opened up for all Skies Development related projects! Feel free to join and ask questions or leave suggestions :) <a class="discord-widget" href="https://discord.gg/cgBww275Fg" title="Join us on Discord"><img src="https://discordapp.com/api/guilds/1158447623989116980/embed.png?style=banner2"></a>

# Fabric Plugin Messaging Enviroment Server Discord

A Fabric plugin messaging library! This server-sided mod will register a Plugin Message Packet (`PluginMessagePacket.class`) and a Plugin Message Event (`PluginMessageEvent#EVENT`) for developers to use in their projects.

Without this mod, developers would need to register their own packets, which would cause conflicts if multiple are present at the same time. By using the Packet and Listener provided here, this issue is avoided.

## Developer Info Add the mod as a dependency in your gradle build script! This will include the API in your final build. ``` dependencies { modImplementation(include("com.pokeskies:fabricpluginmessage:1. 0. 0")) } ```

### Sending Then you can send Plugin Messages by creating an instance of the PluginMessagePacket class and then sending it! You can either create it by passing a byte array or a FriendlyByteBuf: ```java ByteArrayDataOutput outputStream = ByteStreams.newDataOutput(); outputStream.writeUTF("Connect"); outputStream.writeUTF("cobblemon");

ServerPlayNetworking.send(player, new PluginMessagePacket(outputStream.toByteArray())); ```

### Receiving If you need to receive a Plugin Message from the proxy, you can subscribe to the PluginMessageEvent: ```java PluginMessageEvent. EVENT.register((payload, context) -> { ByteArrayDataInput inputStream = ByteStreams.newDataInput(payload.getData()); String channel = inputStream.readUTF(); if (channel.equals("GetServers")) { String serversList = inputStream.readUTF(); System.out.println("Proxy Servers: " + serversList); } }); ```

## Support A community support Discord has been opened up for all Skies Development related projects! Feel free to join and ask questions or leave suggestions :)

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
Stampede
Version
1.0.0
Downloads
663
Endorsements
2
Category
fabric
Created
2/27/2025
Updated
2/25/2025
Game Versions
1.21.1, 1.21.2, 1.21.3, 1.21.4
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 Fabric Plugin Messaging support?

The author lists 1.21.1, 1.21.2, 1.21.3, 1.21.4. Other versions may work but are untested by the author.

What is the latest version of Fabric Plugin Messaging?

Version 1.0.0, published 2025-02-25 with 663 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

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