Enum ConfigFile

java.lang.Object
java.lang.Enum<ConfigFile>
de.marcely.bedwars.api.configuration.ConfigFile
All Implemented Interfaces:
Serializable, Comparable<ConfigFile>, java.lang.constant.Constable

public enum ConfigFile extends Enum<ConfigFile>
Represents all the config files of MBedwars
  • Enum Constant Details

    • MAIN

      public static final ConfigFile MAIN
      The main config of MBedwars
    • SHOP

      public static final ConfigFile SHOP
      The shop config file
    • UPGRADE_SHOP

      public static final ConfigFile UPGRADE_SHOP
      The upgrade shop config file
    • SPAWNERS

      public static final ConfigFile SPAWNERS
      The spawners config file
    • SOUNDS

      public static final ConfigFile SOUNDS
      The sounds config file
    • SPECTATOR_HOTBAR

      public static final ConfigFile SPECTATOR_HOTBAR
      The spectator hotbar config file
    • STATS_HOLOGRAM_LINES

      public static final ConfigFile STATS_HOLOGRAM_LINES
      The stats hologram config file
    • RANKING_LINES

      public static final ConfigFile RANKING_LINES
      The ranking lines config file
    • LOBBY_HOTBAR

      public static final ConfigFile LOBBY_HOTBAR
      The lobby hotbar config file
    • ACHIEVEMENTS

      public static final ConfigFile ACHIEVEMENTS
      The achievements config file
  • Method Details

    • values

      public static ConfigFile[] 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

      public static ConfigFile valueOf(String name)
      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 name
      NullPointerException - if the argument is null