@EventHandler
    public void onPluginMessage(PluginMessageEvent e) {
        if (!e.getTag().equals(CHANNEL)) {
            return;
        }

        e.setCancelled(true);

        if (e.getSender() instanceof ProxiedPlayer) {
            return;
        }

        byte[] buf = e.getData();

        if (handleIncomingMessage(buf)) {
            // Forward to other servers
            this.plugin.getBootstrap().getScheduler().executeAsync(() -> sendOutgoingMessage(buf));
        }
    }
An implementation of {@link Messenger} using the plugin messaging channels.
bungee/src/main/java/me/lucko/luckperms/bungee/messaging/PluginMessageMessenger.java