Home›Java›Mods›BungeeMessagingAPI
BungeeMessagingAPI
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);
Unregistering the API
Code (Text):
api.terminate();
Sending a message
Code (Text):
api.createBungeeOutMessage("Connect", "Notch", "server").send();
Code (Text):
api.createBungeeOutForwardMessage("MyCustomChannel", "MyCustomArg1", "MyCustomArg2").send();
Creating a listener to listen to messages
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) {}
}
BungeeInMessage contains the channel and the arguments (responses).
BungeeInForwardMessage contains the custom channel and the custom arguments.
Quick facts

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.

Explore more