@Override
    protected void registerApiOnPlatform(LuckPerms api) {
        this.bootstrap.getServer().getServiceManager().register(LuckPerms.class, api, this.bootstrap.getLoader(), ServicePriority.NORMAL);
    }
LuckPerms implementation for the Nukkit API.
nukkit/src/main/java/me/lucko/luckperms/nukkit/LPNukkitPlugin.java