@Override
    protected void sendOutgoingMessage(byte[] buf) {
        if (!this.plugin.getBootstrap().getGame().isServerAvailable()) {
            return;
        }

        Task task = Task.builder()
                .interval(10, TimeUnit.SECONDS)
                .execute(t -> sendOutgoingMessage(buf, t))
                .plugin(this.plugin.getBootstrap().getPluginContainer())
                .build();

        this.plugin.getBootstrap().getScheduler().getSyncScheduler().submit(task);
    }
An implementation of {@link Messenger} using the plugin messaging channels.
sponge/src/main/java/me/lucko/luckperms/sponge/messaging/PluginMessageMessenger.java