Setup
This page explains how to set up a custom menu using a configuration file. The menu system allows you to display custom graphical menus with clickable items.
In the menu folder, you can create as many subfolders as you want. However, within the entire menu folder, you cannot have two YAML files with the same name.
π Basic Structure
title
titleDescription: Sets the title that appears at the top of the menu.
Example:
title: '&eExample Menu'
πΊοΈ Menu Layout (item-map)
item-map)The item-map defines the visual layout of your menu.
Each line represents a row in the menu grid.
You can use any character (letter, number, or symbol) to represent a specific item.
Each character corresponds to an item in the
itemssection.Use
-for empty or decorative slots.
Example:
item-map:
- '-ggggggg-'
- '2-WWWWW-1'
- '-gggCggg-'In this layout:
gis a gray glass pane (usually used as a filler).Wcould represent a wood item (defined in the pagination).1and2are pagination buttons.Cis a close menu button.
π Pagination Support
The pagination section allows your menu to support multiple pages of items.
category
categoryUsed to link the menu to a specific group of items.
The name must match a pagination category defined elsewhere.
Example:
next and previous
next and previousConfigure buttons to switch between pages.
Example:
item-slot-id: Refers to the character initem-mapused for the button (in this case,1).empty: What to show when there's no next/previous page. You can delete a section if you don't want to use it, it's optional.
π§± Items Section (items)
items)Each item character from the item-map must have a definition here.
How to set up the item itself can be found here
Example:
β
Final Notes
Every character used in
item-mapmust be defined underitemsor in the pagination.This system supports dynamic items (like pagination) and static buttons (like closing).
Use color codes (e.g.,
&a,&e,&c) to customize the text appearance.
Last updated