Melius Commands (MeliusCommands)-MOD模组
Melius Commands (MeliusCommands)Github |相关wiki |源站链接支持: fabric , quilt这个模组允许你创建自定义命令,并修改现有命令。https://i.sodamc.com/modrinth/JJXXx6XhBp.jpg自定义命令
要添加自定义命令,请在 `./config/melius-commands/commands` 中创建一个 json 文件。
例如文件,请查看 (链接)!应用您的更改,请在游戏内运行 `/reload`。
JSON 格式
JSON 格式包含了注释以进行说明(不要复制文件中的 `//`)
命令节点(文字/参数)
{
\"id\": \"...\", // 命令 id(文字命令节点的命令名称)(必填)
\"type\": \"...\", // 参数类型,见下文。(仅参数节点,必填)
\"executes\": [
// 一系列命令节点执行,见下文。
],
\"require\": {
// 请参阅 <jin class=\"jinsom-post-link\" type=\"link\" data=\"https://github.com/Patbox/PredicateAPI/\" onclick=\"jinsom_post_link(this);\"><i class=\"fa fa-link\"></i> 链接</jin> 以获取更多信息。
// 如果对于一个命令源来说这个评估结果为真,它将可以访问此命令节点!
},
\"literals\": [
// 一系列文字子节点
],
\"arguments\": [
// 一系列参数子节点
]
}Copy已复制!
执行
{
\"command\": \"...\", // 将要执行的命令(可以引用参数值,用 ${id})
\"silent\": false, // 如果设置为 true,则禁用命令输出
\"as_console\": false, // 是否应该将此命令作为控制台命令源执行
\"op_level\": 4 // 命令源的操作员级别(可选)(可能的值:0 - 4)
}Copy已复制!
参数类型
要查看所有参数类型的完整列表,请参阅 (链接)。
一些参数类型需要额外的参数,这些参数必须以空格分隔附加。
命令要求
要添加命令要求,请在 `./config/melius-commands/requirements` 中创建一个 json 文件。
例如文件,请查看 (链接)!
JSON 格式
JSON 格式包含了注释以进行说明(不要复制文件中的 `//`)
命令要求
{
\"command_path\": \"...\", // 修改命令的命令路径(一个由所有命令节点 id 组成的 . 分隔字符串)
\"replace\": true, // 是否应该替换或添加原始要求
\"require\": {
// 请参阅 <jin class=\"jinsom-post-link\" type=\"link\" data=\"https://github.com/Patbox/PredicateAPI/\" onclick=\"jinsom_post_link(this);\"><i class=\"fa fa-link\"></i> 链接</jin> 以获取更多信息。
}
}Copy已复制!
来自Modrinth所有游戏版本1.211.21.11.21.31.21.41.21.51.21.61.21.71.21.81.21.6-rc11.21.5-rc11.21.5-rc21.20.11.21.21.201.20.31.20.41.20.51.20.61.20.2所有类型fabricquiltMeliusCommands 2.1.0+1.21.1melius-commands-2.1.0+1.21.1.jar下载2.1.0+1.21.1#Release### Changed- Use stonecutter to support multiple versions- Bundle fabric-permission-api- Improved error messages### Fixed- Inconsistent command argument resolution展开版本: 2.1.0+1.21.1支持游戏: 1.21, 1.21.1类型:FabricQuiltRelease下载次数: 88MeliusCommands 2.1.0+1.21.4melius-commands-2.1.0+1.21.4.jar下载2.1.0+1.21.4#Release### Changed- Use stonecutter to support multiple versions- Bundle fabric-permission-api- Improved error messages### Fixed- Inconsistent command argument resolution展开版本: 2.1.0+1.21.4支持游戏: 1.21.3, 1.21.4类型:FabricQuiltRelease下载次数: 31MeliusCommands 2.1.0+1.21.5melius-commands-2.1.0+1.21.5.jar下载2.1.0+1.21.5#Release### Changed- Use stonecutter to support multiple versions- Bundle fabric-permission-api- Improved error messages### Fixed- Inconsistent command argument resolution展开版本: 2.1.0+1.21.5支持游戏: 1.21.5类型:FabricQuiltRelease下载次数: 58MeliusCommands 2.1.0+1.21.6melius-commands-2.1.0+1.21.6.jar下载2.1.0+1.21.6#Release### Changed- Use stonecutter to support multiple versions- Bundle fabric-permission-api- Improved error messages### Fixed- Inconsistent command argument resolution展开版本: 2.1.0+1.21.6支持游戏: 1.21.6, 1.21.7, 1.21.8类型:FabricQuiltRelease下载次数: 193MeliusCommands 2.0.1+1.21.6-rc1MeliusCommands-2.0.1+1.21.6-rc1.jar下载2.0.1+1.21.6-rc1#Release### Added- Command exception debugger### Fixed- Vec2 argument type- Vec3 argument type- Brigadier argument parsing for empty arguments展开版本: 2.0.1+1.21.6-rc1支持游戏: 1.21.6-rc1, 1.21.6, 1.21.7, 1.21.8类型:FabricQuiltRelease下载次数: 73MeliusCommands 2.0.1+1.21.5-rc1MeliusCommands-2.0.1+1.21.5-rc1.jar下载2.0.1+1.21.5-rc1#Release### Added- Command exception debugger### Fixed- Vec2 argument type- Vec3 argument type- Brigadier argument parsing for empty arguments展开版本: 2.0.1+1.21.5-rc1支持游戏: 1.21.5-rc1, 1.21.5-rc2, 1.21.5类型:FabricQuiltRelease下载次数: 276MeliusCommands 2.0.2+1.20.1MeliusCommands-2.0.2+1.20.1.jar下载2.0.2+1.20.1#Release### Fixed- Use java 17 for release展开版本: 2.0.2+1.20.1支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 625MeliusCommands 2.0.1+1.21.1MeliusCommands-2.0.1+1.21.1.jar下载2.0.1+1.21.1#Release### Added- Command exception debugger### Fixed- Vec2 argument type- Vec3 argument type- Brigadier argument parsing for empty arguments展开版本: 2.0.1+1.21.1支持游戏: 1.21.1类型:FabricQuiltRelease下载次数: 287MeliusCommands 2.0.1+1.20.1MeliusCommands-2.0.1+1.20.1.jar下载2.0.1+1.20.1#Release### Added- Command exception debugger### Fixed- Vec2 argument type- Vec3 argument type- Brigadier argument parsing for empty arguments展开版本: 2.0.1+1.20.1支持游戏: 1.20.1类型:FabricQuiltRelease下载次数: 16MeliusCommands 2.0.1+1.21.4MeliusCommands-2.0.1+1.21.4.jar下载2.0.1+1.21.4#Release### Added- Command exception debugger### Fixed- Vec2 argument type- Vec3 argument type- Brigadier argument parsing for empty arguments展开版本: 2.0.1+1.21.4支持游戏: 1.21.4类型:FabricQuiltRelease下载次数: 236MeliusCommands 2.0.0+1.21.2-rc2MeliusCommands-2.0.0+1.21.2-rc2.jar下载2.0.0+1.21.2-rc2#Release展开版本: 2.0.0+1.21.2-rc2支持游戏: 1.21.2, 1.21.3, 1.21.4类型:FabricQuiltRelease下载次数: 230MeliusCommands 2.0.0+beta.2+1.21.1MeliusCommands-2.0.0+beta.2+1.21.1.jar下载2.0.0+beta.2+1.21.1#Beta### Added- Path node cache for improved performance展开版本: 2.0.0+beta.2+1.21.1支持游戏: 1.21.1类型:FabricQuiltBeta下载次数: 180MeliusCommands 2.0.0+beta.1+1.21.1MeliusCommands-2.0.0+beta.1+1.21.1.jar下载2.0.0+beta.1+1.21.1#BetaReworked command configuration _(backwards compatible)_ and replaced command requirements with a more powerful command modifier system### Added- Command modifiers- Command node redirects- Command to determine the command node paths### Removed- Command requirements展开版本: 2.0.0+beta.1+1.21.1支持游戏: 1.21, 1.21.1类型:FabricQuiltBeta下载次数: 253Melius Commands 1.1.0+1.21melius-commands-1.1.0+1.21.jar下载1.1.0+1.21#ReleaseUpdate to 1.21展开版本: 1.1.0+1.21支持游戏: 1.21, 1.21.1类型:FabricQuiltRelease下载次数: 588Melius Commands 1.1.0+1.20.1custom-commands-1.1.0+1.20.1.jar下载1.1.0+1.20.1#Release### Changed- Improved command execution### Fixed- Special characters in argument values causing issues展开版本: 1.1.0+1.20.1支持游戏: 1.20, 1.20.1类型:FabricQuiltRelease下载次数: 382Melius Commands 1.1.0+1.20.4custom-commands-1.1.0+1.20.4.jar下载1.1.0+1.20.4#Release### Changed- Improved command execution### Fixed- Special characters in argument values causing issues展开版本: 1.1.0+1.20.4支持游戏: 1.20.3, 1.20.4, 1.20.5, 1.20.6类型:FabricQuiltRelease下载次数: 247Melius Commands 1.0.0+1.20.3custom-commands-1.0.0+1.20.3.jar下载1.0.0+1.20.3#ReleaseUpdated to 1.20.3展开版本: 1.0.0+1.20.3支持游戏: 1.20.3, 1.20.4类型:FabricQuiltRelease下载次数: 165Melius Commands 1.0.0+1.20.1custom-commands-1.0.0+1.20.1.jar下载1.0.0+1.20.1#ReleaseInitial release展开版本: 1.0.0+1.20.1支持游戏: 1.20, 1.20.1, 1.20.2类型:FabricQuiltRelease下载次数: 359全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
**** Hidden Message ***** Melius Commands
页:
[1]