Makes banwaves easier to implement
Ever wanted to make an anticheat with a ban wave system but simply couldn't be bothered? Do it easier with this simple API! You can even manually add people to the next ban wave with commands such as /banwave add (user) [Time/perm] [Reason] and remove them from the next banwave with /banwave remove (user).
Why banwaves?
Banwaves are a common tactic used by servers with custom anticheats or measures to punish players which bans people later making it hard to track down what exactly got them banned. This is useful because it prevents exploiters narrowing down all the things getting them banned quickly and easily just trying something else until it works.
// Example: Add a player to the banwave
banwave.addToBanwave("Steve", "10m", "Violation of rules");
removeFromBanwave("Steve") is another function you can use in the plugin if needed.
Should work fine however you can also just dispatch the commands using Bukkit if that's more convenient.