Class GSAuthKickEvent
java.lang.Object
com.gamersafer.minecraft.auth.velocity.event.GSAuthEvent
com.gamersafer.minecraft.auth.velocity.event.GSAuthKickEvent
Fired when a user is kicked
-
Constructor Summary
ConstructorDescriptionGSAuthKickEvent
(com.velocitypowered.api.proxy.Player player, UUID uuid, com.velocitypowered.api.command.CommandSource kicker) Creates a newGSAuthKickEvent
-
Method Summary
Modifier and TypeMethodDescriptioncom.velocitypowered.api.command.CommandSource
TheCommandSource
kicking the player.Methods inherited from class com.gamersafer.minecraft.auth.velocity.event.GSAuthEvent
getPlayer, getUuid
-
Constructor Details
-
GSAuthKickEvent
public GSAuthKickEvent(com.velocitypowered.api.proxy.Player player, UUID uuid, com.velocitypowered.api.command.CommandSource kicker) Creates a newGSAuthKickEvent
- Parameters:
player
- the kicked playeruuid
- theUUID
of the kicked playerkicker
- the sender issuing the kick
-
-
Method Details
-
getKicker
public com.velocitypowered.api.command.CommandSource getKicker()TheCommandSource
kicking the player.- Returns:
- the
CommandSource
performing the action
-