cc菜单打开其他的菜单怎么设置KEEP-OPEN—这个写在哪里
写在DATA-VALUE下面一行就可以了
世予 发表于 2019-8-4 10:11
写在DATA-VALUE下面一行就可以了
DATA-VALUE我菜单上没写
世予 发表于 2019-8-4 10:11
写在DATA-VALUE下面一行就可以了
menu-settings:
# REQUIRED
# Appears as the title of the menu.
name: '&1游戏菜单'
# REQUIRED
# The number of rows in the menu.
rows: 3
# OPTIONAL (you can remove this or set it to '')
# Bind multiple commands using ; (command: 'menu; m; me')
# OPTIONAL
# How frequently the menu will be refreshed, in seconds.
# Useful if you have variables in items' descriptions.
auto-refresh: 5
# OPTIONAL
# This command command will be executed when the menu is opened.
# Supports all the icon command types.
# OPTIONAL
# The menu will open only when right-clicking with a compass.
open-with-item:
id: compass
left-click: false
right-click: true
######################
#+ +#
# ITEMS #
#+ +#
######################
1:
ID: 395
POSITION-X: 1
POSITION-Y: 1
NAME: '&c*&2地图'
LORE:
- '&7点击选择传送列表'
COMMAND: 'op:chestcommands open shijie'
caozheng2015 发表于 2019-8-4 10:13
DATA-VALUE我菜单上没写
那你菜单配置截图一下让我康康
TreeDiagramF4:
NAME: ' '
ID: 160
DATA-VALUE: 15
KEEP-OPEN: true
POSITION-X: 4
POSITION-Y: 6
只要再position xy上方任意位置均可
我上面的例子你参照一下
解决请给最佳嗷。谢谢
NAME: ' '
ID: 160
DATA-VALUE: 15
KEEP-OPEN: true
POSITION-X: 4
POSITION-Y: 6
只要再position xy上方任意位置均可
我上面的例子你参照一下
解决请给最佳嗷。谢谢
caozheng2015 发表于 2019-8-4 10:14
menu-settings:
# REQUIRED
1:
ID: 395
KEEP-OPEN: true
POSITION-X: 1
POSITION-Y: 1
NAME: '&c*&2地图'
LORE:
- '&7点击选择传送列表'
COMMAND: 'op:chestcommands open shijie'
- menu-settings:
- name: '&1游戏菜单'
- rows: 3
- command: 'compass'
- open-with-item:
- TreeDiagramA1:
- NAME: '&c*&2地图'
- LORE:
- - '&7点击选择传送列表'
- ID: 395
- KEEP-OPEN: true
- COMMAND: 'op:chestcommands open shijie'
- POSITION-X: 1
- POSITION-Y: 1
好了 复制替换一下就可以了
我服了你们…
一个都不知道有open: 函数么…
不需要op: cc open,不需要keep-open.
只需要这样:
复制代码
就这么简单.
一个都不知道有open: 函数么…
不需要op: cc open,不需要keep-open.
只需要这样:
- COMMAND: 'open: menu.yml'
就这么简单.