Resource icon

CSR LMENUReload - 菜单! 1.3.0

Source of resources
Original
Copyright link
#
Language
Chinese(Simplified)
Supported version
  1. 1.16
不要问我可不可以整合,统一回复:不可以
配置文件位于./plugins/Lmenu/config
[CODE lang="json" title="config.json"]{
"itemid": 391, //点地打开菜单的物品id
"version": "1.1.0" //版本号
}[/CODE]
菜单文件详解
[CODE lang="json" title="main.json"]{
"type" : "form", //菜单类型,请固定填form
"title": "GUI菜单", //菜单标题
"content": "菜单如下", //描述文本
"buttons": [
{
"images": true, //是否显示图片
"image": {
"type": "path",
"data": "textures/items/apple" //路径请找个材质包解压找
},
"text": "说你好", //按钮显示文本
"command": "me hello", //执行的命令
"type": "default" //default为以玩家身份执行,@s会替换为玩家名字
},
{
"images": false,
"image": {
"type": "path",
"data": "textures/items/apple"
},
"text": "说你好",
"command": "say hi,@s",
"type": "cmd" //cmd为以后台身份执行,@s会替换为玩家名字
},
{
"images": false,
"image": {
"type": "path",
"data": "textures/items/apple"
},
"text": "说你好",
"command": "say hi",
"type": "op" //op类型的选项只有op可以选择,
//执行方式为以后台身份执行,@s会替换为玩家名字
},
{
"images": false,
"image": {
"type": "path",
"data": "textures/items/apple"
},
"text": "说你好",
"command": "tp",
"type": "form" //form类型会选择packs文件夹下的[command].json进行发送
//比如command为tp,type为form,就会把packs文件夹的tp.json发送给玩家
},
{
"images": false,
"image": {
"type": "path",
"data": "textures/items/apple"
},
"text": "说你好",
"command": "say hi",
"type": "opform" //opform与form的唯一不同就是opform只能由op打开
}
]
}[/CODE]
Author
Lition
Price
150金粒
Downloads
127
Views
3,112
First release
Last update
Rating
4.57 star(s) 7 ratings

More resources from Lition

Share this resource

Latest reviews

不错的插件
.p\������\��ҹ���ϰ�Res 2.3\\/plugins/ilua/Lib/dkjson.lua:397: bad argument #1 to 'strfind' (string expected, got nil)什么情况???
Lition
Lition
json写错了,另外lmenu不再维护,请使用Xtreme
1.17.10的钟id是什么
催更1.17.10 旧版本后台反馈加载成功 进服拿钟点地没有反应 应该是版本的问题吧?
Lition
Lition
请自行修改config.json中的物品ID
1.17.2版本,拿指定物品一点地面服务器就奔溃
LMenu可能是目前最优秀的菜单了
快适配一下1.17.2.01吧