
Developer resource to aid in managing per player cooldowns that persist through restarts.
Note that this does nothing on its own and requires another plugin to make use of it.
Everything is a part of the CooldownManager class.
boolean isOnCooldown ( UUID uuid, String id ) ;
long getUserCooldown ( UUID uuid, String id ) ;
void setUserCooldown ( UUID player, String id, TimeUnit timeUnit, long cooldown ) ;
void setUserCooldown ( UUID player, String id, TimeUnit timeUnit, long cooldown, BiConsumer < UUID, String > function ) ;
You can get the CooldownManager either from the plugin instance or through the bukkit services manager.
Support can be found in my discord .
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta