@Override
    protected Set<Dependency> getGlobalDependencies() {
        Set<Dependency> dependencies = super.getGlobalDependencies();
        dependencies.add(Dependency.ADVENTURE_PLATFORM);
        dependencies.add(Dependency.ADVENTURE_PLATFORM_BUNGEECORD);
        return dependencies;
    }
LuckPerms implementation for the BungeeCord API.
bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeePlugin.java