Menus
Menus (also called GUIs - Graphical User Interfaces) provide a visual way for players to interact with Homestead without typing commands. Menus appear as chest inventories with clickable items.
Overview
Homestead uses menus for:
- Viewing and managing regions
- Configuring flags
- Managing trusted members
- Accessing region settings
- And much more!
All menu customization is done in the menus/(LANGUAGE CODE).yml file located in the Homestead plugin folder.
By default, the menus file is menus/en-US.yml.
Changing the language
Same configuration as Language, but the directory is menus instead of languages.
Customizing Titles
Menu titles appear at the top of the chest inventory interface.
Configuration
In en-US.yml or any menus file, find the menu-titles section:
menu-titles:
0: "Regions"
1: "Region: &2{region}"
2: "Player Flags (Global)"
3: "World Flags"
4: "Member Flags"
5: "Region Members"
6: "Sub-Areas"
7: "Region Bank"
8: "Region Settings"
Using Color Codes
You can use Minecraft color codes to style titles:
menu-titles:
1: "&6&lRegion: &2&l{region}" # Gold, bold "Region:", green, bold region name
2: "&c&lPlayer Flags" # Red, bold title
5: "&b» &fMembers &b«" # Aqua arrows, white text
Customizing Menu Buttons
Buttons are the clickable items in menus. Each button has a name, description (lore), and appearance (item type).
Button Properties
name:
The button's display name. Supports color codes.
lore:
A list of description lines shown when hovering over the button.
lore:
- "&7Click to confirm this action."
- "&cThis cannot be undone!"
- ""
- "&eLeft-click to continue"
type:
The Minecraft item/block to use as the button. See below for options.
Button Types
Using Regular Items
You can use any Minecraft material name:
type: DIAMOND # A diamond item
type: IRON_SWORD # An iron sword
type: OAK_DOOR # An oak door
type: GRASS_BLOCK # A grass block
type: ENCHANTED_BOOK # An enchanted book
Finding Material Names:
- Visit the Minecraft Wiki
- Search for the item you want
- Look for the "Data values" or "ID" section
- Use the namespaced ID without
minecraft:(e.g.,DIAMOND_SWORD, notminecraft:diamond_sword)
Using Player Heads
Player heads let you use custom textures for buttons, creating unique icons.
Format:
Where <texture> is the texture ID from Minecraft-Heads.com.
Getting Custom Player Head Textures
-
Visit Minecraft-Heads.com
-
Search for a head design you like (e.g., "grass block", "warning sign", "arrow up")
-
Select the head you want to use
-
Scroll down to find the "Minecraft URL" section
-
Copy the URL, which looks like:
-
Extract the texture ID (everything after
/texture/): -
Use it in your button:
Using NexoMC
Same steps as getting custom player head textures, but use NEXO- or NEXOMC- instead of PLAYERHEAD-, following the custom item ID
you have created with Nexo!
Nexo Custom ID Rule
Do not use dashes (-) for your custom items, use underscore (_) instead.
Example: NEXO-custom_arrow_button.
Is Oraxen supported?
No.
Fallback Behavior
If a material name doesn't exist (wrong spelling, version mismatch, etc.), Homestead automatically uses a BARRIER block as a fallback.
Version Compatibility
If you're using a newer Minecraft version than Homestead's API version, some materials might not be recognized. For example, if Minecraft 1.21.9 adds "COPPER_GOLEM_STATUE", Homestead might not recognize it until updated. It will show as a barrier block instead.
Reloading Changes
After editing your menus file, reload the configuration:
Players may need to close and reopen menus to see changes.