📘Menu Guide

How to create menus and add items into menus.

Create Menu In-Game

  1. Create the menu: /shop create menu <name>

  2. Set menu title: /shop set menu <name> title <title>

  3. Set menu size: /shop set menu <name> size <size>

If you followed these steps you should now know how to create menus in-game. To test the menu after you created it run /shop open menu <menu>.

Create Menu In YAML

  1. Open the menus.yml and create a new key under the menus key, this will be the name of the menu.

  2. Under your new menu key input a title, size and items key, along with the required details for each key.

  3. When you have completed that it should look something like this:

menus:  
    new-menu:  
        title: '&2&lEpic Menu'    
        size: 45    
        items:
            '1':
                item: rO0ABXNyABpvcmcuYnVra2l0LnV0aWwuaW8uV3JhcHBlcvJQR+zxEm8FAgABTAADbWFwdAAPTGphdmEvdXRpbC9NYXA7eHBzcgA1Y29tLmdvb2dsZS5jb21tb24uY29sbGVjdC5JbW11dGFibGVNYXAkU2VyaWFsaXplZEZvcm0AAAAAAAAAAAIAAkwABGtleXN0ABJMamF2YS9sYW5nL09iamVjdDtMAAZ2YWx1ZXNxAH4ABHhwdXIAE1tMamF2YS5sYW5nLk9iamVjdDuQzlifEHMpbAIAAHhwAAAABHQAAj09dAABdnQABHR5cGV0AARtZXRhdXEAfgAGAAAABHQAHm9yZy5idWtraXQuaW52ZW50b3J5Lkl0ZW1TdGFja3NyABFqYXZhLmxhbmcuSW50ZWdlchLioKT3gYc4AgABSQAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAAwwdAAIUkVEU1RPTkVzcQB+AABzcQB+AAN1cQB+AAYAAAADcQB+AAh0AAltZXRhLXR5cGV0AAxkaXNwbGF5LW5hbWV1cQB+AAYAAAADdAAISXRlbU1ldGF0AApVTlNQRUNJRklDdACOeyJleHRyYSI6W3siYm9sZCI6dHJ1ZSwiaXRhbGljIjpmYWxzZSwidW5kZXJsaW5lZCI6ZmFsc2UsInN0cmlrZXRocm91Z2giOmZhbHNlLCJvYmZ1c2NhdGVkIjpmYWxzZSwiY29sb3IiOiJyZWQiLCJ0ZXh0IjoiUmVkc3RvbmUifV0sInRleHQiOiIifQ==
                slot: 10
                shop: redstone

When you've made all your changes in the file, run the command /shop reload to apply your changes in-game or restart your server.

Add Menu Item In-Game

  1. Get the item you want to add and put it in your main-hand slot. You can also edit the item if needed with /shop item.

  2. While holding the item run the command /shop add menu <menu> <shop/menu> <target>.

  3. You'll have a option between a shop or sub-menu, this will be the rout the item will take when clicked.

  4. If you ran that command the item you're holding should now be added to the target menu. No restart or reload needed.

Remove Menu Item In-Game

  1. Open the menu that has the item you want to remove and sneak-click it. If you're OP it should give you a copy of the menu display item.

  2. Now with that item in your hand run the command /shop remove menu <menu>.

  3. If you ran that command the item you're holding should now be removed from the target menu. No restart or reload needed.

Last updated