Interface KickPlayerEvent
-
- All Superinterfaces:
Cancellable
,Event
,MessageEvent
public interface KickPlayerEvent extends MessageEvent, Cancellable
Fired when aplayer
is kicked.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerPlayer
player()
Gets theplayer
.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface org.spongepowered.api.event.message.MessageEvent
message, originalMessage, setMessage
-
-
-
-
Method Detail
-
player
ServerPlayer player()
Gets theplayer
.- Returns:
- The player
-
-