CommandAPI Versions Save

A Bukkit/Spigot API for the command UI introduced in Minecraft 1.13

9.4.0

2 weeks ago

Minecraft version changes

  • Adds support for Minecraft 1.20.5 and 1.20.6
  • Drops support for Minecraft 1.15.x

Bug fixes

  • Fixed implementation issues with FunctionArgument from 9.3.0
  • #536, #537 Fixed MultiLiteralArgument help displaying the node name instead of the literal text
  • #524 Fixes CommandAPIBukkit.get().getTags() erroring in 1.20.4

New features

  • #540 Add methods to "safe-cast" arguments to CommandArguments
  • #495 Adds a parameter to EntitySelectorArgument to allow failure when no entity lists are empty
  • #367, #509 Adds the ability to register commands with a custom namespace
  • #523 Exposed more details of the CommandPermission
  • #490 Adds support for Mojang-mapped servers via the CommandAPI config
  • #541 Adds support for a NamespacedKey variant for the PotionEffectArgument

New Contributors

Full Changelog: https://github.com/JorelAli/CommandAPI/compare/9.3.0...9.4.0

9.3.0

5 months ago

⚠️ This version has limited support for the FunctionArgument! (See documentation for more information)

Minecraft version changes

  • Adds support for Minecraft 1.20.3 and 1.20.4

Bug fixes

New features

Known issues

  • Functions generated by the FunctionArgument will always return a value of 1 when executed, regardless if the function succeeds, fails or returns a result
  • Functions generated by the FunctionArgument will always return an empty array of commands when you retrieve the list of commands in that function

New Contributors

Full Changelog: https://github.com/JorelAli/CommandAPI/compare/9.2.0...9.3.0

9.2.0

7 months ago

New features

Bug fixes

  • https://github.com/JorelAli/CommandAPI/issues/488 Fixed calling CommandAPI commands with Bukkit.createCommandSender() not working on paper
  • Fixed a bug where the CommandAPI would throw errors when unregistering commands when a command exists with a : at the end of its name

Minecraft version changes

  • Adds support for 1.20.2

New Contributors

Full Changelog: 9.1.0...9.2.0

9.1.0

9 months ago

New features

Bug fixes

  • Fixes the CommandAPI disabling datapacks on 1.20.1 Paper servers because it thought it was running on a Folia server

New Contributors

Full Changelog: https://github.com/JorelAli/CommandAPI/compare/9.0.3...9.1.0

9.0.3

11 months ago

Minecraft version changes

  • Adds support for 1.20.1

New features

  • https://github.com/JorelAli/CommandAPI/pull/455 Reworked the MapArgument with various features, including:
    • Optional quotes around keys and values
    • No restriction on the characters that are allowed in a key (previously only letters, digits, and underscore)
    • May define a String separator between key-value pairs (instead of just space)

Bug fixes

  • Fixes use-latest-nms-version not pointing to the right version

9.0.2

11 months ago

Minecraft version changes

  • Adds support for 1.20

New features

Bug fixes

  • Fixed literal arguments in command conversion causing errors due to parsing problems

9.0.1

1 year ago

Bug fixes

  • Fixed MapArgument not allowing player names as keys because we forgot to allow the _ character
  • Fixed /execute as ... not working because we were casting to a player instead of a proxied sender
  • Fixed IntegerArgument failing to compile in certain circumstances

New features

  • Added CommandArguments.count() utility method to get the number of arguments
  • Added CommandArguments.getOptional() methods
  • Added CustomArgumentException static factory methods to accept Spigot/Paper text components

Platform support changes

  • Added basic support for Folia

9.0.0

1 year ago

⚠️ This version is incompatible with any plugin that used the CommandAPI version 8.X.X or below! (See documentation for more information)

New features

Kotlin DSL changes

  • Implemented resulting executors
  • Implemented the FunctionArgument
  • Several improvements for the CommandAPICommand DSL

Bug fixes

  • Fixed commandapi-preprocessor appearing in the plugin and shaded jar file
  • https://github.com/JorelAli/CommandAPI/issues/390 Fixed .executesNative()'s CommandSender's getLocation() method returning the wrong pitch and yaw
  • Fixed tags showing up in the BiomeArgument when they shouldn't have been doing so
  • Fixed LocationArgument with BLOCK_POSITION not returning locations in unloaded chunks
  • Fixed IntegerRangeArgument and FloatRangeArgument not working on Minecraft 1.16.4 and 1.16.5
  • Fixed RecipeArgument not working on Minecraft 1.17
  • Fixed TeamArgument not working on Minecraft 1.17
  • Fixed AdventureChatArgument not working on Minecraft 1.17
  • Fixed commands with no executors not being caught by the CommandAPI
  • Fixed ParticleArgument producing "Invalid particle data type" warnings on Minecraft 1.16.5 and below
  • Fixed FunctionArgument not working on Minecraft 1.17.x and 1.18.x
  • Fixed NamespacedKeyArgument not working on Minecraft 1.18
  • Fixed the FunctionArgument not correctly retrieving datapack (function) tags in 1.17+
  • Removed some redundant vibration particle handling code that would never be run under any circumstances

Documentation changes

Other changes

  • Removed all previously deprecated constructors, classes and methods
  • Completely refactored the entire CommandAPI project to help support other platforms
  • Added a live dev build of the documentation at commandapi-live-docs.jorel.dev
  • Improved mobile support for the CommandAPI home page
  • Added the CommandAPI's Modrinth link to the CommandAPI home page
  • Dropped support for Minecraft 1.13 - 1.14.4. Please use an older version of the CommandAPI, or raise an issue on GitHub to bring back support for these versions

8.8.0

1 year ago

Minecraft version changes

  • Adds support for 1.19.4

8.7.6

1 year ago

Bug fixes

  • Fixed NullPointerException that occurs rarely in the CommandAPI's post-loading step