Skip to content

DavidTheExplorer/Calmdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Cooldowns in games are commonly implemented inefficiently, with boilerplate, and magic numbers(to represent durations).
This library encapsulates all of that behind a clean and future-rich interface.

Beyond the usual cooldown operations, this library allows you to:

  • Schedule an action to run when a cooldown is over(e.g. notify the player).
  • Define rejection logic for the scenario when a player tries to do something he shouldn't while on cooldown.
  • Put offline players on cooldown(using their UUIDs).

Getting started

The core is platform independent, and the platforms with built-in support are:

  • Bukkit

How to import, as well as an in-depth tutorials can be found on the wiki.

About

Hides the pain of managing cooldowns in games behind a feature-rich interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages