public class PlayerQuitEvent extends PlayerEvent
Event.Result
player
Constructor | Description |
---|---|
PlayerQuitEvent(@NotNull Player who,
@Nullable String quitMessage) |
Modifier and Type | Method | Description |
---|---|---|
static @NotNull HandlerList |
getHandlerList() |
|
@NotNull HandlerList |
getHandlers() |
|
@Nullable String |
getQuitMessage() |
Gets the quit message to send to all online players
|
void |
setQuitMessage(@Nullable String quitMessage) |
Sets the quit message to send to all online players
|
callEvent, getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
@Nullable public @Nullable String getQuitMessage()
public void setQuitMessage(@Nullable @Nullable String quitMessage)
quitMessage
- quit message@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2020. All rights reserved.