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
ConstructorsConstructorDescriptionGSAuthKickEvent(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.CommandSourceTheCommandSourcekicking 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- theUUIDof the kicked playerkicker- the sender issuing the kick
-
-
Method Details
-
getKicker
public com.velocitypowered.api.command.CommandSource getKicker()TheCommandSourcekicking the player.- Returns:
- the
CommandSourceperforming the action
-