-
Notifications
You must be signed in to change notification settings - Fork 0
Cooldown System
Loris P edited this page Jan 5, 2023
·
1 revision
The lib's custom cooldown system is better than the one from Minecraft. It work with seconds, not ticks. It does have method for having easely the cooldown, change, substract, add, etc...
Function to use :
Cooldown.addCooldown(player, item, seconds);Cooldown.removeCooldown(player, item);Cooldown.addToCooldown(int toAdd);Cooldown.substractCooldown(int toSubstract);