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.
    dev.rollczi.litecommands.strict.StrictMode
    Disables/Enables the strict mode.
  • Element Details

    • name

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

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

      @Experimental dev.rollczi.litecommands.strict.StrictMode strict
      Disables/Enables the strict mode. If the strict mode is disabled, the method will be executed even if there are too many arguments.
      Default:
      DEFAULT