Class GSAuthKickEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
com.gamersafer.minecraft.auth.bungeecord.event.GSAuthEvent
com.gamersafer.minecraft.auth.bungeecord.event.GSAuthKickEvent
Fired when a user is kicked
-
Constructor Summary
ConstructorDescriptionGSAuthKickEvent
(net.md_5.bungee.api.connection.ProxiedPlayer player, UUID uuid, net.md_5.bungee.api.CommandSender kicker) Creates a newGSAuthKickEvent
-
Method Summary
Modifier and TypeMethodDescriptionnet.md_5.bungee.api.CommandSender
TheCommandSender
kicking 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
-
GSAuthKickEvent
public GSAuthKickEvent(net.md_5.bungee.api.connection.ProxiedPlayer player, UUID uuid, net.md_5.bungee.api.CommandSender kicker) Creates a newGSAuthKickEvent
- Parameters:
player
- the kicked playeruuid
- theUUID
of the kicked playerkicker
- the sender issuing the kick
-
-
Method Details
-
getKicker
public net.md_5.bungee.api.CommandSender getKicker()TheCommandSender
kicking the player.- Returns:
- the
CommandSender
performing the action
-