public void init() {
        this.plugin.getBootstrap().getServer().getMessenger().registerOutgoingPluginChannel(this.plugin.getLoader(), CHANNEL);
        this.plugin.getBootstrap().getServer().getMessenger().registerIncomingPluginChannel(this.plugin.getLoader(), CHANNEL, this);
    }
An implementation of {@link Messenger} using the plugin messaging channels.
bukkit/src/main/java/me/lucko/luckperms/bukkit/messaging/PluginMessageMessenger.java