Skip to content

Main Menu Configuration

Jens Collaert edited this page Nov 19, 2022 · 2 revisions

Common settings for all main menu's.

menu:
  title: "Bedrock Shops"
  content: "Select which shop you want to buy/sell from"
  buttons:
    Ores:
      permission: PLAYER
      image: "default/coal_ore"

image: "default/coal_ore"
For main menu you will have to specify which item img you want to use! in this case coal_ore. this option does NOT work on item list menus!
Ores:
Will be the Key/Link to the ItemShopList Menu. This is case sensitive!

The example above is the default codeblock. Main menu buttons can have optionals. see below!

isExit: true

isExit will make the button close the main menu form. this option only works for main menu! ItemListMenu has its own back/cancel type.

commands:
  - "console; say hello, %player_name%. this is a command"
Clone this wiki locally