Enum Class Command

java.lang.Object
java.lang.Enum<Command>
xericker.arenalegends.command.Command
All Implemented Interfaces:
Serializable, Comparable<Command>, Constable

public enum Command extends Enum<Command>
  • Enum Constant Details

    • CREATE

      public static final Command CREATE
    • REMOVE

      public static final Command REMOVE
    • SETTING

      public static final Command SETTING
    • MANAGER

      public static final Command MANAGER
    • MODIFICATOR

      public static final Command MODIFICATOR
    • START

      public static final Command START
    • END

      public static final Command END
    • RESTART

      public static final Command RESTART
    • TESTMODE

      public static final Command TESTMODE
    • QUICKJOIN

      public static final Command QUICKJOIN
    • JOIN

      public static final Command JOIN
    • QUIT

      public static final Command QUIT
    • SPECTATE

      public static final Command SPECTATE
    • GLOBALSTATISTIC

      public static final Command GLOBALSTATISTIC
    • MODESTATISTIC

      public static final Command MODESTATISTIC
    • LISTITEMS

      public static final Command LISTITEMS
    • LISTAUGMENTS

      public static final Command LISTAUGMENTS
    • LISTANVILSTATS

      public static final Command LISTANVILSTATS
    • LISTCAMEOS

      public static final Command LISTCAMEOS
    • LISTFINISHERS

      public static final Command LISTFINISHERS
    • LISTKILLCOUNTERS

      public static final Command LISTKILLCOUNTERS
    • LISTDUMMYSKINS

      public static final Command LISTDUMMYSKINS
    • LISTITEMSKINS

      public static final Command LISTITEMSKINS
    • LISTUPGRADES

      public static final Command LISTUPGRADES
    • COMMANDS

      public static final Command COMMANDS
    • STATS

      public static final Command STATS
    • COPYLOC

      public static final Command COPYLOC
    • ROOT

      public static final Command ROOT
  • Method Details

    • values

      public static Command[] 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 Command 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
    • getName

      public String getName()
    • getDescription

      public String getDescription()
    • getAliases

      public String[] getAliases()
    • getArguments

      public String[] getArguments()
    • parse

      public static Optional<Command> parse(String string)
    • execute

      public void execute(org.bukkit.command.CommandSender commandSender, String[] arguments)
    • getPermissions

      public String[] getPermissions()
    • hasPermission

      public boolean hasPermission(Object object)
    • hasPermission

      public boolean hasPermission(Object object, boolean sendMessage)
    • requirePlayer

      public static boolean requirePlayer(org.bukkit.command.CommandSender sender)