Enum LobbyItemHandlerType
- All Implemented Interfaces:
Serializable
,Comparable<LobbyItemHandlerType>
,java.lang.constant.Constable
Represents the type of
LobbyItemHandler
.
Custom ones use PLUGIN
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDecreases lobby timer on use.Kicks player out of the arena.A custom type created by something accessing the API.Opens a GUI in which the player can select the team in which he wants to be in.Opens a GUI that displays all achievements that the player has obtained or hasn't obtained yet.Used for arenas of the typeRegenerationType.VOTING
: Opens a GUI on use in which players can vote in which arena the want to play in. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
getId()
Returns the id that's being used for the handler.static LobbyItemHandlerType
Returns the enum constant of this type with the specified name.static LobbyItemHandlerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VIEW_ACHIEVEMENTS
Opens a GUI that displays all achievements that the player has obtained or hasn't obtained yet. -
FORCE_START
Decreases lobby timer on use. -
LEAVE
Kicks player out of the arena. -
SELECT_TEAM
Opens a GUI in which the player can select the team in which he wants to be in. -
VOTE_ARENA
Used for arenas of the typeRegenerationType.VOTING
: Opens a GUI on use in which players can vote in which arena the want to play in. -
PLUGIN
A custom type created by something accessing the API.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns 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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
Returns the id that's being used for the handler.null
is being returned when passingPLUGIN
.- Returns:
- The id of this handler type
-