| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AsyncPlayerPreLoginEvent.Result>
org.bukkit.event.player.AsyncPlayerPreLoginEvent.Result
public static enum AsyncPlayerPreLoginEvent.Result
Basic kick reasons for communicating to plugins
| Enum Constant Summary | |
|---|---|
| ALLOWEDThe player is allowed to log in | |
| KICK_BANNEDThe player is not allowed to log in, due to them being banned | |
| KICK_FULLThe player is not allowed to log in, due to the server being full | |
| KICK_OTHERThe player is not allowed to log in, for reasons undefined | |
| KICK_WHITELISTThe player is not allowed to log in, due to them not being on the white list | |
| Method Summary | |
|---|---|
| static AsyncPlayerPreLoginEvent.Result | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static AsyncPlayerPreLoginEvent.Result[] | values()Returns an array containing the constants of this enum type, in the order they're declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final AsyncPlayerPreLoginEvent.Result ALLOWED
public static final AsyncPlayerPreLoginEvent.Result KICK_FULL
public static final AsyncPlayerPreLoginEvent.Result KICK_BANNED
public static final AsyncPlayerPreLoginEvent.Result KICK_WHITELIST
public static final AsyncPlayerPreLoginEvent.Result KICK_OTHER
| Method Detail | 
|---|
public static final AsyncPlayerPreLoginEvent.Result[] values()
for(AsyncPlayerPreLoginEvent.Result c : AsyncPlayerPreLoginEvent.Result.values())
        System.out.println(c);
public static AsyncPlayerPreLoginEvent.Result valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||