@Override
    public Stream<Sender> getOnlineSenders() {
        return Stream.concat(
                Stream.of(getConsoleSender()),
                this.bootstrap.getServer().getOnlinePlayers().values().stream().map(p -> getSenderFactory().wrap(p))
        );
    }
LuckPerms implementation for the Nukkit API.
nukkit/src/main/java/me/lucko/luckperms/nukkit/LPNukkitPlugin.java