Enum ConfigFile
- All Implemented Interfaces:
Serializable
,Comparable<ConfigFile>
,java.lang.constant.Constable
Represents all the config files of MBedwars
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe achievements config fileThe hologram lines config fileThe lobby hotbar config fileThe main config of MBedwarsDeprecated.This config no longer exists, this remains for compatibilityThe shop config fileThe layout properties config fileThe sounds config fileThe spawners config fileThe spectator hotbar config fileDeprecated.This config no longer exists, this remains for compatibilityThe teams config fileThe upgrade shop config file -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigFile
Returns the enum constant of this type with the specified name.static ConfigFile[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MAIN
The main config of MBedwars -
SHOP
The shop config file -
UPGRADE_SHOP
The upgrade shop config file -
SPAWNERS
The spawners config file -
SOUNDS
The sounds config file -
SPECTATOR_HOTBAR
The spectator hotbar config file -
TEAMS
The teams config file -
HOLOGRAM_LINES
The hologram lines config file -
STATS_HOLOGRAM_LINES
Deprecated.This config no longer exists, this remains for compatibilityThe old stats hologram config file -
RANKING_LINES
Deprecated.This config no longer exists, this remains for compatibilityThe old ranking lines config file -
LOBBY_HOTBAR
The lobby hotbar config file -
SHOP_LAYOUTS_PROPERTIES
The layout properties config file -
ACHIEVEMENTS
The achievements config file
-
-
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
-