leave.yml
confirmationTeam/leave.yml is part of the BetterFioExtensions bundled menu configuration. Confirmation menu for leaving a team.
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: 3
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.
confirm:
slot: 11
type: "CONFIRM"
material: LIME_DYE
name: "<green>Confirm Leave"
lore:
- "<dark_gray>ᴄᴏɴꜰɪʀᴍ"
- " "
- "<gray>ᴄʟɪᴄᴋ ᴛᴏ ʟᴇᴀᴠᴇ ʏᴏᴜʀ"
- "<gray>ᴄᴜʀʀᴇɴᴛ ᴛᴇᴀᴍ."
- " "
- "<green>ᴄʟɪᴄᴋ ᴛᴏ ᴄᴏɴꜰɪʀᴍ"
actions:
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 |
|---|---|---|
[OPEN_MENU] team | Opens the configured menu target team. | Use it for menu navigation. If the target includes a parameter, keep that parameter in place. |
[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
- This confirmation menu uses extension context; do not replace it with a made-up action.
- Cancel can return to the team menu or go back depending on your preferred flow.
Source
This page is based on confirmationTeam/leave.yml from the BetterFioExtensions project.