Inventory Configuration Structure
Complete YAML configuration guide for creating custom inventory menus. Learn all available options, placeholders, mathematical expressions, and display conditions without any Java code.
Table of Contents
Basic Structure
# Optional: Command to open this inventory
command: mymenu
Inventory:
title: "<gold><bold>My Menu"
rows: 3
placeholders:
# Custom inventory-level placeholders (optional)
Items:
item_name:
# Item configuration
another_item:
# Another item configurationInventory Section
Required Fields
Field
Type
Description
Example
Optional Fields
Field
Type
Description
Example
Example
Items Section
Basic Item Structure
Item Properties
Required Properties
Property
Type
Description
Example
Optional Properties
Property
Type
Description
Example
Material Options
Single Material
Random Material (picks one randomly)
Player Head Types
Lore Configuration
Enchantments
Item Flags
Commands
Prefix
Description
Example
Slot Configuration
Single Slot
Range
List of Slots and Ranges
Using Placeholders and Math
Placeholders
Built-in Placeholders
Inventory-Level (available everywhere)
Placeholder
Description
Example
Item-Level (available in items)
Placeholder
Description
Example
PlaceholderAPI
Custom Placeholders
Inventory-Level Custom Placeholders
Item-Level Custom Placeholders
Placeholder Processing Order
Mathematical Expressions
Basic Operations
With Placeholders
Functions
Function
Description
Example
Complex Expressions
Display Conditions
Comparison Operators
Operator
Description
Example
Basic Examples
With Math Expressions
String Comparisons
Complete Examples
Example 1: Simple Navigation Menu
Example 2: Player Homes Menu with Placeholders
Example 3: Shop with Conditional Items
Example 4: Pagination System
Best Practices
Troubleshooting
Item doesn't appear
Placeholders not working
Math expressions not calculating
Commands not executing
Last updated
Was this helpful?
