Annotation Interface CommandMethod


@Retention(RUNTIME) @Target(METHOD) public @interface CommandMethod
Marks a method as a console command; the value is the command with its arguments, e.g. "group delete <name>".
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    @NonNull String
    The command: fixed words and <arguments>, e.g.
  • Element Details

    • value

      @NonNull @NonNull String value
      The command: fixed words and <arguments>, e.g. "group delete <name>".