Custom Menus

All custom menu related options & configurations

Example

id: color_patterns
title: "&cColor Patterns"
size: 9
items:
  red:
    material: RED_WOOL
    slot: 1
    click-actions:
      - "[message] &4You clicked the red colored wool"
  green:
    material: GREEN_WOOL
    slot: 2
    click-actions:
      - "[message] &2You clicked the green colored wool"
  blue:
    material: BLUE_WOOL
    slot: 3
    click-actions:
      - "[message] &1You clicked the blue colored wool"

Identifier

id: example_id

Allows you to set a identifier for the Custom Menu.

This option is only required when created in menus folder

Title

title: "&cColor Patterns"

Allows you to set the menu title for the Custom Menu.

You can use color codes and hex codes in this option

Size

size: 9

Allows you to set the size for the Custom Menu.

Rows

rows: 1

Allows you to set the rows for the Custom Menu.

menu-type: CHEST

Allows you to select a different type of inventory for the Custom Menu.

Click here to view the list of menu types

Open Requirements

open-requirement:
  requirements:
    ...

Allows you to add open requirements to the Custom Menu.

Click here to view more about requirements

Open Actions

open-actions:
  - "actiontype action"
  - "actiontype action"

Allows you to add open actions to the Custom Menu.

Click here to view more about actions

Close Actions

close-actions:
  - "actiontype action"
  - "actiontype action"

Allows you to add close actions to the Custom Menu.

Click here to view more about actions

Update Interval

update-interval: 5

Allows you to set update interval (in seconds) to the Custom Menu.

This option will be used by items with the update option set to true

items:
  ...

Click here to view more about menu items

Was this helpful?