Skip to content
Andre_601 edited this page Nov 28, 2017 · 6 revisions

This page will explain you, how to create a basic menu with items.

Example

This example here shows a basic menu, with one item:

Title:
- '&2Title #1'
- '&aTitle #2'
Frame-Delay: 20
Menu-Item:
 <See options below>
Type: 'chest'
Rows: 4
Commands: 'example; ex'
Items:
  FirstItem:
    Slot: 1
    Frame-Delay: 20
    Frames:
      '1':
        <See Frame-options below>

Let's break this down to the different sections.

Title

Required? Type Supports Placeholders?
No String/Stringlist Yes (All)

This section is for setting the title of the menu.
You can set only one text, or multiple ones:

# One title
Menu-Title: 'This is one title'

# multiple titles
# The menu will switch through the titles
Menu-Title:
- 'Title 1'
- 'Title 2'

Frame-Delay

Required? Type Supports Placeholders?
No Integer No

This section let's you set the delay (in ticks) in which the menu-title will switch trhough the titles.
This option is disabled, if only one title is available.

Menu-Item

There are so many options, that this is in another page.
Click here to get to the page!

Clone this wiki locally