Class GSAuthWarningEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
com.gamersafer.minecraft.auth.bungeecord.event.GSAuthEvent
com.gamersafer.minecraft.auth.bungeecord.event.GSAuthWarningEvent
Fired when a user is warned
-
Constructor Summary
ConstructorDescriptionGSAuthWarningEvent
(net.md_5.bungee.api.connection.ProxiedPlayer player, UUID uuid, net.md_5.bungee.api.CommandSender warner) Creates a newGSAuthWarningEvent
-
Method Summary
Modifier and TypeMethodDescriptionnet.md_5.bungee.api.CommandSender
TheCommandSender
warning the player.Methods inherited from class com.gamersafer.minecraft.auth.bungeecord.event.GSAuthEvent
getPlayer, getUuid
Methods inherited from class net.md_5.bungee.api.plugin.Event
postCall
-
Constructor Details
-
GSAuthWarningEvent
public GSAuthWarningEvent(net.md_5.bungee.api.connection.ProxiedPlayer player, UUID uuid, net.md_5.bungee.api.CommandSender warner) Creates a newGSAuthWarningEvent
- Parameters:
player
- the warned playeruuid
- theUUID
of the warned playerwarner
- the sender issuing the warn
-
-
Method Details
-
getWarner
public net.md_5.bungee.api.CommandSender getWarner()TheCommandSender
warning the player.- Returns:
- the
CommandSender
performing the action
-