loadUser

abstract fun loadUser(uuid: UUID): CompletableFuture<User?>

Gets the user with the given uuid, loading them from persistent storage if not already cached, or returns null if there is no user with the given uuid available.

Return

the user with the UUID, or null if not present

Parameters

uuid

the UUID of the user


abstract fun loadUser(name: String): CompletableFuture<User?>

Gets the user with the given name, loading them from persistent storage if not already cached, or returns null if there is no user with the given name available.

Return

the user with the UUID, or null if not present

Parameters

name

the last known name of the user