- All Implemented Interfaces:
- Enclosing interface:
Represents the status of a connection request initiated by a
Nested Class Summary
Enum Constant SummaryEnum ConstantDescriptionThe player is already connected to this server.A plugin has cancelled this connection.The connection is already in progress.The server disconnected the user.The player was successfully connected to the server.
Method SummaryModifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.
values()Returns an array containing the constants of this enum type, in the order they are declared.
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
SUCCESSpublic static final ConnectionRequestBuilder.Status SUCCESSThe player was successfully connected to the server.
ALREADY_CONNECTEDpublic static final ConnectionRequestBuilder.Status ALREADY_CONNECTEDThe player is already connected to this server.
CONNECTION_IN_PROGRESSpublic static final ConnectionRequestBuilder.Status CONNECTION_IN_PROGRESSThe connection is already in progress.
CONNECTION_CANCELLEDpublic static final ConnectionRequestBuilder.Status CONNECTION_CANCELLEDA plugin has cancelled this connection.
SERVER_DISCONNECTEDpublic static final ConnectionRequestBuilder.Status SERVER_DISCONNECTEDThe server disconnected the user. A reason may be provided in the
valuespublic static ConnectionRequestBuilder.Status values()Returns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)