Mu_Nan
我写了一个菜单文件,但是加上去之后用不了,输入cc list直接显示没有菜单

######################
#+                  +#
#   MENU SETTINGS    #
#+                  +#
######################

menu-settings:

  # name - appears as the title - REQUIRED
  name: '&1EraOfWar'

  # 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: 'sound: note pling; tell: &eYou opened the example menu.'

  # open-with-item - OPTIONAL
  # The menu will open only right-clicking with clock [347:0]
  open-with-item:
    id: clock:347
    left-click: false
    right-click: true


给两个实例
1:
  COMMAND: 'tpr'
  NAME: '&e欢迎来到&4战争**&e服务器&a(左键随机传送)'
  LORE:
    - '&a服务器QQ群:&2695982506'
    - '&3管理员:&6ZhaZhaHui(QQ204824090)、Mao_FLY(QQ2735715552)'
  ID: 389
  POSITION-X: 5
  POSITION-Y: 1


2:
  NAME: '&a传送到主城'
  COMMAND: 'spawn'
  LORE:
    - '&5左键传送到主城'
  ID: 119
  POSITION-X: 1
  POSITION-Y: 2


2634405764
请把菜单配置文件发来

Mu_Nan
2634405764 发表于 2018-2-23 09:56
请把菜单配置文件发来

我这发不了附件和图片,不知道怎么回事,能不能单独发?

Prideland_owner
也许这个能帮你qwq

MC_Shenfeng
输入/cc reload之后后台报错截图请发一下谢谢

15678044
兄弟! 看下你写的菜单文件后缀是不是yml  ,另外写完保存 在menu 文件夹里! /cc reload,保存!   注意转码!  看看后台有没有报错!报错一般转码!  不行,看看你哪里写错了,报错一般都提示!

fyxrim
必须要转码编码的~

然后/cc reload 就行了

Mu_Nan
15678044 发表于 2018-2-23 09:42
兄弟! 看下你写的菜单文件后缀是不是yml  ,另外写完保存 在menu 文件夹里! /cc reload,保存!   注意转码 ...

真是我粗心大意忘了转码

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