📃
Recipes menu
/ia command menu

Menu settings and "All" category

ia_gui.yml contains settings about the /ia command GUI. It also contains the "all" category which shows every ItemsAdder item.
Default categories are inside: plugins\ItemsAdder\data\items_packs\various_configs\ia_gui_default_categories.yml

Creating a custom category

If you want to create your own category you have to add it to your own .yml file in your namespace. This is an example:
1
info:
2
namespace: your_namespace
3
categories:
4
armors:
5
enabled: true
6
icon: "itemsadder:ruby_head"
7
name: 'Armors'
8
permission: "ia.menu.armors"
9
#THIS IS OPTIONAL. Plugin will take the one in ia_gui.yml if not set.
10
font_image:
11
name: "mcguis:blank_menu"
12
x_position_pixels: -16
13
#THIS IS OPTIONAL. Plugin will take the one in ia_gui.yml if not set.
14
title_position_pixels: 0
15
items:
16
- "itemsadder:ruby_sword"
17
- "itemsadder:ruby_head"
18
- "itemsadder:ruby_chest"
19
- "itemsadder:ruby_legs"
20
- "itemsadder:ruby_boots"
21
- "itemsadder:spinel_head"
22
- "itemsadder:spinel_chest"
23
- "itemsadder:spinel_legs"
Copied!
Remember to give your users permission for each category if you want them to see the categories. For example a permission is: ia.menu.armors
font_image and title_position_pixels are optional. Plugin will take the one in ia_gui.yml if not set.
Categories with the same name and different namespace will be merged, this is helful if you have two "swords" categories. This allows you to open /ia menu and see all swords organized in the same category instead of having 2 swords categories.
Last modified 9d ago