Enum ArenaIssuesCheckEvent.IssueType
java.lang.Object
java.lang.Enum<ArenaIssuesCheckEvent.IssueType>
de.marcely.bedwars.api.event.arena.ArenaIssuesCheckEvent.IssueType
- All Implemented Interfaces:
- Serializable,- Comparable<ArenaIssuesCheckEvent.IssueType>,- java.lang.constant.Constable
- Enclosing class:
- ArenaIssuesCheckEvent
Represents the type of an issue.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe arena'sRegenerationTypeis WORLD, and the arena's world is the server's main world.The game world has been set, but it's not loaded.The match area of the arena collides with other arenas.The hub-location (or also known as game-done-location) is inside the match area.No corners have been defined for region arenas.The hub-location (or also known as game-done-location) is missing.The game-world is either missing or not loaded.No (waiting) lobby is missing.A bed of a team is missing.The spawnpoint of a team is missing.A plugin added a custom issue.The region's maxY is greater than the world's max height.The region's minY is less than the world's min height.
- 
Method SummaryModifier and TypeMethodDescriptionconstruct(@Nullable CommandSenderWrapper sender) Construct an issue instance from this type.construct(@Nullable CommandSenderWrapper sender, @Nullable String detail) Construct an issue instance from this type.@Nullable MessageGet the error message that would be displayed using this issue-type.Returns the enum constant of this type with the specified name.static ArenaIssuesCheckEvent.IssueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
MISSING_TEAM_BEDA bed of a team is missing.
- 
MISSING_TEAM_SPAWNThe spawnpoint of a team is missing.
- 
MISSING_LOBBYNo (waiting) lobby is missing.
- 
MISSING_GAME_DONE_LOCATIONThe hub-location (or also known as game-done-location) is missing.
- 
MISSING_GAME_WORLDThe game-world is either missing or not loaded.
- 
MISSING_CORNERSNo corners have been defined for region arenas.
- 
REGION_GREATER_THAN_WORLD_MAX_HEIGHTThe region's maxY is greater than the world's max height.
- 
REGION_LESS_THAN_WORLD_MIN_HEIGHTThe region's minY is less than the world's min height.
- 
GAME_WORLD_IS_MAIN_WORLDThe arena'sRegenerationTypeis WORLD, and the arena's world is the server's main world.
- 
GAME_WORLD_NOT_LOADEDThe game world has been set, but it's not loaded.
- 
MATCH_AREA_COLLIDESThe match area of the arena collides with other arenas.
- 
MATCH_AREA_INTERFERES_GAME_DONE_LOCATIONThe hub-location (or also known as game-done-location) is inside the match area.The reason why this is a problem is because non-op players may not get teleported back to the hub. 
- 
PLUGINA plugin added a custom issue.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
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.)- 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 name
- NullPointerException- if the argument is null
 
- 
getMessageGet the error message that would be displayed using this issue-type.It only returns nullforPLUGIN.- Returns:
- The message that'd get displayed. May be null
 
- 
constructConstruct an issue instance from this type.- Parameters:
- sender- The sender to which this shall be displayed to for auto-translation. May be- null
- Returns:
- The issue instance
- Throws:
- IllegalStateException- If done for- PLUGIN
 
- 
constructpublic ArenaIssuesCheckEvent.Issue construct(@Nullable @Nullable CommandSenderWrapper sender, @Nullable @Nullable String detail) Construct an issue instance from this type.- Parameters:
- sender- The sender to which this shall be displayed to for auto-translation. May be- null
- detail- The optional, additional detail that'd get displayed. May be- null
- Returns:
- The issue instance
- Throws:
- IllegalStateException- If done for- PLUGIN
 
 
-