Simple Button
This is a combination of Dummy Button and Air Button, so you can set both Item Modifiers and action
(command
) & close-on-click
.
Format
button-name:
type: simple # You don't need to set this value. It's the default value
modifier1: <value1>
modifier2: <value2>
modifier3: <value3>
...
# command:
action:
- <action>
- <action>
- <action>
...
close-on-click: <true/false>
Example
simple-button:
id: cobblestone
name: "&bThis is a simple button"
lore:
- ""
- "&fThis is a lore"
action: "tell: &eYou clicked"
close-on-click: true