- Compatible API Versions
- 1.0.0
- Sourcecode
- https://github.com/MEFRREEX/ChestMenu/
ChestMenu
With this plugin you can create menu interfaces in the chest
Dependency
The FakeInventories plugin must be installed on the server for the plugin to work
Example menu:
Example menu.yml:
Permissions and commands:
Chest Slots ID
With this plugin you can create menu interfaces in the chest
Dependency
The FakeInventories plugin must be installed on the server for the plugin to work
Example menu:
Example menu.yml:
YAML:
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 <menu name> [player] | chestmenu.open | Open a certain menu to a specific player |
Menu command | chestmenu.menu.<menu name> | Permission to open a specific menu |