Annotation Type Arg


@Retention(RUNTIME) @Target(PARAMETER) public @interface Arg
  • Element Details

    • completions

      String[] completions
      Default:
      {}
    • completionsProvider

      Class<? extends Arg.CompletionsProvider> completionsProvider
      Default:
      net.citizensnpcs.api.command.Arg.CompletionsProvider.Identity.class
    • defValue

      String defValue
      Default:
      ""
    • validator

      Class<? extends Arg.FlagValidator<?>> validator
      Default:
      net.citizensnpcs.api.command.Arg.FlagValidator.Identity.class
    • value

      int value