Guides
This area will help answer some questions you might have about the plugin.
How do you get item ID?
Hold the item that you need the ID from and run /shop iteminfo
. This will send you a message in chat letting you know the name and ID. This is very helpful when working on the main menu.
How do you create a new category?
Open your menus.yml
file. In that file you'll want to add in your new category like shown below. You can create unlimited menus and category items. To set the main menu input main-menu: true
like shown below.
How do you create a new sub menu?
Open your menus.yml
file. In that file you'll need to find the category item you would like to make open a sub menu. Once you've made or found it simply replace shop
with sub-menu
. After that you'll also need to create the submenu. So under the key menus
in the menus.yml
you'll need to make another menu named whatever you made the sub-menu name, in this examples it's custom-menu-name
. After that create your menu as you wish and reload the plugin when you're done.
If you're sub-menu size is lager than 9 the back button will automatically be added at the middle bottom of the sub-menu. Also make sure you set the inventory space 9-54 only using a 9 denominator (9, 18, 27, 36, 45, 54).
How do you create a new shop?
Well actually when create a new menu or sub-menu with a category item you just need to click it in the menu in-game one time after it's been created and the plugin will generate the info needed in the shops.yml
. You can also input this manually like listed below.
Last updated