Package | Description |
---|---|
org.bukkit.event.player |
Modifier and Type | Method and Description |
---|---|
@NotNull PlayerQuitEvent.QuitReason |
PlayerQuitEvent.getReason() |
static PlayerQuitEvent.QuitReason |
PlayerQuitEvent.QuitReason.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerQuitEvent.QuitReason[] |
PlayerQuitEvent.QuitReason.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
PlayerQuitEvent(@NotNull Player who,
net.kyori.adventure.text.Component quitMessage,
@Nullable PlayerQuitEvent.QuitReason quitReason) |
PlayerQuitEvent(@NotNull Player who,
@Nullable String quitMessage,
@Nullable PlayerQuitEvent.QuitReason quitReason)
Deprecated.
|
Copyright © 2021. All rights reserved.