Class ProfileNamespaces

java.lang.Object
dev.rollczi.litecommands.argument.profile.ProfileNamespaces

@Experimental public final class ProfileNamespaces extends Object
Contains default argument profiles defined by LiteCommands-core.
Since:
3.7.0
  • Field Details

    • LITERAL

      public static final ArgumentProfileNamespace<LiteralProfile> LITERAL
      Literal profile allows parsing static values such as /user Rollczi group Admin where group is a literal.
      Since:
      3.8.0
    • JOIN

      public static final ArgumentProfileNamespace<JoinProfile> JOIN
      Join profile allows joining multiple arguments into one.
      Since:
      3.7.0
    • NULLABLE

      public static final ArgumentProfileNamespace<NullableProfile> NULLABLE
      Nullable profile allows passing optional arguments. If the argument is not present, the value will be null.
      Since:
      3.7.0
    • VARARGS

      public static final ArgumentProfileNamespace<VarargsProfile> VARARGS
      Varargs profile allows passing multiple arguments of the same type. e.g. /command arg1,arg2,arg3. The arguments are separated by a delimiter specified in the profile.
      Since:
      3.7.0
    • QUOTED

      public static final ArgumentProfileNamespace<QuotedProfile> QUOTED
      Quoted profile allows passing arguments with spaces. e.g. /command "argument with spaces".
      Since:
      3.7.0
    • FLAG

      public static final ArgumentProfileNamespace<FlagProfile> FLAG
      Flag profile allows passing boolean flags. e.g. /command --flag.
      Since:
      3.7.0