public enum ListenerOptions extends Enum<ListenerOptions>
| Enum Constant and Description |
|---|
ASYNC
Notify ProtocolLib that
PacketListener.onPacketSending(PacketEvent) is thread safe. |
DISABLE_GAMEPHASE_DETECTION
Disable the automatic game phase detection that will normally force
GamePhase.LOGIN when
a packet ID is known to be transmitted during login. |
INTERCEPT_INPUT_BUFFER
Retrieve the serialized client packet as it appears on the network stream.
|
SKIP_PLUGIN_VERIFIER
Do not verify that the owning plugin has a vaid plugin.yml.
|
| Modifier and Type | Method and Description |
|---|---|
static ListenerOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListenerOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenerOptions INTERCEPT_INPUT_BUFFER
public static final ListenerOptions DISABLE_GAMEPHASE_DETECTION
GamePhase.LOGIN when
a packet ID is known to be transmitted during login.public static final ListenerOptions SKIP_PLUGIN_VERIFIER
public static final ListenerOptions ASYNC
PacketListener.onPacketSending(PacketEvent) is thread safe.public static ListenerOptions[] values()
for (ListenerOptions c : ListenerOptions.values()) System.out.println(c);
public static ListenerOptions 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 © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.