@Override
    public Optional<UUID> lookupUniqueId(String username) {
        return getServer().flatMap(server -> server.gameProfileManager().profile(username)
                .thenApply(p -> Optional.of(p.uniqueId()))
                .exceptionally(x -> Optional.empty())
                .join()
        );
    }
Injected configuration directory for the plugin
sponge/src/main/java/me/lucko/luckperms/sponge/LPSpongeBootstrap.java