ModsJava
BungeeMessagingAPI
Java mod listed for Minecraft 1.7–1.12. Downloads from the MC Java Mods app on Android.
⬇ Download on Spigot
What is it ?
BungeeMessagingAPI is a simple way to communicate with bungee-cord (classic channels and simplier Forward channel).
How to use it ?
First, remember to refer to this guide to know about the classic bungee channels and arguments.
You can get the code to include it in your plugin in the downloaded file.
Registering the API
Code (Text):
Plugin plugin = // your plugin instance
BungeeMessagingAPI api = new BungeeMessagingAPI(plugin);
BungeeMessagingAPI api = new BungeeMessagingAPI(plugin);
Code (Text):
api.terminate();
Code (Text):
api.createBungeeOutMessage("Connect", "Notch", "server").send();
Code (Text):
api.createBungeeOutForwardMessage("MyCustomChannel", "MyCustomArg1", "MyCustomArg2").send();
Code (Text):
api.registerListener(new MyListener());
Code (Text):
public class MyListener implements BungeeMessagingListener
{
@Override
public void onBungeeMessage(BungeeInMessage message) {}
@Override
public void onForwardMessage(BungeeInForwardMessage message) {}
}
{
@Override
public void onBungeeMessage(BungeeInMessage message) {}
@Override
public void onForwardMessage(BungeeInForwardMessage message) {}
}
BungeeInForwardMessage contains the custom channel and the custom arguments.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
BungeeMessagingAPI is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 234 times (via Spigot). Download it and open it directly in the game.