Class CooldownTimerTask
java.lang.Object
com.palmergames.bukkit.towny.tasks.TownyTimerTask
com.palmergames.bukkit.towny.tasks.CooldownTimerTask
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.palmergames.bukkit.towny.tasks.TownyTimerTask
plugin, universe
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCooldownTimer
(String object, CooldownTimerTask.CooldownType type) static void
addCooldownTimer
(String object, String cooldownTypeName, int coolDownSeconds) static int
getCooldownRemaining
(String object, CooldownTimerTask.CooldownType type) static int
getCooldownRemaining
(String object, String cooldownTypeName) static boolean
hasCooldown
(String object, CooldownTimerTask.CooldownType type) static boolean
hasCooldown
(String object, String cooldownTypeName) void
run()
-
Constructor Details
-
CooldownTimerTask
-
-
Method Details
-
run
public void run() -
addCooldownTimer
-
addCooldownTimer
-
hasCooldown
-
hasCooldown
-
getCooldownRemaining
-
getCooldownRemaining
-
getCooldowns
-