Enum Class LevelcheckType

java.lang.Object
java.lang.Enum<LevelcheckType>
nl.minetopiasdb.api.enums.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

    • COMMAND

      public static final LevelcheckType COMMAND
      For /levelcheck command
    • NPC

      public static final LevelcheckType NPC
      When using the levelcheck NPC
    • VARIABLE_UPDATE

      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.
      Returns:
      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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null