Creating & Editing Menus

Once you’ve finished installing sheets, you can create and test menus

Each menu is defined with a configuration file (menu_name.yml) inside the Sheets/menus folder and follows a structured format in YAML. Here's a breakdown of the key components of a menu:

Type

Description: The title displayed at the top of the menu.

Type: NORMAL or ANVIL

Optional: true

Example:

type: "NORMAL"

Title

Description: The title displayed at the top of the menu.

Type: String or Map of Strings

Optional: false

Example:

# Unified title
title: "Example Menu"


# Per Platform title
title:
    java: "Example menu"
    bedrock: "Bedrock menu"
    
# Single Platform title
title:
    java: "Java Menu"

Content

Description: The content only bedrock users see below the title

Type: String

Optional: true

Example:

Size

Description: The size of the menu (must be a multiple of 9)

Type: Integer

Default: 27

Optional: false

Example:

Commands

Description: A list of commands that can be executed to open the menu

Type: List of strings or List of Maps

Optional: true

Example:

Permission

Description: A permission string required to open the menu and execute the menu commands

Type: String

Optional: true

Example:

Actions

Description: Defines the actions triggered when the menu is opened

Type: List of actions

Optional: true

Example:

Requirements

Description: Conditions that must be met for the menu to open

Checkout Requirements for the requirements

Type: List

Optional: true

Example:

Checkout next page to create Requirements

Filler

Description: Items used to fill empty slots in the menu, only for java guis.

Type: Item

Optional: true

Example:

Buttons

Description: Defines clickable items in the menu

Type: List of buttons

Optional: false

See individual button properties below here.

Example Menu

Last updated