Cooldowns
This page explains how to create cooldowns for commands
Simple, fixed cooldowns
@Command("foo")
@Cooldown(value = 3, unit = TimeUnit.SECONDS)
public void foo(CommandActor actor) {
// ...
}@Command("foo")
@Cooldown(value = 3, unit = TimeUnit.SECONDS)
fun foo(actor: CommandActor) {
// ...
}Cooldown handles
Usage
With @Cooldown:
@Cooldown:Last updated
Was this helpful?