Enum Class LevelcheckType

All Implemented Interfaces:
Serializable, Comparable<LevelcheckType>, Constable

public enum LevelcheckType extends Enum<LevelcheckType>
Different reasons why a levelcheck is started. Used in PlayerLevelCheckEvent.
  • Enum Constant Details


      public static final LevelcheckType COMMAND
      For /levelcheck command
    • NPC

      public static final LevelcheckType NPC
      When using the levelcheck NPC

      public static final LevelcheckType VARIABLE_UPDATE
      When the levelcheck variable is requested
    • OTHER

      public static final LevelcheckType OTHER
      Not in use by MinetopiaSDB. Might be useful for other people using the API.
  • Method Details

    • values

      public static LevelcheckType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LevelcheckType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null