ChestCommands菜单,我按照这样配置,然后输入重新加载菜单文件夹,那儿显示有1个。可是一输入列出所有菜单列表却什么都没有,配置文件夹里却明明有的,这到底是怎么回事
我刚刚也是遇到这个问题,同求,急求
1.查看后台是不是有几行红色Chestcommand插件错误信息(有的话发上来)
2.请问.yml菜单文件是不是放到\plugins\ChestCommands\menu目录里了
2.请问.yml菜单文件是不是放到\plugins\ChestCommands\menu目录里了
03.01 17:37:16 [Server] INFO #------------------- Chest Commands Errors -------------------#
这是关于它的一条。
额 这是我的服务器的 楼主的就不懂了
这是关于它的一条。
额 这是我的服务器的 楼主的就不懂了
有个1 说明文档改代码的时候格式出错了
文档直接不加载了!
文档直接不加载了!
我用记事本编的码
rainsojey 发表于 2016-1-3 18:01
有个1 说明文档改代码的时候格式出错了
文档直接不加载了!
我用记事本编码的。。。。。。。。。。。。。
这个很简单的!你检查一下你哪一个LORE是不是没加全引号?是英文的引号!
TRely 发表于 2016-1-3 18:00
我用记事本编码的。。。。。。。。。。。。。
记事本编码不错才怪,我用编码软件写的时候 有时候都会出错。
rainsojey 发表于 2016-1-3 18:01
有个1 说明文档改代码的时候格式出错了
文档直接不加载了!
可能是你误会了,那个1是菜单的数量
比如,我一共设置了2个菜单,那儿就会显示2
就是文档直接不加载了,请问一下有什么解决方法吗
小0w0卡 发表于 2016-1-3 18:46
这个很简单的!你检查一下你哪一个LORE是不是没加全引号?是英文的引号!
这个啊,我去检查检查
- ######################
- #+ +#
- # MENU SETTINGS #
- #+ +#
- ######################
- menu-settings:
- # name - appears as the title - REQUIRED
- name: '功能菜单'
- # rows - the number of rows of the chest - REQUIRED
- rows: 5
- # command - OPTIONAL (you can remove this or set it to '')
- # Bind multiple commands using ; (command: 'menu; m; me')
- command: 'gncd'
- # This command command will be execute when the menu is opened.
- # Supports all the icon command types.
- open-action: ' '
- # open-with-item - OPTIONAL
- # The menu will open only right-clicking with orange wool [35:1]
- open-with-item:
- id: 341
- left-click: false
- right-click: true
这是一个非常正常的菜单。
你去看看
- command: 'gncd'
gncd是我自己改的,你可以看看你的文件中有没有重复出现,如果有重复出现就会报错。
也许我说的不详细,看不懂的话继续追问
614315880 发表于 2016-1-6 20:08
可能是你误会了,那个1是菜单的数量
比如,我一共设置了2个菜单,那儿就会显示2
就是文档直接不加载了, ...
把文件发出来看下
rainsojey 发表于 2016-1-6 23:29
把文件发出来看下
######################
#+ +#
# MENU SETTINGS #
#+ +#
######################
menu-settings:
# name - appears as the title - REQUIRED
name: '&c菜单'
# 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: 'menu'
# 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: ' '
# open-with-item - OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: 347
left-click: false
right-click: true
逗比的芒果 发表于 2016-1-6 21:59
这是一个非常正常的菜单。
你去看看是否在别的文件中出现过
gncd是我自己改的,你可以看看你的文件中有没 ...
都差不多啊,为什么我的就不行
614315880 发表于 2016-1-7 20:12
都差不多啊,为什么我的就不行
你没注意我说的吧?你看看我说的
逗比的芒果 发表于 2016-1-7 20:11
你没注意我说的吧?你看看我说的
仔细看了,实在不知道,请问大触哪儿错了
没看到这里错吗?
复制代码
这是你的菜单,你看看下面这个地方
复制代码
看看别的菜单里有没有这个menu
如果有改成别的,然后重载试试
- ######################
- #+ +#
- # MENU SETTINGS #
- #+ +#
- ######################
- menu-settings:
- # name - appears as the title - REQUIRED
- name: '&c菜单'
- # 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: 'menu'
- # 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: ' '
- # open-with-item - OPTIONAL
- # The menu will open only right-clicking with orange wool [35:1]
- open-with-item:
- id: 347
- left-click: false
- right-click: true
这是你的菜单,你看看下面这个地方
- command: 'menu'
看看别的菜单里有没有这个menu
如果有改成别的,然后重载试试
这些插件配置一个文件出错了就都会出错就显示不出来你再去看看哪里出错吧,格式错了也不行
我输入/cc reload 也就是重载菜单的,就显示
然后我输入打开的菜单的指令,也就是/cc open cd
就出现这个
用自定义指令也不行

然后我输入打开的菜单的指令,也就是/cc open cd

用自定义指令也不行
614315880 发表于 2016-1-9 16:15
我输入/cc reload 也就是重载菜单的,就显示
然后我输入打开的菜单的指令,也就是/cc open cd 就出现这个
...
很简单
配置文件格式出错
只要是没有 ' 或者 编码出错就会出现问题
你把你的 文件发出来吧
灬友情灬 发表于 2016-1-9 17:07
很简单
配置文件格式出错
只要是没有 ' 或者 编码出错就会出现问题
上面有...
######################
#+ +#
# MENU SETTINGS #
#+ +#
######################
menu-settings:
# name - appears as the title - REQUIRED
name: '&c&n温馨之家&c菜单'
# 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: 'gncd'
# 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: ' '
# open-with-item - OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: 347
left-click: false
right-click: true