savedLocationAnchor.yml
Team Menu/Saved Location/savedLocationAnchor.yml is part of the BetterFioExtensions bundled menu configuration. Team anchor teleport, set, and removal menu.
Bundled title line:
title: "<black><bold>| <dark_gray>ᴛᴇᴀᴍ ᴀɴᴄʜᴏʀ"
YAML format
This is the structure you edit for this menu. The display text should keep the same MiniMessage and small-cap style used by the bundled BFE file unless you intentionally redesign the menu.
title: "<black><bold>| <dark_gray>ᴛᴇᴀᴍ ᴀɴᴄʜᴏʀ"
rows: 5
items:
item_key:
slot: 10
material: BOOK
name: "<yellow>Display Name"
lore:
- "<gray>Description line"
actions:
any:
- "[SOUND] UI_BUTTON_CLICK 1 1 master"
Bundled item style example
This excerpt is copied from the bundled BFE YAML style so the menu keeps the same MiniMessage colors and small-cap text formatting.
set:
material: RESPAWN_ANCHOR
name: "<yellow>Team Anchor"
lore:
- "<dark_gray>ꜱᴀᴠᴇᴅ ʟᴏᴄᴀᴛɪᴏɴ"
- " "
- "<gold>| <white>ᴡᴏʀʟᴅ<dark_gray>: <yellow>%betterfioextensions_saved_location_world%"
- "<gold>| <white>ᴄᴏᴏʀᴅꜱ<dark_gray>: <yellow>x:%betterfioextensions_saved_location_x% <dark_gray>| <yellow>ʏ:%betterfioextensions_saved_location_y% <dark_gray>| <yellow>ᴢ:%betterfioextensions_saved_location_z%"
- " "
- "<yellow>ᴄʟɪᴄᴋ ᴛᴏ ᴛᴇʟᴇᴘᴏʀᴛ"
actions:
any:
- '[BETTERFIOEXTENSIONS] TELEPORT_TEAM_ANCHOR'
- '[SOUND] UI_BUTTON_CLICK 1 1 master'
Click keys used here
any: Runs for any click type supported by the item.
Important sections
title: Inventory title shown at the top of the menu.rows: Inventory height. One row equals 9 slots.items: Static or generated item definitions for the menu.
Actions
| Action | What it does | How to use it |
|---|---|---|
[BETTERFIOEXTENSIONS] SET_TEAM_ANCHOR | Saves the player current location as the team anchor. | Use this exact action name; it maps to a BetterFioExtensions handler. |
[BETTERFIOEXTENSIONS] TELEPORT_TEAM_ANCHOR | Teleports the player to the saved team anchor. | Use this exact action name; it maps to a BetterFioExtensions handler. |
[GOBACK] | Returns to the previous BetterFioExtensions menu in the navigation history. | Use it on back buttons. |
[NONE] | Does nothing. | Use it for locked, unavailable, or informational items. |
[OPEN_MENU] confirmAnchorRemove | Opens the configured menu target confirmAnchorRemove. | Use it for menu navigation. If the target includes a parameter, keep that parameter in place. |
[SOUND] BLOCK_WOODEN_DOOR_CLOSE 1 100 master | Plays a Bukkit/Minecraft sound. | Use it as feedback before or after a menu action. Format is sound, volume, pitch, and sound category. |
[SOUND] ENTITY_VILLAGER_NO 1 100 master | Plays a Bukkit/Minecraft sound. | Use it as feedback before or after a menu action. Format is sound, volume, pitch, and sound category. |
[SOUND] UI_BUTTON_CLICK 1 1 master | Plays a Bukkit/Minecraft sound. | Use it as feedback before or after a menu action. Format is sound, volume, pitch, and sound category. |
How to use this menu
- Anchor teleport and set actions are direct BFE handlers.
- Removal should go through
confirmAnchorRemove.
Source
This page is based on Team Menu/Saved Location/savedLocationAnchor.yml from the BetterFioExtensions project.