ChestMenu
Плагин для создания различных меню
Зависимости
Для работы плагина требуется установить библиотеку FakeInventories
Пример меню
Пример настройки в menu.yml
example_menu:
# Command to open a menu
command:
name: "example"
description: "Open example menu"
# Need permission to open
# Permission: chestmenu.menu.<menu name>
# Example: chestmenu.menu.example_menu
requirePermission: true
# 1 - CHEST, 2 - DOUBLE_CHEST, 3 - HOPPER, 4 - DROPPER
chestType: 1
name: "Example Menu"
items:
"12":
# id:meta
item: "267:0"
name: "Item Name"
lore:
- "§fLine 1"
- "§fLine 2"
# sender:command
# Types of senders: player, console
# Placeholders: {player}, {item_index}, {item_name}
# Example: "console:say Test"
commands:
- "player:say Test command, executed by {player}"
# type:name
# Types: open, message, sound
# Example: "open:example_menu"
actions:
- "open:example_menu"
- "message:Example message"
- "sound:random.pop"
closeOnClick: false
Команды и пермишены
Command | Permission | Description |
---|---|---|
/open <название меню> [игрок] | chestmenu.open | Открыть меню игроку |
Команда меню (указанная в menu.yml) | chestmenu.menu.<название меню> | Разрешение на открытие определенного меню |
ID слотов сундуков
С раздатчиком и воронкой по такому же принципу
Скачать
GitHub: GitHub - MEFRREEX/ChestMenu
Скачать: ChestMenu.jar