private void sendOutgoingMessage(byte[] buf, ScheduledTask scheduledTask) {
        if (!this.plugin.getBootstrap().getGame().isServerAvailable()) {
            scheduledTask.cancel();
            return;
        }

        Collection<ServerPlayer> players = this.plugin.getBootstrap().getGame().server().onlinePlayers();
        ServerPlayer p = Iterables.getFirst(players, null);
        if (p == null) {
            return;
        }

        this.channel.play().sendTo(p, channelBuf -> channelBuf.writeBytes(buf));
        scheduledTask.cancel();
    }
An implementation of {@link Messenger} using the plugin messaging channels.
sponge/src/main/java/me/lucko/luckperms/sponge/messaging/PluginMessageMessenger.java