Class CooldownService
java.lang.Object
dev.rollczi.litecommands.cooldown.CooldownService
-
Constructor Summary
ConstructorsConstructorDescriptionCooldownService(Scheduler scheduler, PermissionService permissionService, EventPublisher publisher) -
Method Summary
Modifier and TypeMethodDescriptiongetCooldown(CommandExecutor<?> executor, PlatformSender sender) getCooldown(String key, Identifier senderIdentifier) markCooldown(CooldownContext context, Identifier senderIdentifier) markCooldown(Invocation<?> invocation, CommandExecutor<?> executor) booleanremoveCooldown(String key, Identifier senderIdentifier)
-
Constructor Details
-
CooldownService
public CooldownService(Scheduler scheduler, PermissionService permissionService, EventPublisher publisher)
-
-
Method Details
-
getCooldown
-
getCooldown
-
markCooldown
-
markCooldown
-
removeCooldown
-