- General improvements
- Added a /banwave addperm (user) (reason) option instead of having to type /banwave add (user) perm (reason) or whatever it was.
Now warns you whether a person was or was not in a banwave when attempting to add/remove someone but it being redundent to have done so.
Fix a bug where you'd still need 4 arguments for the /banwave remove command despite it only needing 2 (/banwave remove [user]) and now also supports broadcasts announcing how many people were banned once a banwave occurs.
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.
How do I use the API?
Plugin banwave = getServer().getPluginManager().getPlugin("BanwaveManager");
// 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 convienent.



