This video shows the Bukkit and BungeeCord plugin messaging channel. This channel lets plugins to communicate with the BungeeCord server and all servers connected to it.

Originally, plugin messaging was implemented so plugins could send any data to the client.

This solved a problem where, if the server used a custom plugin sending a packet which the player’s client could not recognize, the player would get kicked out with an incomprehensive error message.

To fix, Mojang introduced the “Plugin Message Packet”. BungeeCord added many predefined values into this channel to perform actions on the network when a packet is sent from a Paper server upstream.

In this video, I’ll explain how to take full advantage of this channel, including how to send messages containing your own data.

In this episode, we’re going to cover:

  • Plugin messaging channel — What is the plugin messaging channel and the anatomy of its packet.
  • Composing a byte array — How to use the byte array to send any data through plugin messaging upstream (Paper to Bungee) and downstream (Bungee to Paper).
  • Sending predefind vs custom data — Utilizing Bungee packet commands (i.e. send player from server A to B) and using your own data to communicate between network servers.

Source Codes:

Links:

  • Plugin messaging channel — An extensive documentation of all default plugin messages you can send to BungeeCord from Paper, and vice versa.

 

Learn To Make Minecraft Plugins

Creating Minecraft plugins can be confusing, with most YouTube tutorials being painfully outdated, disorganized and offering no live support.

If you want to learn from the best and create truly customized plugins, see Project Orion. This is a full training tried and tested by 2,000+ people showing you step-by-step how to make plugins (minigames, custom mobs, antipiracy, dungeons, claims etc.) and much more!

You’ll get 2x/weekly 1:1 calls to review your code and get your questions answered, plus a 1,900+ community on Discord and our private portal, covered by 30-day guarantee. It’s just so much better experience than any blog post or video since I can pour my time and heart into it and teach you 100X faster than any free YouTube tutorial can. Click here to learn more!