基本信息
我的世界Java版本
26.2
26.1.x
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
平台
Bukkit
运行环境

搬运团队
搬运资源声明
对于可进行 JAR 文件搬运的许可证,我们提供站内下载服务;其他资源会跳转到原帖下载。资源更新可能不及时,建议前往资源内提供的原帖链接下载最新版本。
详情信息
许可证 MIT
发布于 2024-11-30
更新于 2026-07-28
更新日志
Minecraft 版本变更
- 新增对 Minecraft 1.21.9 和 1.21.10 的支持
- 移除对 Paper 平台上 Minecraft 1.20.5 及更低版本的支持
错误修复
- #631 修复在执行
minecraft:reload后未注册命令重新出现的问题。此修复还附带了若干关于命令注册与注销的重要变更,详情请参阅文档中的“命令注销”页面。 - #608
RecipeArgument在 Spigot 上不再抛出任何异常 - #494、#503 修复运行时注册/注销命令时可能触发的
ConcurrentModificationException异常
模块变更
- #414、#517 将 CommandAPI 拆分为专用于 Paper 和 Spigot 的独立模块:
- 移除
commandapi-bukkit-shade模块和commandapi-bukkit-shade-mojang-mapped模块 - 新增专为 Paper 设计的
commandapi-paper-core和commandapi-paper-shade模块 - 新增专为 Spigot 设计的
commandapi-spigot-core和commandapi-spigot-shade模块 - 新增
commandapi-paper-test-toolkit和commandapi-spigot-test-toolkit,分别替代原有的commandapi-bukkit-test-toolkit(适用于 Paper 和 Spigot) - 移动并新增若干 Kotlin DSL 模块:
commandapi-core-kotlin→commandapi-kotlin-corecommandapi-bukkit-kotlin→commandapi-kotlin-bukkitcommandapi-velocity-kotlin→commandapi-kotlin-velocity- 新增:
commandapi-kotlin-paper - 新增:
commandapi-kotlin-spigot
新功能
- 在 Paper 平台上,现可在启动引导阶段注册命令
API 变更
- 将
CommandAPIBukkitConfig类改为抽象类,并根据所用模块,改用新添加的CommandAPIPaperConfig或CommandAPISpigotConfig类 FloatRangeArgument已重命名为DoubleRangeArgument,现返回DoubleRange类型PlayerArgument和OfflinePlayerArgument已被PlayerProfileArgument替代,后者返回List<PlayerProfile>;PlayerProfile类的具体实现取决于运行平台(Paper 或 Spigot)。如需获取Player对象,请使用EntitySelectorArgument.OnePlayerAsyncOfflinePlayerArgument已被AsyncPlayerProfileArgument替代ChatArgument、ChatComponentArgument和ChatColorArgument不再包含 Adventure 前缀,且其返回类型依平台而异ChatArgument在 Paper 上返回SignedMessage对象,并已解决 #381BlockStateArgument现返回BlockState对象,而非BlockData对象
配置变更
- 使用
fallback-to-latest-nms配置项替代原有的use-latest-nms-version和be-lenient-for-minor-versions配置项:- 加载 CommandAPI 时,若该配置项设为
true,将优先检查当前版本是否受支持,并选用匹配版本 - 若当前版本不受支持,则 CommandAPI 将自动选用最新可用的 NMS 版本,但该版本可能无法完全正常工作
- 此配置项在 Paper 上默认为
true,在 Spigot 上默认为false
- 加载 CommandAPI 时,若该配置项设为



