Class GSBansKickEvent
java.lang.Object
com.gamersafer.minecraft.bans.velocity.event.GSBansEvent
com.gamersafer.minecraft.bans.velocity.event.GSBansKickEvent
Fired when a user is kicked
-
Constructor Summary
ConstructorsConstructorDescriptionGSBansKickEvent
(com.velocitypowered.api.proxy.Player player, UUID uuid, com.velocitypowered.api.command.CommandSource kicker) Creates a newGSBansKickEvent
-
Method Summary
Modifier and TypeMethodDescriptioncom.velocitypowered.api.command.CommandSource
TheCommandSource
kicking the player.Methods inherited from class com.gamersafer.minecraft.bans.velocity.event.GSBansEvent
getPlayer, getUuid
-
Constructor Details
-
GSBansKickEvent
public GSBansKickEvent(com.velocitypowered.api.proxy.Player player, UUID uuid, com.velocitypowered.api.command.CommandSource kicker) Creates a newGSBansKickEvent
- 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
-