Annotation Interface Command


@Target(TYPE) @Retention(RUNTIME) public @interface Command
Is used to mark the class as a command. This annotation is required for the class to be registered.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Represents the part of the command.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Represents the aliases of the command.
    dev.rollczi.litecommands.strict.StrictMode
    Disables/Enables the strict mode.
  • Element Details

    • name

      String name
      Represents the part of the command.
    • aliases

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

      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