Class BukkitParserParameters

java.lang.Object
cloud.commandframework.bukkit.BukkitParserParameters

@API(status=STABLE, since="1.7.0") public final class BukkitParserParameters extends Object
ParserParameter keys for cloud-bukkit.
Since:
1.7.0
  • Field Details

    • ALLOW_EMPTY_SELECTOR_RESULT

      @API(status=STABLE, since="1.8.0") public static final cloud.commandframework.arguments.parser.ParserParameter<Boolean> ALLOW_EMPTY_SELECTOR_RESULT
      Used to specify if an empty result is allowed for MultiplePlayerSelectorArgument and MultipleEntitySelectorArgument.
      Since:
      1.8.0
    • REQUIRE_EXPLICIT_NAMESPACE

      public static final cloud.commandframework.arguments.parser.ParserParameter<Boolean> REQUIRE_EXPLICIT_NAMESPACE
      Sets to require explicit namespaces for NamespacedKeyArgument (i.e. 'test' will be rejected but 'test:test' will pass).
      Since:
      1.7.0
    • DEFAULT_NAMESPACE

      public static final cloud.commandframework.arguments.parser.ParserParameter<String> DEFAULT_NAMESPACE
      Sets a custom default namespace for NamespacedKeyArgument. Without this annotation the default is NamespacedKey.MINECRAFT.
      Since:
      1.7.0