Package org.bukkit.event.player
Enum Class PlayerKickEvent.Cause
- All Implemented Interfaces:
Serializable
,Comparable<PlayerKickEvent.Cause>
,Constable
- Enclosing class:
PlayerKickEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription클라이언트가 서버의 월드 난이도를 변경하려고 할 때클라이언트가 서버의 월드 난이도를 잠그려고 할 때Spigot's restart command클라이언트가 탭 자동완성을 이용하여 서버의 플러그인 목록을 조회하려고 할 때Fallback cause -
Method Summary
Modifier and TypeMethodDescriptionstatic PlayerKickEvent.Cause
Returns the enum constant of this class with the specified name.static PlayerKickEvent.Cause[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLUGIN
-
WHITELIST
-
BANNED
-
IP_BANNED
-
KICK_COMMAND
-
FLYING_PLAYER
-
FLYING_VEHICLE
-
TIMEOUT
-
IDLING
-
INVALID_VEHICLE_MOVEMENT
-
INVALID_PLAYER_MOVEMENT
-
INVALID_ENTITY_ATTACKED
-
INVALID_PAYLOAD
-
INVALID_COOKIE
-
SPAM
-
ILLEGAL_ACTION
-
ILLEGAL_CHARACTERS
-
OUT_OF_ORDER_CHAT
-
UNSIGNED_CHAT
-
CHAT_VALIDATION_FAILED
-
EXPIRED_PROFILE_PUBLIC_KEY
-
INVALID_PUBLIC_KEY_SIGNATURE
-
TOO_MANY_PENDING_CHATS
-
SELF_INTERACTION
-
DUPLICATE_LOGIN
-
RESOURCE_PACK_REJECTION
-
RESTART_COMMAND
Spigot's restart command -
UNKNOWN
Fallback cause -
TAB_COMPLETE_EXPLOIT
클라이언트가 탭 자동완성을 이용하여 서버의 플러그인 목록을 조회하려고 할 때 -
DIFFICULTY_CHANGE
클라이언트가 서버의 월드 난이도를 변경하려고 할 때 -
DIFFICULTY_LOCK
클라이언트가 서버의 월드 난이도를 잠그려고 할 때
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-