Package dev.hypera.chameleon.user
Interface UserManager
-
@NonExtendable public interface UserManagerUser manager.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ConsoleUsergetConsole()Get a user representing the platform console.@NotNull Optional<User>getUserById(@NotNull UUID id)Attempt to get a user with the given id.@NotNull Collection<User>getUsers()Get all online users.
-
-
-
Method Detail
-
getConsole
@NotNull @NotNull ConsoleUser getConsole()
Get a user representing the platform console.- Returns:
- console user.
-
getUsers
@NotNull @NotNull Collection<User> getUsers()
Get all online users.- Returns:
- all online users.
-
-