| Package | Description |
|---|---|
| me.lucko.luckperms.api | |
| me.lucko.luckperms.api.event.group | |
| me.lucko.luckperms.api.manager |
| Modifier and Type | Method and Description |
|---|---|
default Group |
LuckPermsApi.getGroup(String name)
Gets a wrapped group object from the group storage
|
| Modifier and Type | Method and Description |
|---|---|
default Set<Group> |
LuckPermsApi.getGroups()
Gets a set of all loaded groups.
|
default Optional<Group> |
LuckPermsApi.getGroupSafe(String name)
Gets a wrapped group object from the group storage.
|
| Modifier and Type | Method and Description |
|---|---|
DataMutateResult |
Track.appendGroup(Group group)
Appends a group to the end of this track
|
boolean |
Track.containsGroup(Group group)
Checks if a group features on this track
|
CompletableFuture<Boolean> |
Storage.deleteGroup(Group group)
Deprecated.
in favour of
GroupManager.deleteGroup(Group) |
String |
Track.getNext(Group current)
Gets the next group on the track, after the one provided
|
String |
Track.getPrevious(Group current)
Gets the previous group on the track, before the one provided
|
boolean |
PermissionHolder.inheritsGroup(Group group)
Check to see if this holder inherits another group directly
|
boolean |
PermissionHolder.inheritsGroup(Group group,
ContextSet contextSet)
Check to see if this holder inherits another group directly
|
DataMutateResult |
Track.insertGroup(Group group,
int position)
Inserts a group at a certain position on this track
|
Node.Builder |
NodeFactory.makeGroupNode(Group group)
Creates a node builder from a group
|
DataMutateResult |
Track.removeGroup(Group group)
Removes a group from this track
|
CompletableFuture<Boolean> |
Storage.saveGroup(Group group)
Deprecated.
in favour of
GroupManager.saveGroup(Group) |
| Modifier and Type | Method and Description |
|---|---|
Group |
GroupLoadEvent.getGroup()
Gets the group that was loaded
|
Group |
GroupDataRecalculateEvent.getGroup()
Gets the group whose data was recalculated
|
Group |
GroupCreateEvent.getGroup()
Gets the new group
|
Group |
GroupCacheLoadEvent.getGroup()
Gets the group whose data was loaded
|
| Modifier and Type | Method and Description |
|---|---|
Group |
GroupManager.getGroup(String name)
Gets a loaded group.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Group> |
GroupManager.createAndLoadGroup(String name)
Creates a new group in the plugin's storage provider and then loads it
into memory.
|
default Optional<Group> |
GroupManager.getGroupOpt(String name)
Gets a loaded group.
|
Set<Group> |
GroupManager.getLoadedGroups()
Gets a set of all loaded groups.
|
CompletableFuture<Optional<Group>> |
GroupManager.loadGroup(String name)
Loads a group from the plugin's storage provider into memory.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
GroupManager.deleteGroup(Group group)
Permanently deletes a group from the plugin's storage provider.
|
CompletableFuture<Void> |
GroupManager.saveGroup(Group group)
Saves a group's data back to the plugin's storage provider.
|
Copyright © 2018. All rights reserved.