614315880
ChestCommands菜单,我按照这样配置,然后输入重新加载菜单文件夹,那儿显示有1个。可是一输入列出所有菜单列表却什么都没有,配置文件夹里却明明有的,这到底是怎么回事

TRely
我刚刚也是遇到这个问题,同求,急求

我不是天空
1.查看后台是不是有几行红色Chestcommand插件错误信息(有的话发上来)
2.请问.yml菜单文件是不是放到\plugins\ChestCommands\menu目录里了

TRely
03.01 17:37:16 [Server] INFO #------------------- Chest Commands Errors -------------------#
这是关于它的一条。
额 这是我的服务器的 楼主的就不懂了

rainsojey
有个1  说明文档改代码的时候格式出错了
文档直接不加载了!

TRely
我用记事本编的码

TRely
rainsojey 发表于 2016-1-3 18:01
有个1  说明文档改代码的时候格式出错了
文档直接不加载了!

我用记事本编码的。。。。。。。。。。。。。

小0w0卡
这个很简单的!你检查一下你哪一个LORE是不是没加全引号?是英文的引号!

rainsojey
TRely 发表于 2016-1-3 18:00
我用记事本编码的。。。。。。。。。。。。。

记事本编码不错才怪,我用编码软件写的时候 有时候都会出错。

614315880
rainsojey 发表于 2016-1-3 18:01
有个1  说明文档改代码的时候格式出错了
文档直接不加载了!

可能是你误会了,那个1是菜单的数量
比如,我一共设置了2个菜单,那儿就会显示2
就是文档直接不加载了,请问一下有什么解决方法吗

614315880
小0w0卡 发表于 2016-1-3 18:46
这个很简单的!你检查一下你哪一个LORE是不是没加全引号?是英文的引号!

这个啊,我去检查检查

月中行
  1. ######################
  2. #+                  +#
  3. #   MENU SETTINGS    #
  4. #+                  +#
  5. ######################

  6. menu-settings:

  7.   # name - appears as the title - REQUIRED
  8.   name: '功能菜单'

  9.   # rows - the number of rows of the chest - REQUIRED
  10.   rows: 5

  11.   # command - OPTIONAL (you can remove this or set it to '')
  12.   # Bind multiple commands using ; (command: 'menu; m; me')
  13.   command: 'gncd'

  14.   # This command command will be execute when the menu is opened.
  15.   # Supports all the icon command types.
  16.   open-action: ' '

  17.   # open-with-item - OPTIONAL
  18.   # The menu will open only right-clicking with orange wool [35:1]
  19.   open-with-item:
  20.     id: 341
  21.     left-click: false
  22.     right-click: true
复制代码

这是一个非常正常的菜单。
你去看看
  1.   command: 'gncd'
复制代码
是否在别的文件中出现过
gncd是我自己改的,你可以看看你的文件中有没有重复出现,如果有重复出现就会报错。
也许我说的不详细,看不懂的话继续追问

rainsojey
614315880 发表于 2016-1-6 20:08
可能是你误会了,那个1是菜单的数量
比如,我一共设置了2个菜单,那儿就会显示2
就是文档直接不加载了, ...

把文件发出来看下

614315880
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

614315880
逗比的芒果 发表于 2016-1-6 21:59
这是一个非常正常的菜单。
你去看看是否在别的文件中出现过
gncd是我自己改的,你可以看看你的文件中有没 ...

都差不多啊,为什么我的就不行

月中行
614315880 发表于 2016-1-7 20:12
都差不多啊,为什么我的就不行

你没注意我说的吧?你看看我说的

614315880
逗比的芒果 发表于 2016-1-7 20:11
你没注意我说的吧?你看看我说的

仔细看了,实在不知道,请问大触哪儿错了

月中行
没看到这里错吗?
  1. ######################
  2. #+                  +#
  3. #   MENU SETTINGS    #
  4. #+                  +#
  5. ######################

  6. menu-settings:

  7.   # name - appears as the title - REQUIRED
  8.   name: '&c菜单'

  9.   # rows - the number of rows of the chest - REQUIRED
  10.   rows: 6

  11.   # command - OPTIONAL (you can remove this or set it to '')
  12.   # Bind multiple commands using ; (command: 'menu; m; me')
  13.   command: 'menu'

  14.   # auto-refresh - OPTIONAL
  15.   # How frequently the menu will be refreshed, in seconds.
  16.   # Useful if you have variables in items' descriptions.
  17.   auto-refresh: 5

  18.   # This command command will be execute when the menu is opened.
  19.   # Supports all the icon command types.
  20.   open-action: ' '

  21.   # open-with-item - OPTIONAL
  22.   # The menu will open only right-clicking with orange wool [35:1]
  23.   open-with-item:
  24.     id: 347
  25.     left-click: false
  26.     right-click: true
复制代码

这是你的菜单,你看看下面这个地方
  1.   command: 'menu'
复制代码

看看别的菜单里有没有这个menu
如果有改成别的,然后重载试试

NLI丨眼泪
这些插件配置一个文件出错了就都会出错就显示不出来你再去看看哪里出错吧,格式错了也不行

614315880
我输入/cc reload 也就是重载菜单的,就显示
然后我输入打开的菜单的指令,也就是/cc open cd 就出现这个
用自定义指令也不行

HotPe_e
614315880 发表于 2016-1-9 16:15
我输入/cc reload 也就是重载菜单的,就显示
然后我输入打开的菜单的指令,也就是/cc open cd 就出现这个
...

很简单
配置文件格式出错
只要是没有 ' 或者 编码出错就会出现问题
你把你的 文件发出来吧

614315880
灬友情灬 发表于 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

第一页 上一页 下一页 最后一页