| Package | Description |
|---|---|
| me.lucko.luckperms.api | |
| me.lucko.luckperms.api.event.track | |
| me.lucko.luckperms.api.event.track.mutate | |
| me.lucko.luckperms.api.event.user.track | |
| me.lucko.luckperms.api.manager |
| Modifier and Type | Method and Description |
|---|---|
default Track |
LuckPermsApi.getTrack(String name)
Gets a wrapped track object from the track storage
|
| Modifier and Type | Method and Description |
|---|---|
default Set<Track> |
LuckPermsApi.getTracks()
Gets a set of all loaded tracks.
|
default Optional<Track> |
LuckPermsApi.getTrackSafe(String name)
Gets a wrapped track object from the track storage.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Boolean> |
Storage.deleteTrack(Track track)
Deprecated.
in favour of
TrackManager.deleteTrack(Track) |
CompletableFuture<Boolean> |
Storage.saveTrack(Track track)
Deprecated.
in favour of
TrackManager.saveTrack(Track) |
| Modifier and Type | Method and Description |
|---|---|
Track |
TrackLoadEvent.getTrack()
Gets the track that was loaded
|
Track |
TrackCreateEvent.getTrack()
Gets the new track
|
| Modifier and Type | Method and Description |
|---|---|
Track |
TrackMutateEvent.getTrack()
Gets the track that was mutated
|
| Modifier and Type | Method and Description |
|---|---|
Track |
UserTrackEvent.getTrack()
Gets the track involved in the event
|
| Modifier and Type | Method and Description |
|---|---|
Track |
TrackManager.getTrack(String name)
Gets a loaded track.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Track> |
TrackManager.createAndLoadTrack(String name)
Creates a new track in the plugin's storage provider and then loads it
into memory.
|
Set<Track> |
TrackManager.getLoadedTracks()
Gets a set of all loaded tracks.
|
default Optional<Track> |
TrackManager.getTrackOpt(String name)
Gets a loaded track.
|
CompletableFuture<Optional<Track>> |
TrackManager.loadTrack(String name)
Loads a track from the plugin's storage provider into memory.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
TrackManager.deleteTrack(Track track)
Permanently deletes a track from the plugin's storage provider.
|
CompletableFuture<Void> |
TrackManager.saveTrack(Track track)
Saves a track's data back to the plugin's storage provider.
|
Copyright © 2018. All rights reserved.