如题,急急急急急急急急急急急急

######################
#+ +#
# MENU SETTINGS #
#+ +#
######################
menu-settings:
# name - appears as the title - REQUIRED
name: '&c&m &b&l月光手艺欢迎你!~&c&m '
# rows - the number of rows of the chest - REQUIRED
rows: 6
# command - OPTIONAL (you can remove this or set it to '')
# Bind multiple commands using ; (command: 'menu; m; me')
command: 'mc'
# auto-refresh - OPTIONAL
# How frequently the menu will be refreshed, in seconds.
# Useful if you have variables in items' descriptions.
auto-refresh: 5
# This command command will be execute when the menu is opened.
# Supports all the icon command types.
open-action: 'sound: note pling; tell: &eYou opened the example menu.'
# open-with-item - OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: 347
left-click: true
right-click: true
######################
#+ +#
# ITEMS #
#+ +#
######################
#+ +#
# MENU SETTINGS #
#+ +#
######################
menu-settings:
# name - appears as the title - REQUIRED
name: '&c&m &b&l月光手艺欢迎你!~&c&m '
# rows - the number of rows of the chest - REQUIRED
rows: 6
# command - OPTIONAL (you can remove this or set it to '')
# Bind multiple commands using ; (command: 'menu; m; me')
command: 'mc'
# auto-refresh - OPTIONAL
# How frequently the menu will be refreshed, in seconds.
# Useful if you have variables in items' descriptions.
auto-refresh: 5
# This command command will be execute when the menu is opened.
# Supports all the icon command types.
open-action: 'sound: note pling; tell: &eYou opened the example menu.'
# open-with-item - OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: 347
left-click: true
right-click: true
######################
#+ +#
# ITEMS #
#+ +#
######################
在配置文件中修改
open-with-item:
id: 347 #物品的名称
right-click: true #如果你想右键(上面设置的)物品来打开菜单,请设置为true
left-click: false #如果你想左键(上面设置的)物品来打开菜单,请设置为true(左右两者可以同时为true)
修改完后保存后手持id:347的钟表 右键就可以打开
open-with-item:
id: 347 #物品的名称
right-click: true #如果你想右键(上面设置的)物品来打开菜单,请设置为true
left-click: false #如果你想左键(上面设置的)物品来打开菜单,请设置为true(左右两者可以同时为true)
修改完后保存后手持id:347的钟表 右键就可以打开
懒的话去这个贴下载软件进行修改
http://mcbbs.tvt.im/thread-542949-1-1.html
http://mcbbs.tvt.im/thread-542949-1-1.html
去菜单默认配置里面的最上面找到下方的配置
看到 open-with-item: id: 347 只要ID是347就行了
复制代码
看到 open-with-item: id: 347 只要ID是347就行了
- ######################
- #+ +#
- # MENU SETTINGS #
- #+ +#
- ######################
- menu-settings:
- # 菜单标题名称
- name: '&2&l菜单中心'
- #菜单的行数
- rows: 5
- # 命令-可选(您可以删除“”里面的去设置命令)
- # 绑定多个命令去打开菜单 例如 ; (command: 'm; me')
- command: ''
- # 自动刷新-可选
- # 如何频繁的菜单将被刷新,在几秒钟内。
- # Useful if you have variables in items' descriptions.有用的,如果你有项目的描述变量。
- auto-refresh: 5
- # 当打开菜单时,此命令命令将被执行。
- # 支持所有的图标命令类型。
- open-action: 'tell: &e正在打开菜单.'
- # open-with-item - OPTIONAL
- # The menu will open only right-clicking with orange wool [35:1]
- open-with-item:
- id: 347
- left-click: true
- right-click: true
主菜单文件 open-with-item: 选项 id为 347 347就是钟表的ID编号
left-click 是左键能打开 false就打不开 right-click 是右键能打开 建议只开启右键 true
修改完保存
不单单需要修改,玩家还没有权限
输入
/mangaddp Builder chestcommands.item.文件名.yml
/mangaddp Builder chestcommands.open.文件名.yml
###这是主菜单权限###
/mangaddp Builder chestcommands.item.文件名.yml
###这是从菜单权限###
left-click 是左键能打开 false就打不开 right-click 是右键能打开 建议只开启右键 true
修改完保存
不单单需要修改,玩家还没有权限
输入
/mangaddp Builder chestcommands.item.文件名.yml
/mangaddp Builder chestcommands.open.文件名.yml
###这是主菜单权限###
/mangaddp Builder chestcommands.item.文件名.yml
###这是从菜单权限###
open-with-item:
id: 347
left-click: true
right-click: true
把菜单的配置文件这几项改成这样就行了
id: 347
left-click: true
right-click: true
把菜单的配置文件这几项改成这样就行了