items.yml file and can be given to players or used in menus.
Basic Item Configuration
All custom items are defined in theitems.yml file under the items section. Each item has a unique identifier and properties.
Configure item properties
Available properties for items:
name- Display name with color codesmaterial- Bukkit material typelore- List of lore linesactions- List of actions to executeglow- Add enchantment glow effectamount- Stack size (default: 1)model_data- Custom model data ID
Item Examples
Glowing Item with Menu Action
items.yml
Custom Player Head with URL
Use custom textures from minecraft.net:items.yml
Shop Item with Command Action
items.yml
Movement Menu Item
items.yml
Player Head Types
Item Properties Reference
Basic Properties
| Property | Type | Description | Example |
|---|---|---|---|
name | String | Item display name | "&cCompass" |
material | String | Bukkit material | COMPASS |
lore | List | Item lore lines | See examples |
actions | List | Actions on interaction | See Action System |
Advanced Properties
| Property | Type | Description | Example |
|---|---|---|---|
glow | Boolean | Enchantment glow | true |
amount | Integer | Stack size | 3 |
model_data | Integer | Custom model data | 10001 |
url | String | Player head texture URL | See examples |
texture | String | Player head texture | Notch |
hdb | Integer | HeadDatabase ID | 12345 |
color | String | Leather armor color (hex) | 8ad592 |
Leather Armor Colors
You can customize leather armor colors using hex codes (without the#):
items.yml
Color Codes and Formatting
Hubbly supports both traditional and hex colors:Traditional Color Codes
Hex Colors
Use the<#RRGGBB> format for hex colors:
Using Items in Menus
Items can also be used directly in menu configurations. See the Creating Menus guide for more information.All item properties work the same whether defined in
items.yml or directly in menu files.Common Use Cases
Hub Selector Item
items.yml
Cosmetics Menu
items.yml
Teleporter Item
items.yml
Best Practices
- Unique Identifiers - Use descriptive, unique IDs for each item
- Color Consistency - Maintain consistent color schemes across items
- Clear Descriptions - Write helpful lore that explains item functionality
- Test Actions - Always test item actions before deploying
- Performance - Avoid excessive actions on frequently-used items
Next Steps
Creating Menus
Learn how to use items in interactive menus
Action System
Explore all available actions for items