PlayerKickEvent
Cancellable server-initiated kick; a normal transport timeout does not fire this event.
Bedriox\Api\Event\Player\PlayerKickEvent
classBedriox\Api\Event\Player
Public methods
__construct(Bedriox\Api\Player\Player $player, Bedriox\Api\Event\Player\PlayerKickCause $cause, string $reason, ?string $quitMessage, ?string $disconnectScreenMessage)Typed public method.
reason(): stringTyped public method.
quitMessage(): ?stringTyped public method.
disconnectScreenMessage(): ?stringTyped public method.
setReason(string $reason): voidTyped public method.
setQuitMessage(?string $message): voidTyped public method.
setDisconnectScreenMessage(?string $message): voidTyped public method.
