Skip to content

v1.9.2

Choose a tag to compare

@Mqzn Mqzn released this 23 May 14:03
· 572 commits to master since this release

Hot Patch

This update includes several bug fixes.

  • Fixed default values not being resolved for true flags.

  • Fixed quoted strings not being resolved correct if they are before or after true flags.

  • Improved the CommandInputStream for more accurate input handling.

  • Added context resolvers for ArgumentQueue and ExecutionContext<YourPlatformSource> by default.
    No need to use @ContextResolved on parameters of these types, just like CommandHelp.

  • Added ParameterType#supplyDefaultValue, to help define default values automated by the type.
    this can be overridden by setting your own default value through the CommandParameter object itself or by overriding the method.

  • Refactored OptionalValueSupplier#supply method's signature to include CommandParameter<S>

Notice

v1.9.1 was an experimental patch, can be used as "1.9.1-SNAPHSOT" with the following repo:
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")