Class GSAuthWarningEvent
java.lang.Object
org.bukkit.event.Event
com.gamersafer.minecraft.auth.paper.event.GSAuthEvent
com.gamersafer.minecraft.auth.paper.event.GSAuthWarningEvent
Fired when a user is warned
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionGSAuthWarningEvent
(org.bukkit.entity.Player player, UUID uuid, org.bukkit.command.CommandSender warner) Creates a newGSAuthWarningEvent
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
Static getter for the handler listorg.bukkit.event.HandlerList
org.bukkit.command.CommandSender
TheCommandSender
warning the player.Methods inherited from class com.gamersafer.minecraft.auth.paper.event.GSAuthEvent
getPlayer, getUuid
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
GSAuthWarningEvent
public GSAuthWarningEvent(org.bukkit.entity.Player player, UUID uuid, org.bukkit.command.CommandSender warner) Creates a newGSAuthWarningEvent
- Parameters:
player
- the warned playeruuid
- theUUID
of the warned playerwarner
- the sender issuing the warn
-
-
Method Details
-
getWarner
public org.bukkit.command.CommandSender getWarner()TheCommandSender
warning the player.- Returns:
- the
CommandSender
performing the action
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()Static getter for the handler list- Returns:
- the handler list
-