public class CooldownManager extends Object
| Constructor and Description |
|---|
CooldownManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addCooldown(UUID uuid,
String key,
double seconds) |
static void |
addCooldown(UUID uuid,
String key,
int seconds) |
static void |
countdown(UUID uuid,
String key,
double seconds) |
static double |
getCooldown(UUID uuid,
String key) |
static int |
getReaminingCooldown(UUID uuid,
String key) |
static boolean |
hasCooldown(UUID uuid,
String key) |
static void |
removeCooldown(UUID uuid,
String key) |
Copyright © 2022. All rights reserved.