Annotation Type Flag


@Retention(RUNTIME) @Target(PARAMETER) public @interface Flag
  • 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:
      ""
    • permission

      String permission
      Default:
      ""
    • validator

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

      String[] value