public final class BanListener extends Object
This class is used to register only the needed listeners. The listeners should be refreshed everytime you manually add/remove an action from a map (blacklist or whitelist)We are ignoring the deprecation warning, as these methods are used across multiple Bukkit version.
|Modifier and Type||Method and Description|
Get the amount of events listened
(re)Loading the listeners needed for blacklist and whitelist
public void load(@NotNull org.bukkit.command.CommandSender sender)
sender- the sender who executed, for debug
public int getActivated()
Copyright © 2021. All rights reserved.