public static enum PlayerKickEvent.Cause extends Enum<PlayerKickEvent.Cause>
Enum Constant and Description |
---|
BANNED |
DUPLICATE_LOGIN |
FLYING_PLAYER |
FLYING_VEHICLE |
IDLING |
ILLEGAL_ACTION |
ILLEGAL_CHARACTERS |
INVALID_ENTITY_ATTACKED |
INVALID_PAYLOAD |
INVALID_PLAYER_MOVEMENT |
INVALID_VEHICLE_MOVEMENT |
IP_BANNED |
KICK_COMMAND |
PLUGIN |
RESTART_COMMAND
Spigot's restart command
|
SELF_INTERACTION |
SPAM |
TIMEOUT |
UNKNOWN
Fallback cause
|
WHITELIST |
Modifier and Type | Method and Description |
---|---|
static PlayerKickEvent.Cause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerKickEvent.Cause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerKickEvent.Cause PLUGIN
public static final PlayerKickEvent.Cause WHITELIST
public static final PlayerKickEvent.Cause BANNED
public static final PlayerKickEvent.Cause IP_BANNED
public static final PlayerKickEvent.Cause KICK_COMMAND
public static final PlayerKickEvent.Cause FLYING_PLAYER
public static final PlayerKickEvent.Cause FLYING_VEHICLE
public static final PlayerKickEvent.Cause TIMEOUT
public static final PlayerKickEvent.Cause IDLING
public static final PlayerKickEvent.Cause INVALID_VEHICLE_MOVEMENT
public static final PlayerKickEvent.Cause INVALID_PLAYER_MOVEMENT
public static final PlayerKickEvent.Cause INVALID_ENTITY_ATTACKED
public static final PlayerKickEvent.Cause INVALID_PAYLOAD
public static final PlayerKickEvent.Cause SPAM
public static final PlayerKickEvent.Cause ILLEGAL_ACTION
public static final PlayerKickEvent.Cause ILLEGAL_CHARACTERS
public static final PlayerKickEvent.Cause SELF_INTERACTION
public static final PlayerKickEvent.Cause DUPLICATE_LOGIN
public static final PlayerKickEvent.Cause RESTART_COMMAND
public static final PlayerKickEvent.Cause UNKNOWN
public static PlayerKickEvent.Cause[] values()
for (PlayerKickEvent.Cause c : PlayerKickEvent.Cause.values()) System.out.println(c);
public static PlayerKickEvent.Cause valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.