CooldownAPI

CooldownAPI 1.1

Denic

Supporter
Civiled submitted a new resource:

CooldownAPI - Create Cooldowns and Timers with ease!

With Cooldown API you can easily create cooldowns and timers!

Creating a cooldown is as simple as this:
Code:
//First argument is the cooldown identifier
//Second argument is the time in seconds
CooldownAPI.addCooldown("civiled.warp.pvp", 100);
You can also remove cooldowns like so:
Code:
//The first argument being the cooldown identifier
CooldownAPI.removeCooldown("civiled.warp.pvp");
You can check if a cooldown exists like this:
Code:
//The first argument is the...
Read more about this resource...
 
Top