Categories - jojodmo/CustomItems GitHub Wiki

Overview

Creating Custom Categories is simple, below we will explain how.

Inside plugins\CustomItems There is a file called inventories.yml In this folder we are going to enable categories

# Whether or not categories should be enabled. Set to "true" to enable categories
categoriesEnabled: true

Below this there is an explanation any item not listed in this file after enabling categories will automatically fall under Miscellaneous

So make as many categories as you want then put them in order. The categories show up when you do /cui list

categories:
  miscellaneous:
    itemName: "&dMiscellaneous" #How it shows in the GUI
    item: "minecraft:stick" #The Icon it has in the GUI
    itemOrder: #ItemList using the item yml names
      - "warpstick"
      - "infinatewaterbucket"
      - "squishy"
  tools:
    itemName: "&dTools" #How it shows in the GUI
    item: "minecraft:DIAMOND_PICKAXE" #The Icon it has in the GUI
    itemOrder: #ItemList using the item yml names
      - "superpick"
      - "ultishovel"
      - "diggy"
  armor:
    itemName: "&dArmor" #How it shows in the GUI
    item: "minecraft:DIAMOND_CHESTPLATE" #The Icon it has in the GUI
    itemOrder: #ItemList using the item yml names
      - "diaplate"
      - "flychest"
      - "botties"
  weapons:
    itemName: "&dWeapons" #How it shows in the GUI
    item: "minecraft:DIAMOND_SWORD" #The Icon it has in the GUI
    itemOrder: #ItemList using the item yml names
      - "levelingsword"
      - "hammer"
      - "smaccy"
# The order you want your categories to show up in the category inventory.
# Anything that isn't included here will be put at the end of the inventory,
# in an undefined order.
categoryOrder:
   - "armor"
   - "miscellaneous"
   - "tools"
   - "weapons"

The item in the options above can also be set to custom items to get some cool effects, if you have a custom texture pack.