Menu files
Menus are YAML files located in the folder /plugins/ChestCommands/menu/ .
The file name is used for checking permissions: use lowercase file names without spaces.
A simple way to create a new menu is to copy an existing one, rename the file and edit its content. A text editor that highlights syntax is recommended (like Sublime Text or Notepad++).
Each menu configuration consists of two sections, settings and icons.
Menu settings
Settings are located at the start of the menu inside the configuration section menu-settings .
Example with all the existing options:
Options explanation
You can remove any option not marked as "Required" to disable it.
How frequently placeholders in the menu must be refreshed, in seconds.
Note: the
- material
- left-click
- right-click
- string
- boolean
- boolean
Allows a specific item to open the menu when left or right clicked in the hand. A specific data value can be required by separating its value with a colon (for example wool:1 ).
You can also specify which mouse buttons opens the menu when holding the item (at least one of the two must be enabled).
Menu icons
Icons are listed after the menu settings, each one is a top-level configuration section.
Example of a single icon:
The top-level configuration key is the internal name ( spawn-teleport in the example) used for identifying the icon.
The internal name must be unique in the YAML file, otherwise icons with the same name are not loaded.
Don’t use symbols in the internal name as it needs to be a valid YAML configuration key.
Icons have a list of attributes, to change the appearance and the behaviour.
ChestCommands | Меню для вашего сервера MineCraft
ChestCommands — Этот плагин наверно можно встретить на каждом сервере майнкрафт! С помощью этого плагина можно создать меню сервера, меню доната, проще говоря, с его помощью можно создать любое меню. Так же в связке с этим плагином всегда используют плагин CustomJoinItems который добавляет кнопки в инвентаре игроков, через которые они смогут открывать меню, которые вы создадите с помощью этого плагина.
Основные команды:
/chestcommands reload — перезагрузка плагина
Основные права:
— chestcommands.open.* — Разрешает открывать все меню на вашем сервере.
— chestcommands.open.[name] — Разрешает открывать определенное меню.
Конфиг плагина:
#НАСТРОЙКА МЕНЮ
menu-settings:
# Имя менюшки
name: ‘&1Меню сервера’
# Сколько строк будет в меню (максимум 6)
rows: 3
# Команда, которая будет открывать это меню
command: ‘menu’
# Автоматическое обновление
# Как часто меню будет обновляться, в секундах
auto-refresh: 5
# Звук, при открытии меню (open-action: » — для откоючения звука)
open-action: ‘sound: note pling;’
# Чем и какой снопкой мыши будет открываться меню
open-with-item:
# вещь, которая будет открывать меню
id: wool:1
# Какой кнопкой мыши открывается меню
left-click: false
right-click: true
# Название кнопки, может быть любым
spawncmd:
# Команда, которая будет выполнятся при нажатии на кнопку
COMMAND: ‘spawn’
# Название кнопки в меню
NAME: ‘&eТелепорт на спавн’
# Описание
LORE:
— ‘Нажмите [ПМК], что бы ‘
— ‘телепортироваться на спавн’
# Вещь, которая отвечает за кнопку
ID: bed
# Сделать, что бы вещь переливалась, как зачарованная (Для отключения просто сотрите строку ENCHANTMENT)
ENCHANTMENT: protection
# Позиция по Х оси
POSITION-X: 5
# Позиция по Y оси
POSITION-Y: 2
Видеообзор:
Установка:
1. Скачать плагин.
2. Возьмите скачанный .jar файл и перенесите в папку plugins вашего сервера.
3. Перезапустите сервер.
4. Готово!
Как сделать меню в меню в chestcommands
Майнкрафт. Свой сервер. Плагин chestcommands. Не могу сделать gui в основном gui. Я знаю, я чайник, что то жёстоко неправильно сделал. Только что.

menu-settings:
# name — appears as the title — REQUIRED
name: ‘&4Интересные места’
# rows — the number of rows of the chest — REQUIRED
rows: 3
# command — OPTIONAL (you can remove this or set it to »)
# Bind multiple commands using ; (command: ‘menu; m; me’)
command: ‘men2’
# 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: &4’
# open-with-item — OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: 399
left-click: false
right-click: true
pvparena:
COMMAND: ‘warp pvp’
NAME: ‘&4ПВП арена’
LORE:
— ‘Тут находится обычная пвп арена.’
ID: 276
ENCHANTMENT: protection
POSITION-X: 2
POSITION-Y: 2
# name — appears as the title — REQUIRED
name: ‘&4Fuger.Craft’
# 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 w
# This command command will be execute when the menu is opened.
# Supports all the icon command types.
open-action: ‘sound: note pling; tell: &4’
# open-with-item — OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: compass
left-click: false
right-click: true
spawn:
COMMAND: ‘spawn’
NAME: ‘&eТп на спавн’
LORE:
— ‘Типа телепорт на спавн.’
— ‘*жмяк*’
ID: bed
ENCHANTMENT: protection
POSITION-X: 2
POSITION-Y: 2
home:
COMMAND: ‘home’
NAME: ‘&aТп домой’
LORE:
— ‘Ты телепортируешься к себе домой.’
— ‘Тп на спавн? поставь /sethome!’
ID: 116
ENCHANTMENT: protection
POSITION-X: 4
POSITION-Y: 2
mesta:
COMMAND: ‘open:men2.yml’
NAME: ‘&4Интересные места’
LORE:
— ‘Тут можно встретить разные интересные места.’
ID: 122
ENCHANTMENT: protection
POSITION-X: 6
POSITION-Y: 2
menu-settings:
# name — appears as the title — REQUIRED
name: ‘&4Интересные места’
# rows — the number of rows of the chest — REQUIRED
rows: 3
# command — OPTIONAL (you can remove this or set it to »)
# Bind multiple commands using ; (command: ‘menu; m; me’)
command: ‘men2’
# 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: &4’
# open-with-item — OPTIONAL
# The menu will open only right-clicking wit
ChestCommands | Меню для вашего сервера MineCraft
ChestCommands — Этот плагин наверно можно встретить на каждом сервере майнкрафт! С помощью этого плагина можно создать меню сервера, меню доната, проще говоря, с его помощью можно создать любое меню. Так же в связке с этим плагином всегда используют плагин CustomJoinItems который добавляет кнопки в инвентаре игроков, через которые они смогут открывать меню, которые вы создадите с помощью этого плагина.
Основные команды:
/chestcommands reload — перезагрузка плагина
Основные права:
— chestcommands.open.* — Разрешает открывать все меню на вашем сервере.
— chestcommands.open.[name] — Разрешает открывать определенное меню.
Конфиг плагина:
#НАСТРОЙКА МЕНЮ
menu-settings:
# Имя менюшки
name: ‘&1Меню сервера’
# Сколько строк будет в меню (максимум 6)
rows: 3
# Команда, которая будет открывать это меню
command: ‘menu’
# Автоматическое обновление
# Как часто меню будет обновляться, в секундах
auto-refresh: 5
# Звук, при открытии меню (open-action: » — для откоючения звука)
open-action: ‘sound: note pling;’
# Чем и какой снопкой мыши будет открываться меню
open-with-item:
# вещь, которая будет открывать меню
id: wool:1
# Какой кнопкой мыши открывается меню
left-click: false
right-click: true
# Название кнопки, может быть любым
spawncmd:
# Команда, которая будет выполнятся при нажатии на кнопку
COMMAND: ‘spawn’
# Название кнопки в меню
NAME: ‘&eТелепорт на спавн’
# Описание
LORE:
— ‘Нажмите [ПМК], что бы ‘
— ‘телепортироваться на спавн’
# Вещь, которая отвечает за кнопку
ID: bed
# Сделать, что бы вещь переливалась, как зачарованная (Для отключения просто сотрите строку ENCHANTMENT)
ENCHANTMENT: protection
# Позиция по Х оси
POSITION-X: 5
# Позиция по Y оси
POSITION-Y: 2
Видеообзор:
Установка:
1. Скачать плагин.
2. Возьмите скачанный .jar файл и перенесите в папку plugins вашего сервера.
3. Перезапустите сервер.
4. Готово!