Manage menu
To manage a menu, go into the file named "menus.yml"
Note that menu has id, you have to have the same id
<title>
- Menu title
<size>
- Menu size
<close>
- Menu closeable
<items>
- Menu items
test: slot: 5 material: GRASS action: CONSOLE_COMMAND # Make console execute cmd value:
"broadcast %player% is such a beautiful player"
test2:
slot: 6
material: GRASS
action: CLOSE_MENU # Make player close inventory
test3: slot: 7 material: GRASS action: PERFORM_COMMAND # Make players execute cmd value:
"job shop"
Last updated