HOME Button Type
The HOME button type returns the player to the very first inventory they opened in their navigation history. This is useful for deep menu hierarchies where players want to return to the start.
Usage
items:
home:
type: HOME
slot: 49
item:
material: NETHER_STAR
name: "&e&lHome"
lore:
- "&7Return to the main menu"
How It Works
Unlike the BACK button which goes one step back, HOME clears the entire history and returns to the first inventory:
- Player opens Menu A (root)
- Player navigates: A → B → C → D
- Player clicks HOME → Returns directly to Menu A
- History is cleared
Difference from BACK and MAIN_MENU
| Button | Behavior |
|---|---|
BACK | Goes to the previous inventory (one step) |
HOME | Goes to the first inventory in history |
MAIN_MENU | Opens the configured main menu (may be different) |
Examples
Basic Home Button
items:
home:
type: HOME
slot: 49
item:
material: NETHER_STAR
name: "&e&lHome"
sound: ENTITY_ENDERMAN_TELEPORT
Styled Home Button
items:
home:
type: HOME
slot: 49
item:
material: PLAYER_HEAD
url: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzVhMzFjNjQ1MzNlNTRhZmFjZjA0YzNhMTY3YzM4YjBhYjIzMjI3NjdmYjE2MWVmMTU5MjI5YTI4ZmJiN2EifX0="
name: "&6&l⌂ Home"
lore:
- "&7Return to the main menu"
- ""
- "&e▸ Click to go home"
sound: BLOCK_NOTE_BLOCK_CHIME
Navigation Bar with Home
items:
back:
type: BACK
slot: 45
is-permanent: true
item:
material: ARROW
name: "&c&l← Back"
sound: UI_BUTTON_CLICK
previous:
type: PREVIOUS
slot: 47
is-permanent: true
item:
material: ARROW
name: "&7Previous"
home:
type: HOME
slot: 49
is-permanent: true
item:
material: NETHER_STAR
name: "&e&lHome"
sound: UI_BUTTON_CLICK
next:
type: NEXT
slot: 51
is-permanent: true
item:
material: ARROW
name: "&7Next"
close:
slot: 53
is-permanent: true
close-inventory: true
item:
material: BARRIER
name: "&c&lClose"
Conditional Home Button
Only show when not at the root menu:
items:
home:
type: HOME
slot: 49
view-requirement:
requirements:
- type: placeholder
value: "%zmenu_player_previous_inventories%"
compare: ">"
number: 0
item:
material: NETHER_STAR
name: "&e&lHome"
else:
item:
material: GRAY_STAINED_GLASS_PANE
name: "&8"
When to Use
Use HOME buttons when:
- You have deep menu hierarchies (3+ levels)
- Users need a quick way to restart navigation
- Your menus branch into multiple categories
Best Practices
- Place centrally - Middle of the navigation bar (slot 49)
- Use distinctive icon - Nether star or house-shaped head
- Add to all sub-menus - Include in every non-root menu
- Combine with BACK - Give users both options
- Use
is-permanent: true- Always visible on paginated menus
Related Button Types
Next Steps
- Learn about MAIN_MENU buttons
- See the JUMP button for page navigation
- View all Button Types