public class PlayerQuitEvent extends PlayerEvent
Event.Resultplayer| Constructor and Description | 
|---|
PlayerQuitEvent(@NotNull Player who,
               @Nullable String quitMessage)  | 
| Modifier and Type | Method and 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 
 | 
getPlayergetEventName, isAsynchronous@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 © 2021. All rights reserved.