Releases: CommandAPI/CommandAPI
Releases · CommandAPI/CommandAPI
CommandAPI Version 8.7.0
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
SoundArgumentin version 8.6.0 are incompatible with this version. Please update your plugin according to the documentation.
CommandAPI Version 8.6.0
New features
- #307 Adds a
CommandArgumentto let users submit commands as an argument - #334 Adds support for chat components in
CommandAPI.fail() - #338 Adds a way to clone a
CommandAPICommandinstance usinginstance.copy() - #351 Adds support for a
ListArgumentwith theTextArgumentbackend, to allow inline lists - #358 Adds a new
WorldArgumentargument that lets you get a list of Minecraft dimensions - Adds support for
SoundArgumentto return string-based sounds via theNamespacedKey - #352 Adds some helper methods to the
LiteralArgumentto make it easier to use via a static import - #357 Adds a Kotlin DSL to register commands in Kotlin!
Documentation improvements
CommandAPI Version 8.5.1
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
TimeArgumentnot working as intended in 1.17+ - #316 Fixes server reloading on Spigot throwing asynchronous-related exceptions in the console
- #323 Fixes
NamespacedKeyArgumentnot 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
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
ChatArgumentandAdventureChatArgument - 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
Bug fixes
- Fix issue where plugin converted commands would throw an exception due to poor handling of arguments
- Fixes
commandapi-annotationsdependency depending onspigotinstead ofspigot-api
CommandAPI Version 8.4.0
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
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
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
- Adds a
.withSubcommands()method to add multiple subcommands in one go - Exposed
registeredCommandsfield 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
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