Annotation Interface Execute


@Target(METHOD) @Retention(RUNTIME) public @interface Execute
Represents the method that will be executed when the command is called. This annotation is required for the method to be executed.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Represents the aliases of the command.
    Represents the name of the command.
  • Element Details

    • name

      String name
      Represents the name of the command.
      Default:
      ""
    • aliases

      String[] aliases
      Represents the aliases of the command.
      Default:
      {}