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
ConstructorsConstructorDescriptionGSAuthWarningEvent(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.CommandSenderTheCommandSenderwarning the player.Methods inherited from class com.gamersafer.minecraft.auth.bungeecord.event.GSAuthEvent
getPlayer, getUuidMethods 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- theUUIDof the warned playerwarner- the sender issuing the warn
-
-
Method Details
-
getWarner
public net.md_5.bungee.api.CommandSender getWarner()TheCommandSenderwarning the player.- Returns:
- the
CommandSenderperforming the action
-