Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: CommandAPI/CommandAPI

CommandAPI Version 8.7.0

12 Dec 17:34
95c6f36

Choose a tag to compare

Minecraft version changes

  • Adds support for 1.19.3

New features

  • Deprecates Argument "type" constructors in favour of static inner classes

Backward incompatibilities

  • Plugins that used the SoundArgument in version 8.6.0 are incompatible with this version. Please update your plugin according to the documentation.

CommandAPI Version 8.6.0

04 Dec 11:16
f56748d

Choose a tag to compare

New features

  • #307 Adds a CommandArgument to let users submit commands as an argument
  • #334 Adds support for chat components in CommandAPI.fail()
  • #338 Adds a way to clone a CommandAPICommand instance using instance.copy()
  • #351 Adds support for a ListArgument with the TextArgument backend, to allow inline lists
  • #358 Adds a new WorldArgument argument that lets you get a list of Minecraft dimensions
  • Adds support for SoundArgument to return string-based sounds via the NamespacedKey
  • #352 Adds some helper methods to the LiteralArgument to make it easier to use via a static import
  • #357 Adds a Kotlin DSL to register commands in Kotlin!

Documentation improvements

  • #330 Improve the documentation for disabling the CommandAPI via CommandAPI.onDisable()
  • #340 Adds Kotlin examples in the documentation
  • #341 Fix incorrect code block in normal executors documentation page

CommandAPI Version 8.5.1

11 Aug 20:50
27f57e3

Choose a tag to compare

Bug fixes

  • #311 Fixes packets with invalid signatures kicking the client when sending certain commands with a chat preview enabled argument
  • #312 Safeguards against command paths with duplicate node names which could cause the client to crash
  • #313 Fixes subcommand information being overwritten after a command has been registered
  • #314 Fixes TimeArgument not working as intended in 1.17+
  • #316 Fixes server reloading on Spigot throwing asynchronous-related exceptions in the console
  • #323 Fixes NamespacedKeyArgument not working in 1.17
  • Fixes commands not working pre-1.19
  • Fixes argument suggestions not working if a subcommand's node name is the same as the argument's node name

New improvements

  • Improves the underlying implementation of chatcolor, enchantment and potion arguments in 1.17+
  • Improves NMS code sharing between 1.19, 1.19.1 and 1.19.2
  • Improves the implementation of the list argument to only display suggestions for the last item in the list and prevent unlisted items being entered

Minecraft version changes

  • Adds support for Minecraft 1.19.2

CommandAPI Version 8.5.0

28 Jul 21:39
f6d72b7

Choose a tag to compare

Development improvements:

  • Improves the issue templates on GitHub for creating bug reports and feature requests
  • Adds a testing suite for the CommandAPI which can test for successful command registration and execution
  • Adds an example of shading the CommandAPI with Maven in examples/maven-shaded/

Bug fixes:

  • Fixes suggestions not working in 1.16.5 and below due to Brigadier implementation versions
  • Fixes the CommandAPI allowing spaces in command names
  • Fixes datapack reloading on 1.17.1

New features/improvements:

  • Adds support for Minecraft 1.19.1
  • Adds support for chat preview with ChatArgument and AdventureChatArgument
  • Adds a CommandAPI.onDisable() method to disable the CommandAPI gracefully
  • Adds Kotlin-DSL gradle to the documentation
  • Prevents the CommandAPI re-parsing previous arguments multiple times when running a command
  • Adds CommandAPI.isLoaded() to check if the CommandAPI is loaded
  • Shares NMS code for 1.13.x and 1.14.x, reducing the jar size

CommandAPI Version 8.4.1

23 Jun 13:39
db1c6ce

Choose a tag to compare

Bug fixes

  • Fix issue where plugin converted commands would throw an exception due to poor handling of arguments
  • Fixes commandapi-annotations dependency depending on spigot instead of spigot-api

CommandAPI Version 8.4.0

18 Jun 15:30
60ca3ed

Choose a tag to compare

New features

  • Allow developers to shade their own copy of an NBT API framework (e.g. NBT API or PowerNBT)
  • Includes the NBT API built-in for plugin versions
  • Implement base arguments for CustomArguments, allowing more powerful parsing
  • Adds NamespacedKeyArgument
  • Adds support for shaded versions of the CommandAPI to create their own command_registration.json files for debugging
  • Adds support for /minecraft:reload on paper servers
  • Adds CommandAPI.getRegisteredCommands() to get a list of registered commands

Bug fixes

  • Fixes bug where WrapperCommandSyntaxException wouldn't work as intended
  • Fixes dependency issues with shading the CommandAPI into your plugins

Quality of life improvements

  • Better support for Jar minimization:
    • Decouples CustomArgument from CommandAPIHandler
    • Decouples EntitySelector from EntitySelectorArgument
  • Implement common NMS code for 1.17+

CommandAPI Version 8.3.1

09 Jun 12:17
9686a0a

Choose a tag to compare

Bug fixes

  • Fixes critical issue where non-Vanilla commands (e.g. Bukkit's own commands, or other plugin commands) had no command suggestions visible for players.

CommandAPI Version 8.3.0

07 Jun 19:51
494f4ed

Choose a tag to compare

Minecraft version changes

  • Adds support for 1.13 - 1.19

Java version changes

  • This has been compiled with Java 16 (no longer Java 17)

CommandAPI Version 8.2.1

04 Jun 19:58
3e238ac

Choose a tag to compare

  • Adds a .withSubcommands() method to add multiple subcommands in one go
  • Exposed registeredCommands field in the CommandAPIHandler to get a list of registered commands
  • Fixed CommandAPI logging prefix twice in shaded versions of the CommandAPI

CommandAPI Version 8.2.0

25 May 21:18
e0a154e

Choose a tag to compare

Bug fixes

  • Fixes documentation bug with multiple executor types
  • Merge #285, which fixes suggestion strings not filtering when they are being typed

New features

  • Adds a list argument to allow developers to enter lists of strings

Version changes

  • Brings back support for Minecraft 1.16.5