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