Enum Class CommandCategory

java.lang.Object
java.lang.Enum<CommandCategory>
com.plotsquared.core.command.CommandCategory
All Implemented Interfaces:
Caption, Serializable, Comparable<CommandCategory>, Constable

public enum CommandCategory extends Enum<CommandCategory> implements Caption
CommandCategory.
  • Enum Constant Details

    • CLAIMING

      public static final CommandCategory CLAIMING
      Claiming CommandConfig. Such as: /plot claim
    • TELEPORT

      public static final CommandCategory TELEPORT
      Teleportation CommandConfig. Such as: /plot visit
    • SETTINGS

      public static final CommandCategory SETTINGS
      Protection.
    • CHAT

      public static final CommandCategory CHAT
      Chat.
    • SCHEMATIC

      public static final CommandCategory SCHEMATIC
      Web.
    • APPEARANCE

      public static final CommandCategory APPEARANCE
      Cosmetic.
    • INFO

      public static final CommandCategory INFO
      Information CommandConfig. Such as: /plot info
    • DEBUG

      public static final CommandCategory DEBUG
      Debug CommandConfig. Such as: /plot debug
    • ADMINISTRATION

      public static final CommandCategory ADMINISTRATION
      Administration commands.
  • Method Details

    • values

      public static CommandCategory[] 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 CommandCategory 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
    • toString

      @Deprecated public String toString()
      Deprecated.
      Overrides:
      toString in class Enum<CommandCategory>
    • getComponent

      public @NonNull String getComponent(@NonNull LocaleHolder localeHolder)
      Description copied from interface: Caption
      Get the message that should be sent to the recipient
      Specified by:
      getComponent in interface Caption
      Parameters:
      localeHolder - Locale holder
      Returns:
      Message