-
Method Summary
Get a user object by name
Gets the instance responsible for unloading unneeded users.
boolean
Gives the user the default group if necessary.
void
void
Invalidates the cached data for *loaded* users.
boolean
boolean
Check whether the user's state indicates that they should be persisted to storage.
Reloads the data of all *online* users
-
Method Details
-
-
getByUsername
Get a user object by name
- Parameters:
name - The name to search by
- Returns:
- a
User object if the user is loaded, returns null if the user is not loaded
-
giveDefaultIfNeeded
boolean giveDefaultIfNeeded(User user)
Gives the user the default group if necessary.
- Parameters:
user - the user to give to
-
isNonDefaultUser
boolean isNonDefaultUser(User user)
Check whether the user's state indicates that they should be persisted to storage.
- Parameters:
user - the user to check
- Returns:
- true if the user should be saved
-
isDefaultNode
boolean isDefaultNode(net.luckperms.api.node.Node node)
- Parameters:
node - the node
- Returns:
- true if it is the default node
-
getHouseKeeper
Gets the instance responsible for unloading unneeded users.
- Returns:
- the housekeeper
-
loadAllUsers
Reloads the data of all *online* users
-
invalidateAllUserCaches
void invalidateAllUserCaches()
Invalidates the cached data for *loaded* users.
-
invalidateAllPermissionCalculators
void invalidateAllPermissionCalculators()