
Minecraft 服务端插件
CommandAPI
An API to use the command UI introduced in Minecraft 1.13
- 版本范围
- 1.13–26.1.1
- 下载量
- 7.7 万
插件介绍
A Bukkit/Spigot API to use the command UI introduced in Minecraft 1.13
Everything you'll ever need can be found on the GitHub page
What is the CommandAPI?
The CommandAPI provides full support for the new command UI which was implemented in Minecraft's 1.13 update.

Wanna stay up to date? We've got a Discord server!
Brief overview of features
- Better commands - Prevent players from running invalid commands, making it easier for developers
- Better arguments - Automatic argument parsing with built-in validation
- Support for proxied command senders - Run your command as other entities using /execute as ... run command
- Support for the /execute command - Let your command to be executed by the built in /execute command
- Support for Minecraft's functions - Allow your command to be executed from Minecraft's functions and tags
- No plugin.yml registration - Commands don't need to be registered in the plugin.yml file anymore
- No other dependencies - You don't need to import Brigadier in your projects to use the CommandAPI
- No tracking - The CommandAPI doesn't collect any stats about its plugin; what you see is what you get!
Argument type casting
Instead of checking if an argument is an integer after they run the command like this:
onCommand(CommandSender sender, Command command, String label, String[] args) {
try {
int i = Integer.parseInt(args[0]);
// Do something with this number
catch (NumberFormatException e) {
// Do something with the fact this isn't a number...
}
}
You can rest assured that the CommandAPI has inferred whatever type you want and can jump straight to this:
new CommandAPICommand("mycommand")
.withArguments(new IntegerArgument("myint"))
.executes((sender, args) -> {
int i = (int) args.get("myint");
// Do something with this number
})
.register();
The CommandAPI offers over 40 different arguments to tailor to your needs! Automatic casting to Enchantments, EntityTypes, Locations, ItemStacks, PotionEffects and many more!
CommandSender type checks
Never again will you have to check if your sender is a player! The CommandAPI provides automatic command sender checks for all sorts of command senders:
new CommandAPICommand("mycommand")
.withArguments(arguments)
.executesPlayer((player, args) -> {
player.sendMessage("Hi " + player.getDisplayName());
})
.register();
Documentation
The latest documentation can be found here. Trust me, you've never, ever seen documentation this good before.
Built-in plugin converter
Bummed that your plugin's commands can't be used with the /execute command and don't know how to write code? The CommandAPI has you covered! With its built-in plugin command conversion system, you can make any plugin command compatible with Minecraft's /execute command and datapacks!
Still not convinced?
Here's what else it can do:
- Parse integers with ranges automatically (force your command to only accept values within a range)
- Handle integer and floating point locations, as well as relative locations using the ~ symbol
- Parse raw JSON and convert it straight into a BaseComponent[]
- Parse online players, with suggestions based on who's online
- Create custom arguments that parse Strings into custom defined objects
- Apply permissions to specific arguments - you need permissions to even see the suggested arguments as well as run it
- Make other plugins that weren't written with the CommandAPI compatible with the /execute command
- Handle results and successes of commands just like you can with command blocks
- Set context-aware suggestions based on what the user has already entered into their command prompt
Need I say more?
展示图集



版本与下载
推荐下载
CommandAPI-11.2.0-Paper.jar版本 11.2.0 · 716 KBSHA-1 e5b84851276d3887631a3404ba26a82bdec416b6下载 CommandAPI-11.2.0-Paper.jar11.2.0
正式版- 加载器
- folia · paper
- MC 版本
- 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11 · 26.1 · 26.1.1
SHA-1 e5b84851276d3887631a3404ba26a82bdec416b6获取文件 CommandAPI-11.2.0-Paper.jar展开更新日志
Minecraft Version Changes
- Adds support for Minecraft 26.1
Bug Fixes
- Fixes multiple issues with command registration at bootstrap
11.2.0
正式版- 加载器
- spigot
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11 · 26.1 · 26.1.1
SHA-1 1dfdd49ab2fdd65956ba1a8a42871d0a86e83e71获取文件 CommandAPI-11.2.0-Spigot.jar展开更新日志
Minecraft Version Changes
- Adds support for Minecraft 26.1
Bug Fixes
- Fixes multiple issues with command registration at bootstrap
11.2.0
正式版- 加载器
- velocity
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11 · 26.1 · 26.1.1
SHA-1 254f7ecab6bf1fb488a18365a991440dcb551c07获取文件 CommandAPI-11.2.0-Velocity.jar展开更新日志
Minecraft Version Changes
- Adds support for Minecraft 26.1
Bug Fixes
- Fixes multiple issues with command registration at bootstrap
11.1.0
正式版- 加载器
- folia · paper
- MC 版本
- 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11
SHA-1 5ddbfece1208b240b2bf6d159d4b08e17529e5d5获取文件 CommandAPI-11.1.0-Paper.jar展开更新日志
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-networkingand themake-networking-exceptions-warningconfig options. You can read more about them in the documentation.
11.1.0
正式版- 加载器
- spigot
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11
SHA-1 e564cacbdb8d27e06f5e4a224592318b9cf91950获取文件 CommandAPI-11.1.0-Spigot.jar展开更新日志
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-networkingand themake-networking-exceptions-warningconfig options. You can read more about them in the documentation.
11.1.0
正式版- 加载器
- velocity
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9 · 1.21.10 · 1.21.11
SHA-1 50caa4cd963416d2f597b77e36fb5d6a8b3a6d6e获取文件 CommandAPI-11.1.0-Velocity.jar展开更新日志
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-networkingand themake-networking-exceptions-warningconfig options. You can read more about them in the documentation.
11.0.0
正式版- 加载器
- folia · paper
- MC 版本
- 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9
SHA-1 1a46cf0cfc21cada28634ce9d8aa6b238e0b3e55获取文件 CommandAPI-11.0.0-Paper.jar展开更新日志
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-shademodule and thecommandapi-bukkit-shade-mojang-mappedmodule - Adds the
commandapi-paper-coreand thecommandapi-paper-shademodules which are made to work on Paper - Adds the
commandapi-spigot-coreand thecommandapi-spigot-shademodules which are made to work on Spigot - Adds the
commandapi-paper-test-toolkitand thecommandapi-spigot-test-toolkitwhich are replacingcommandapi-bukkit-test-toolkitfor Paper and Spigot respectively - Moves and adds a few Kotlin DSL modules:
commandapi-core-kotlin -> commandapi-kotlin-corecommandapi-bukkit-kotlin -> commandapi-kotlin-bukkitcommandapi-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
CommandAPIBukkitConfigclass into an abstract one in favour of the newly addedCommandAPIPaperConfigorCommandAPISpigotConfigclasses, depending on the modules you use - The
FloatRangeArgumenthas been renamed toDoubleRangeArgumentand now returns aDoubleRange - The
PlayerArgumentandOfflinePlayerArgumenthave been replaced by thePlayerProfileArgumentwhich returns aList<PlayerProfile>. ThePlayerProfileclass changes depending on if you are on Paper or on Spigot. Use theEntitySelectorArgument.OnePlayerif you want aPlayerobject. - The
AsyncOfflinePlayerArgumenthas been replaced by theAsyncPlayerProfileArgument - The
ChatArgument,ChatComponentArgumentandChatColorArgumentdo no longer have any Adventure prefixes and return different types depending on the platform. - The
ChatArgumentreturns aSignedMessageobject on Paper. Also resolves #381 - The
BlockStateArgumentnow returns aBlockStateobject instead of aBlockDataobject
Config Changes
- Replaces the
use-latest-nms-versionandbe-lenient-for-minor-versionsconfig options with afallback-to-latest-nmsconfig 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
11.0.0
正式版- 加载器
- spigot
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9
SHA-1 c02fcc0bc6f02174f77afaacd9c12683ec42ad0e获取文件 CommandAPI-11.0.0-Spigot.jar展开更新日志
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-shademodule and thecommandapi-bukkit-shade-mojang-mappedmodule - Adds the
commandapi-paper-coreand thecommandapi-paper-shademodules which are made to work on Paper - Adds the
commandapi-spigot-coreand thecommandapi-spigot-shademodules which are made to work on Spigot - Adds the
commandapi-paper-test-toolkitand thecommandapi-spigot-test-toolkitwhich are replacingcommandapi-bukkit-test-toolkitfor Paper and Spigot respectively - Moves and adds a few Kotlin DSL modules:
commandapi-core-kotlin -> commandapi-kotlin-corecommandapi-bukkit-kotlin -> commandapi-kotlin-bukkitcommandapi-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
CommandAPIBukkitConfigclass into an abstract one in favour of the newly addedCommandAPIPaperConfigorCommandAPISpigotConfigclasses, depending on the modules you use - The
FloatRangeArgumenthas been renamed toDoubleRangeArgumentand now returns aDoubleRange - The
PlayerArgumentandOfflinePlayerArgumenthave been replaced by thePlayerProfileArgumentwhich returns aList<PlayerProfile>. ThePlayerProfileclass changes depending on if you are on Paper or on Spigot. Use theEntitySelectorArgument.OnePlayerif you want aPlayerobject. - The
AsyncOfflinePlayerArgumenthas been replaced by theAsyncPlayerProfileArgument - The
ChatArgument,ChatComponentArgumentandChatColorArgumentdo no longer have any Adventure prefixes and return different types depending on the platform. - The
ChatArgumentreturns aSignedMessageobject on Paper. Also resolves #381 - The
BlockStateArgumentnow returns aBlockStateobject instead of aBlockDataobject
Config Changes
- Replaces the
use-latest-nms-versionandbe-lenient-for-minor-versionsconfig options with afallback-to-latest-nmsconfig 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
11.0.0
正式版- 加载器
- velocity
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8 · 1.21.9
SHA-1 bf73a2ac1f4cd089d265d01f8ea5d165205765fe获取文件 CommandAPI-11.0.0-Velocity.jar展开更新日志
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-shademodule and thecommandapi-bukkit-shade-mojang-mappedmodule - Adds the
commandapi-paper-coreand thecommandapi-paper-shademodules which are made to work on Paper - Adds the
commandapi-spigot-coreand thecommandapi-spigot-shademodules which are made to work on Spigot - Adds the
commandapi-paper-test-toolkitand thecommandapi-spigot-test-toolkitwhich are replacingcommandapi-bukkit-test-toolkitfor Paper and Spigot respectively - Moves and adds a few Kotlin DSL modules:
commandapi-core-kotlin -> commandapi-kotlin-corecommandapi-bukkit-kotlin -> commandapi-kotlin-bukkitcommandapi-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
CommandAPIBukkitConfigclass into an abstract one in favour of the newly addedCommandAPIPaperConfigorCommandAPISpigotConfigclasses, depending on the modules you use - The
FloatRangeArgumenthas been renamed toDoubleRangeArgumentand now returns aDoubleRange - The
PlayerArgumentandOfflinePlayerArgumenthave been replaced by thePlayerProfileArgumentwhich returns aList<PlayerProfile>. ThePlayerProfileclass changes depending on if you are on Paper or on Spigot. Use theEntitySelectorArgument.OnePlayerif you want aPlayerobject. - The
AsyncOfflinePlayerArgumenthas been replaced by theAsyncPlayerProfileArgument - The
ChatArgument,ChatComponentArgumentandChatColorArgumentdo no longer have any Adventure prefixes and return different types depending on the platform. - The
ChatArgumentreturns aSignedMessageobject on Paper. Also resolves #381 - The
BlockStateArgumentnow returns aBlockStateobject instead of aBlockDataobject
Config Changes
- Replaces the
use-latest-nms-versionandbe-lenient-for-minor-versionsconfig options with afallback-to-latest-nmsconfig 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
10.1.2
正式版- 加载器
- folia · paper
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8
SHA-1 1c71353561f47dd8b62ec82ec66025f861d5f747获取文件 CommandAPI-10.1.2-Mojang-Mapped.jar展开更新日志
Minecraft version changes
- Adds support for Minecraft 1.21.8
10.1.2
正式版- 加载器
- bukkit · spigot
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7 · 1.21.8
SHA-1 8a6ce6700e1851eecaf668759850c04df756d405获取文件 CommandAPI-10.1.2.jar展开更新日志
Minecraft version changes
- Adds support for Minecraft 1.21.8
10.1.1
正式版- 加载器
- folia · paper
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7
SHA-1 d8ed04bc9da41d3b5590bbd94d092dcffb7b0f82获取文件 CommandAPI-10.1.1-Mojang-Mapped.jar展开更新日志
Minecraft version changes
- Adds support for Minecraft 1.21.7
10.1.1
正式版- 加载器
- bukkit · spigot
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6 · 1.21.7
SHA-1 2ba73271992119f4574eaf76d647cfc3132cfee7获取文件 CommandAPI-10.1.1.jar展开更新日志
Minecraft version changes
- Adds support for Minecraft 1.21.7
10.1.0
正式版- 加载器
- folia · paper
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6
SHA-1 29788ea4e9cfff1fbbc7312ee5b2eb190d552756获取文件 CommandAPI-10.1.0-Mojang-Mapped.jar展开更新日志
Minecraft version changes
- Adds support for Minecraft 1.21.6
10.1.0
正式版- 加载器
- bukkit · spigot
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6
SHA-1 ba018c4c5cd8194462891f085c0179eec5056cb7获取文件 CommandAPI-10.1.0.jar展开更新日志
Minecraft version changes
- Adds support for Minecraft 1.21.6
10.1.0
正式版- 加载器
- velocity
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5 · 1.21.6
SHA-1 126ebbbde3a6194c31582e86581555011c697da2获取文件 CommandAPI-10.1.0-Velocity.jar展开更新日志
Minecraft version changes
- Adds support for Minecraft 1.21.6
10.0.1
正式版- 加载器
- bukkit · paper · spigot
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5
SHA-1 93b8880847bdeccc24ba5d27d0a207e420d72167获取文件 CommandAPI-10.0.1-Networking-Plugin.jar展开更新日志
Bug fixes
- Fixes command unregistration not working on Paper
- #645 Ignore requirements for null senders
10.0.1
正式版- 加载器
- velocity
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5
SHA-1 94506fec25e6a284b7f75d1e39581cb3b40aafa4获取文件 CommandAPI-10.0.1-Velocity.jar展开更新日志
Bug fixes
- Fixes command unregistration not working on Paper
- #645 Ignore requirements for null senders
10.0.1
正式版- 加载器
- folia · paper
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5
SHA-1 ba55eefb9ab1236c5e15e46137a325440b62ba39获取文件 CommandAPI-10.0.1-Mojang-Mapped.jar展开更新日志
Bug fixes
- Fixes command unregistration not working on Paper
- #645 Ignore requirements for null senders
10.0.1
正式版- 加载器
- bukkit · spigot
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5
SHA-1 aef2c270a941f13a7857724e232c68ae96ef88a6获取文件 CommandAPI-10.0.1.jar展开更新日志
Bug fixes
- Fixes command unregistration not working on Paper
- #645 Ignore requirements for null senders
10.0.0
正式版- 加载器
- bukkit · paper · spigot
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5
SHA-1 2d68828091826edadbe6659cbc3435d62ac04772获取文件 CommandAPI-10.0.0-Networking-Plugin.jar展开更新日志
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
AsyncOfflinePlayerArgumentto allow asynchronous fetching of an offline player
Bug fixes
- #477 Fixed
NativeProxyCommandSendernot being able to run Vanilla (and CommandAPI) commands - #578, #583, #629 Fixes
Bukkit#dispatchCommand()not working after Paper's Brigadier API changes - Fixes
PotionEffectArgument.NamespacedKeynot having suggestions in some versions
New changes
- #636 The default namespace has been updated from
minecraftto the plugin's name. If you are not shading, the default namespace is going to becommandapi. 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
Componenthave now been changed to useComponentLike - Added support for Velocity!
Website Changes
- The CommandAPI's new homepage is https://commandapi.dev/ (currently points to the documentation)
- Documentation has moved over to https://docs.commandapi.dev/
- JavaDocs have moved over to https://javadocs.commandapi.dev/
- The CommandAPI has moved from
github.com/JorelAli/CommandAPIto its own organization over atgithub.com/CommandAPI/CommandAPI
10.0.0
正式版- 加载器
- velocity
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5
SHA-1 f10b492eb9b96f8ee0b8e45e0a9c8a19d4dd8510获取文件 CommandAPI-10.0.0-Velocity.jar展开更新日志
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
AsyncOfflinePlayerArgumentto allow asynchronous fetching of an offline player
Bug fixes
- #477 Fixed
NativeProxyCommandSendernot being able to run Vanilla (and CommandAPI) commands - #578, #583, #629 Fixes
Bukkit#dispatchCommand()not working after Paper's Brigadier API changes - Fixes
PotionEffectArgument.NamespacedKeynot having suggestions in some versions
New changes
- #636 The default namespace has been updated from
minecraftto the plugin's name. If you are not shading, the default namespace is going to becommandapi. 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
Componenthave now been changed to useComponentLike - Added support for Velocity!
Website Changes
- The CommandAPI's new homepage is https://commandapi.dev/ (currently points to the documentation)
- Documentation has moved over to https://docs.commandapi.dev/
- JavaDocs have moved over to https://javadocs.commandapi.dev/
- The CommandAPI has moved from
github.com/JorelAli/CommandAPIto its own organization over atgithub.com/CommandAPI/CommandAPI
10.0.0
正式版- 加载器
- folia · paper
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5
SHA-1 ed419bcc95799c323666aa40c06436fc09a45181获取文件 CommandAPI-10.0.0-Mojang-Mapped.jar展开更新日志
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
AsyncOfflinePlayerArgumentto allow asynchronous fetching of an offline player
Bug fixes
- #477 Fixed
NativeProxyCommandSendernot being able to run Vanilla (and CommandAPI) commands - #578, #583, #629 Fixes
Bukkit#dispatchCommand()not working after Paper's Brigadier API changes - Fixes
PotionEffectArgument.NamespacedKeynot having suggestions in some versions
New changes
- #636 The default namespace has been updated from
minecraftto the plugin's name. If you are not shading, the default namespace is going to becommandapi. 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
Componenthave now been changed to useComponentLike - Added support for Velocity!
Website Changes
- The CommandAPI's new homepage is https://commandapi.dev/ (currently points to the documentation)
- Documentation has moved over to https://docs.commandapi.dev/
- JavaDocs have moved over to https://javadocs.commandapi.dev/
- The CommandAPI has moved from
github.com/JorelAli/CommandAPIto its own organization over atgithub.com/CommandAPI/CommandAPI
10.0.0
正式版- 加载器
- bukkit · spigot
- MC 版本
- 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4 · 1.21.5
SHA-1 4c35b6102c60537f7d1b88d501c6452be7928be8获取文件 CommandAPI-10.0.0.jar展开更新日志
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
AsyncOfflinePlayerArgumentto allow asynchronous fetching of an offline player
Bug fixes
- #477 Fixed
NativeProxyCommandSendernot being able to run Vanilla (and CommandAPI) commands - #578, #583, #629 Fixes
Bukkit#dispatchCommand()not working after Paper's Brigadier API changes - Fixes
PotionEffectArgument.NamespacedKeynot having suggestions in some versions
New changes
- #636 The default namespace has been updated from
minecraftto the plugin's name. If you are not shading, the default namespace is going to becommandapi. 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
Componenthave now been changed to useComponentLike - Added support for Velocity!
Website Changes
- The CommandAPI's new homepage is https://commandapi.dev/ (currently points to the documentation)
- Documentation has moved over to https://docs.commandapi.dev/
- JavaDocs have moved over to https://javadocs.commandapi.dev/
- The CommandAPI has moved from
github.com/JorelAli/CommandAPIto its own organization over atgithub.com/CommandAPI/CommandAPI
9.7.0
正式版- 加载器
- folia · paper
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
SHA-1 e81f4b3e959a8b3ff9e571d89adfe5fc53602787获取文件 CommandAPI-9.7.0-Mojang-Mapped.jar9.7.0
正式版- 加载器
- bukkit · spigot
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3 · 1.21.4
9.6.1
正式版- 加载器
- folia · paper
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3
SHA-1 f6c51b36245bcb3b254d57854474bc77920ac89c获取文件 CommandAPI-9.6.1-Mojang-Mapped.jar展开更新日志
Bug fixes
- Fixes Mojang-Mapped version not working on Paper
9.6.0
正式版- 加载器
- folia · paper
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3
SHA-1 11f8fc6e176d0b2e6a9a431cc1557e6203aaba11获取文件 CommandAPI-9.6.0-Mojang-Mapped.jar展开更新日志
Minecraft Version Changes
- Adds support for Minecraft 1.21.2 and 1.21.3
New improvements
9.6.0
正式版- 加载器
- bukkit · spigot
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1 · 1.21.2 · 1.21.3
展开更新日志
Minecraft Version Changes
- Adds support for Minecraft 1.21.2 and 1.21.3
New improvements
9.5.3
正式版- 加载器
- folia · paper
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1
SHA-1 4180b6f3cf8da17f481b4d7fa23bf41e5db758b7获取文件 CommandAPI-9.5.3-Mojang-Mapped.jar展开更新日志
Bug fixes
- Fixes Folia startup error due to scheduling a task with a delay of 0
9.5.3
正式版- 加载器
- bukkit · spigot
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1
SHA-1 4180b6f3cf8da17f481b4d7fa23bf41e5db758b7获取文件 CommandAPI-9.5.3-Mojang-Mapped.jar展开更新日志
Bug fixes
- Fixes Folia startup error due to scheduling a task with a delay of 0
9.5.2
正式版- 加载器
- bukkit · folia · paper · spigot
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21 · 1.21.1
SHA-1 97b306d00bdc6a45a7b0cca460d312f4e07da7b1获取文件 CommandAPI-9.5.2-Mojang-Mapped.jar展开更新日志
Minecraft version changes
- Adds support for Minecraft 1.21.1
Bug fixes
- #588 Fix Folia scheduling methods using the wrong scheduler implementation
- #580 Fix running a non-vanilla command on paper in Minecraft functions with the CommandAPI throwing runtime exceptions
- Fix namespaces not being propagated when registering subcommands
New features
- #577 Adds a
CommandAPIBukkit#failWithAdventureComponent(ComponentLike)method
9.5.1
正式版- 加载器
- bukkit · folia · paper · spigot
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21
SHA-1 8f622a703183cd7f1b2fd344f0859426b2631aae获取文件 CommandAPI-9.5.1-Mojang-Mapped.jar展开更新日志
Bug fixes
- Fixes the CommandAPI not loading correctly on Paper 1.21
9.5.0
正式版- 加载器
- bukkit · folia · paper · spigot
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6 · 1.21
SHA-1 ba31a42f501d039e0bf5861ab5c7aaafbe155e87获取文件 CommandAPI-9.5.0-Mojang-Mapped.jar展开更新日志
Minecraft version changes
- Adds support for Minecraft 1.21
- Drops support for Minecraft 1.16.1, 1.16.2, 1.16.3 and 1.16.4
Bug fixes
- Fixes
ResourceLocationArgumentnot working in 1.20.5 and 1.20.6 - Fixes
/minecraft:reloaddeleting commands on Paper 1.20.6 (build 65+)
9.4.2
正式版- 加载器
- bukkit · folia · paper · spigot
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6
SHA-1 6c4038a592018d261b4a0eba31a1ea762cb9166e获取文件 CommandAPI-9.4.2-Mojang-Mapped.jar展开更新日志
Bug fixes
- #554 Fixes the CommandAPI failing to run on Paper build 64+
9.4.1
正式版- 加载器
- bukkit · folia · paper · spigot
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6
SHA-1 f587f94160566a6d937314af01ce9d3df78d8177获取文件 CommandAPI-9.4.1-Mojang-Mapped.jar9.4.0
正式版- 加载器
- bukkit · folia · paper · spigot
- MC 版本
- 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4 · 1.20.5 · 1.20.6
SHA-1 557f6dfc4c177654d6497639541fad53f40a267a获取文件 CommandAPI-9.4.0-Mojang-Mapped.jar展开更新日志
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
FunctionArgumentfrom 9.3.0 - #536, #537 Fixed
MultiLiteralArgumenthelp 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
EntitySelectorArgumentto 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
NamespacedKeyvariant for thePotionEffectArgument
9.3.0
正式版- 加载器
- bukkit · folia · paper · spigot
- MC 版本
- 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2 · 1.20.3 · 1.20.4
展开更新日志
Minecraft version changes
- Adds support for Minecraft 1.20.3 and 1.20.4
Bug fixes
- Fixed bug where calling SimpleFunctionWrapper.getTag() on 1.19+ would throw an error
- #499 Fix typo in Adventure methods for tooltips
- Fixed
executesFeedbackForwarding()not checking for aFeedbackForwardingCommandSendercorrectly thus allowing every executor to execute the command - #473 Fix RGB colors in
CustomArgument.CustomArgumentException#fromStringcreating the wrong colors
New features
- Adds
ExecutionInfoexecutors for the Kotlin DSL - #497 Adds support for
RemoteConsoleCommandSender
Known issues
- Functions generated by the
FunctionArgumentwill always return a value of1when executed, regardless if the function succeeds, fails or returns a result - Functions generated by the
FunctionArgumentwill always return an empty array of commands when you retrieve the list of commands in that function
9.2.0
正式版- 加载器
- bukkit · folia · paper · spigot
- MC 版本
- 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1 · 1.20.2
展开更新日志
New features
- #487 Added support for disabling integer centering for location arguments
- #482 Adds Kotlin DSL support for delegated properties
Bug fixes
- #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
9.1.0
正式版- 加载器
- bukkit · folia · paper · spigot
- MC 版本
- 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1
展开更新日志
New features
- #459 Added the ability to access raw arguments in the command executor
- #469 Adds
AdventureChatColorArgument - #417 Added the ability for commands to be registered and unregistered while the server is running
Bug fixes
- Fixes the CommandAPI disabling datapacks on 1.20.1 Paper servers because it thought it was running on a Folia server
9.0.3
正式版- 加载器
- bukkit · folia · paper · spigot
- MC 版本
- 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20 · 1.20.1
展开更新日志
Minecraft version changes
- Adds support for 1.20.1
New features
- #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-versionnot pointing to the right version
9.0.2
正式版- 加载器
- bukkit · folia · paper · spigot
- MC 版本
- 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4 · 1.20
展开更新日志
Minecraft version changes
- Adds support for Minecraft 1.20
New features
- Adds the ability to retrieve
LiteralArguments andMultiLiteralArguments by their node names - #363 Adds
withUsage()method to customise command usage info - #371 Updates default short description to now mention the plugin creating the command
Bug fixes
- Fixed literal arguments in command conversion causing errors due to parsing problems
9.0.1
正式版- 加载器
- bukkit · folia · paper · spigot
- MC 版本
- 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4
展开更新日志
Bug fixes
- Fixed
MapArgumentnot 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
IntegerArgumentfailing to compile in certain circumstances
New features
- Added
CommandArguments.count()utility method to get the number of arguments - Added
CommandArguments.getOptional()methods - Added
CustomArgumentExceptionstatic factory methods to accept Spigot/Paper text components
Platform support changes
- Added basic support for Folia
9.0.0
正式版- 加载器
- bukkit · paper · spigot
- MC 版本
- 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4
展开更新日志
⚠️ This version is incompatible with any plugin that used the CommandAPI version 8.X.X or below! (See documentation for more information)
New features
- #360, #369 Made executor methods now use CommandArguments to allow for accessing arguments by name instead of index
- #162, #387, #393 Added optional arguments
- #388 Added new hook-paper-reload config option to toggle whether the CommandAPI hooks into /minecraft:reload
- Reworked the implementation of ItemArgument, so the ItemStack count is correctly reflected and ItemMeta is properly assigned
- Made the TeamArgument return a Team instead of a String
- Made the ObjectiveArgument return a Objective instead of a String
- #391 Made the CommandAPI only complain about commands registered in a plugin.yml if this plugin.yml belongs to the plugin calling the CommandAPI
- #422 Added a way to access the raw command a player typed from the executor
- #431 Added a way to access more info to construct lists for the ListArgumentBuilder
- Added support for sidebar team colors using an enum for ScoreboardSlot
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
- #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
- #384 Fixed various particle data not being documented for the ParticleArgument documentation page
- Fixed broken links in the documentation (using Michael-F-Bryan/mdbook-linkcheck)
- Refactored documentation argument page names for consistency
- Added Kotlin DSL examples
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
正式版- 加载器
- bukkit · paper · spigot
- MC 版本
- 1.13 · 1.13.1 · 1.13.2 · 1.14 · 1.14.1 · 1.14.2 · 1.14.3 · 1.14.4 · 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3 · 1.19.4
展开更新日志
New improvements from 8.7.6:
- Adds support for Minecraft 1.19.4
8.7.6
正式版- 加载器
- bukkit · paper · spigot
- MC 版本
- 1.13 · 1.13.1 · 1.13.2 · 1.14 · 1.14.1 · 1.14.2 · 1.14.3 · 1.14.4 · 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3
展开更新日志
New improvements from 8.7.5:
- Fixes NullPointerException that occurs rarely in the CommandAPI's post-loading step
8.7.5
正式版- 加载器
- bukkit · paper · spigot
- MC 版本
- 1.13 · 1.13.1 · 1.13.2 · 1.14 · 1.14.1 · 1.14.2 · 1.14.3 · 1.14.4 · 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3
展开更新日志
New improvements from 8.7.3:
- Fixed @AWorldArgument not being processed properly by the annotation system
- Fixed LootTableArgument not working in 1.17 - 1.19.3
8.7.3
正式版- 加载器
- bukkit · paper · spigot
- MC 版本
- 1.13 · 1.13.1 · 1.13.2 · 1.14 · 1.14.1 · 1.14.2 · 1.14.3 · 1.14.4 · 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3
展开更新日志
New improvements from 8.7.2:
- #397 Fixed issue where the WorldArgument wouldn't work in 1.16.5
8.7.2
正式版- 加载器
- bukkit · paper · spigot
- MC 版本
- 1.13 · 1.13.1 · 1.13.2 · 1.14 · 1.14.1 · 1.14.2 · 1.14.3 · 1.14.4 · 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3
展开更新日志
New improvements from 8.7.1:
- Hotfixed issue where various arguments wouldn't work in 1.19.3 (function, recipe, sound, advancement, biome, entities, loot table)
- Fixed issue where the WorldArgument wouldn't work in 1.19.3
8.7.1
正式版- 加载器
- bukkit · paper · spigot
- MC 版本
- 1.13 · 1.13.1 · 1.13.2 · 1.14 · 1.14.1 · 1.14.2 · 1.14.3 · 1.14.4 · 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3
展开更新日志
New improvements from 8.7.0:
- Fixed
ParticleArgumentnot working in 1.19.3 - Fixed
EnchantmentArgumentnot working in 1.19.3 -Hotfixed a permission check bug when permissions are incorrectly initialized - Hotfixed a null pointer exception when autocompletion occurs via redirected commands
- Fixed JavaDocs not showing in your IDE when using commandapi-shade
8.7.0
正式版- 加载器
- bukkit · paper · spigot
- MC 版本
- 1.13 · 1.13.1 · 1.13.2 · 1.14 · 1.14.1 · 1.14.2 · 1.14.3 · 1.14.4 · 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2 · 1.19.3
展开更新日志
New improvements from 8.6.0:
- Adds support for Minecraft 1.19.3
- Removes the need for generics and argumenttype parameters for certain arguments
8.6.0
正式版- 加载器
- bukkit · paper · spigot
- MC 版本
- 1.13 · 1.13.1 · 1.13.2 · 1.14 · 1.14.1 · 1.14.2 · 1.14.3 · 1.14.4 · 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2
展开更新日志
New improvements from 8.5.1:
- #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!
8.5.1
正式版- 加载器
- bukkit · paper · spigot
- MC 版本
- 1.13 · 1.13.1 · 1.13.2 · 1.14 · 1.14.1 · 1.14.2 · 1.14.3 · 1.14.4 · 1.15 · 1.15.1 · 1.15.2 · 1.16 · 1.16.1 · 1.16.2 · 1.16.3 · 1.16.4 · 1.16.5 · 1.17 · 1.17.1 · 1.18 · 1.18.1 · 1.18.2 · 1.19 · 1.19.1 · 1.19.2
展开更新日志
New improvements from 8.5.0:
- Adds support for Minecraft 1.19.2
- Fixes bug with players being kicked when using chat preview with colors on 1.19+
- Prevents developers creating dodgy commands with duplicate argument node names that caused clients to crash when they tried - to run those commands
- Fix subcommand internal information being overwritten at runtime when the parent command was registered
- Fixes time arguments not working in 1.17+
- Fixes namespaced key arguments not working in 1.17
- Fixes commands not working in 1.17 and 1.18
- Fixes server reloading on Spigot throwing asynchronous-related exceptions
- Fixes argument suggestions not working if a subcommand's node name is the same as the argument's node name
- Improves backend code for chatcolor, enchantment and potion arguments in 1.17+
- Optimize code size for 1.19+
- Improves list arguments to only display suggestions for the last item and prevent list arguments accepting unlisted items