| Package | Description |
|---|---|
| me.lucko.luckperms.api | |
| me.lucko.luckperms.api.context | |
| me.lucko.luckperms.api.event.user | |
| me.lucko.luckperms.api.event.user.track | |
| me.lucko.luckperms.api.manager |
| Modifier and Type | Method and Description |
|---|---|
default User |
LuckPermsApi.getUser(String name)
Gets a wrapped user object from the user storage
|
default User |
LuckPermsApi.getUser(UUID uuid)
Gets a wrapped user object from the user storage
|
| Modifier and Type | Method and Description |
|---|---|
default Set<User> |
LuckPermsApi.getUsers()
Gets a set of all loaded users.
|
default Optional<User> |
LuckPermsApi.getUserSafe(String name)
Gets a wrapped user object from the user storage.
|
default Optional<User> |
LuckPermsApi.getUserSafe(UUID uuid)
Gets a wrapped user object from the user storage.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
LuckPermsApi.cleanupUser(User user)
Unload a user from the internal storage, if they're not currently online.
|
DemotionResult |
Track.demote(User user,
ContextSet contextSet)
Demotes the given user along this track.
|
default Optional<Contexts> |
LuckPermsApi.getContextForUser(User user)
Gets a calculated context instance for the user using the rules of the platform.
|
PromotionResult |
Track.promote(User user,
ContextSet contextSet)
Promotes the given user along this track.
|
void |
MessagingService.pushUserUpdate(User user)
Uses the messaging service to inform other servers about a change to a
specific user.
|
CompletableFuture<Boolean> |
Storage.saveUser(User user)
Deprecated.
in favour of
UserManager.saveUser(User) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ImmutableContextSet> |
ContextManager.lookupApplicableContext(User user)
Queries the ContextManager for current context values for the given User.
|
Optional<Contexts> |
ContextManager.lookupApplicableContexts(User user)
Queries the ContextManager for current context values for the given User.
|
| Modifier and Type | Method and Description |
|---|---|
User |
UserLoginProcessEvent.getUser()
Gets the resultant User instance which was loaded.
|
User |
UserLoadEvent.getUser()
Gets the user that was loaded
|
User |
UserDataRecalculateEvent.getUser()
Gets the user whose data was recalculated
|
User |
UserCacheLoadEvent.getUser()
Gets the user whose data was loaded
|
| Modifier and Type | Method and Description |
|---|---|
User |
UserTrackEvent.getUser()
Gets the user who was promoted or demoted
|
| Modifier and Type | Method and Description |
|---|---|
User |
UserManager.getUser(String name)
Gets a loaded user.
|
User |
UserManager.getUser(UUID uuid)
Gets a loaded user.
|
| Modifier and Type | Method and Description |
|---|---|
Set<User> |
UserManager.getLoadedUsers()
Gets a set of all loaded users.
|
default Optional<User> |
UserManager.getUserOpt(String name)
Gets a loaded user.
|
default Optional<User> |
UserManager.getUserOpt(UUID uuid)
Gets a loaded user.
|
default CompletableFuture<User> |
UserManager.loadUser(UUID uuid)
Loads a user from the plugin's storage provider into memory.
|
CompletableFuture<User> |
UserManager.loadUser(UUID uuid,
String username)
Loads a user from the plugin's storage provider into memory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UserManager.cleanupUser(User user)
Unload a user from the internal storage, if they're not currently online.
|
CompletableFuture<Void> |
UserManager.saveUser(User user)
Saves a user's data back to the plugin's storage provider.
|
Copyright © 2018. All rights reserved.