Skip to content

Releases: CommandAPI/CommandAPI

CommandAPI Version 12.0.1-SNAPSHOT

Pre-release

Choose a tag to compare

@DerEchtePilz DerEchtePilz released this 30 Jul 19:32
37dc55a

Minecraft Version Changes

  • Adds support for Minecraft 26.2

CommandAPI Version 12.0.0

Choose a tag to compare

@DerEchtePilz DerEchtePilz released this 28 Jul 12:53
96d61f8

Minecraft Version Changes

  • Adds support for Minecraft 26.2

Full Changelog: 11.2.0...12.0.0

CommandAPI Version 11.2.0

Choose a tag to compare

@JorelAli JorelAli released this 01 Apr 23:05
a80fc03

Minecraft Version Changes

  • Adds support for Minecraft 26.1

Bug Fixes

  • Fixes registering a command with a permission during bootstrap
  • Fixes registering a command when using a non-default namespace during bootstrap

Full Changelog: 11.1.0...11.2.0

CommandAPI Version 11.1.0

Choose a tag to compare

@JorelAli JorelAli released this 16 Dec 21:58
18cb5bb

Minecraft Version Changes

  • Adds support for Minecraft 1.21.11

Bug Fixes

  • Fixes replacing a command by calling CommandAPI.unregister() not working under certain circumstances
  • Fixes custom namespaces not working
  • Fixes an issue where registering or unregistering many commands at runtime could time out the server

New Features

  • #642 Adds the enable-networking and the make-networking-exceptions-warning config options. You can read more about them in the documentation.

Full Changelog: 11.0.0...11.1.0

CommandAPI Version 11.0.0

Choose a tag to compare

@JorelAli JorelAli released this 04 Oct 15:07
a96131d

Minecraft Version Changes

  • Adds support for Minecraft 1.21.9 and 1.21.10
  • Drops support for Minecraft 1.20.5 and below on Paper

Bug Fixes

  • #631 Fixes unregistered commands reappearing after a minecraft:reload. This comes with some other notable changes around command registrations and unregistrations. You can read about these on the command unregistration page in the documentation.
  • #608 The RecipeArgument no longer throws any exceptions on Spigot
  • #494, #503 Fixes the ConcurrentModificationException from happening when registering/unregistering commands at runtime

Module Changes

  • #414, #517 Splits up the CommandAPI into modules specific for Paper and Spigot:
  • Removes the commandapi-bukkit-shade module and the commandapi-bukkit-shade-mojang-mapped module
  • Adds the commandapi-paper-core and the commandapi-paper-shade modules which are made to work on Paper
  • Adds the commandapi-spigot-core and the commandapi-spigot-shade modules which are made to work on Spigot
  • Adds the commandapi-paper-test-toolkit and the commandapi-spigot-test-toolkit which are replacing commandapi-bukkit-test-toolkit for Paper and Spigot respectively
  • Moves and adds a few Kotlin DSL modules:
    • commandapi-core-kotlin -> commandapi-kotlin-core
    • commandapi-bukkit-kotlin -> commandapi-kotlin-bukkit
    • commandapi-velocity-kotlin -> commandapi-kotlin-velocity
    • Newly added: commandapi-kotlin-paper
    • Newly added: commandapi-kotlin-spigot

New features

  • On Paper it is now possible to register commands at bootstrap

API Changes

  • Changes the CommandAPIBukkitConfig class into an abstract one in favour of the newly added CommandAPIPaperConfig or CommandAPISpigotConfig classes, depending on the modules you use
  • The FloatRangeArgument has been renamed to DoubleRangeArgument and now returns a DoubleRange
  • The PlayerArgument and OfflinePlayerArgument have been replaced by the PlayerProfileArgument which returns a List<PlayerProfile>. The PlayerProfile class changes depending on if you are on Paper or on Spigot. Use the EntitySelectorArgument.OnePlayer if you want a Player object.
  • The AsyncOfflinePlayerArgument has been replaced by the AsyncPlayerProfileArgument
  • The ChatArgument, ChatComponentArgument and ChatColorArgument do no longer have any Adventure prefixes and return different types depending on the platform.
  • The ChatArgument returns a SignedMessage object on Paper. Also resolves #381
  • The BlockStateArgument now returns a BlockState object instead of a BlockData object

Config Changes

  • Replaces the use-latest-nms-version and be-lenient-for-minor-versions config options with a fallback-to-latest-nms config option:
    • When loading the CommandAPI and this config option is set to true it will first check if the current version is supported and chooses that
    • In case the current version isn't a supported version, the CommandAPI will choose the latest nms version available which might or might not work correctly
    • This config option is set to true by default on Paper and false on Spigot

Full Changelog: 10.1.2...11.0.0

CommandAPI Version 10.1.2

Choose a tag to compare

@JorelAli JorelAli released this 21 Jul 19:54
410bc01

Minecraft Version Changes

  • Adds support for 1.21.8

Full Changelog: 10.1.1...10.1.2

CommandAPI Version 10.1.1

Choose a tag to compare

@JorelAli JorelAli released this 02 Jul 10:01
3d2e26f

Minecraft Version Changes

  • Adds support for 1.21.7

Full Changelog: 10.1.0...10.1.1

CommandAPI Version 10.1.0

Choose a tag to compare

@JorelAli JorelAli released this 23 Jun 21:37
c24200f

Minecraft Version Changes

  • Adds support for 1.21.6

Full Changelog: 10.0.1...10.1.0

CommandAPI Version 10.0.1

Choose a tag to compare

@JorelAli JorelAli released this 06 May 22:01
1fec285

Bug fixes

  • Fixes command unregistration not working on Paper
  • #645 Ignore requirements for null senders

Full Changelog: 10.0.0...10.0.1

CommandAPI Version 10.0.0

Choose a tag to compare

@JorelAli JorelAli released this 01 Apr 23:00
93c8966

Minecraft Version Changes

  • Adds support for Minecraft 1.21.5
  • Drops support for Minecraft 1.16.5 - 1.19.4

Java Version Changes

  • Changes CommandAPI from Java 16 to Java 17 (LTS)

New features

  • #633 Adds an AsyncOfflinePlayerArgument to allow asynchronous fetching of an offline player

Bug fixes

  • #477 Fixed NativeProxyCommandSender not being able to run Vanilla (and CommandAPI) commands
  • #578, #583, #629 Fixes Bukkit#dispatchCommand() not working after Paper's Brigadier API changes
  • Fixes PotionEffectArgument.NamespacedKey not having suggestions in some versions

New changes

  • #636 The default namespace has been updated from minecraft to the plugin's name. If you are not shading, the default namespace is going to be commandapi. If you are shading, the default namespace is going to be your plugin's name.
  • Updates the config defaults for the datapack reloading step to be opt-in instead of opt-out.
  • The CommandAPI will now tell you if you've messed up mappings (in addition to spewing messy errors)
  • #634 Functions that use Component have now been changed to use ComponentLike
  • Added support for Velocity!

Website Changes

New Contributors

Full Changelog: 9.7.0...10.0.0