public interface NucleusWarmupManagerService
Modifier and Type | Method and Description |
---|---|
void |
addWarmup(UUID player,
org.spongepowered.api.scheduler.Task task)
Adds a warmup to the warmup manager
|
void |
cleanup()
Removes warmups that have completed.
|
boolean |
removeWarmup(UUID player)
Removes a user's warmup.
|
void addWarmup(UUID player, org.spongepowered.api.scheduler.Task task)
player
- The UUID
of the player to add a warmup for.task
- The Task
that was submitted and is running.boolean removeWarmup(UUID player)
player
- The UUID
of the user to remove the warmpup from.true
if the warmup exists and was canceled.void cleanup()