Skip to main content

teamMemberManage.yml

Team Menu/teamMemberManage.yml is part of the BetterFioExtensions bundled menu configuration. Management screen for one selected member.

Bundled title line:

title: "<black><bold>| <dark_gray>ᴍᴀɴᴀɢᴇ: <white>%betterfioextensions_member_name%"

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>ᴍᴀɴᴀɢᴇ: <white>%betterfioextensions_member_name%"
rows: 6

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.

kick:
slot: 20
material: IRON_SWORD
flags:
- HIDE_ATTRIBUTES
name: "<red>Kick Member"
lore:
- "<dark_gray>ᴍᴀɴᴀɢᴇ"
- " "
- "<gray>ʀᴇᴍᴏᴠᴇ ᴛʜɪꜱ ᴘʟᴀʏᴇʀ"
- "<gray>ꜰʀᴏᴍ ʏᴏᴜʀ ᴄᴜʀʀᴇɴᴛ ᴛᴇᴀᴍ."
- " "
- "<red>ᴄʟɪᴄᴋ ᴛᴏ ᴋɪᴄᴋ"
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

ActionWhat it doesHow to use it
[BETTERFIOEXTENSIONS] BAN %player_name%Bans the selected player from the team.Keep the placeholder parameter because the extension replaces it with the clicked generated entry.
[BETTERFIOEXTENSIONS] DEMOTE %player_name%Demotes the selected team member.Keep the placeholder parameter because the extension replaces it with the clicked generated entry.
[BETTERFIOEXTENSIONS] KICK %player_name%Kicks the selected player from the team.Keep the placeholder parameter because the extension replaces it with the clicked generated entry.
[BETTERFIOEXTENSIONS] PROMOTE %player_name%Promotes the selected team member.Keep the placeholder parameter because the extension replaces it with the clicked generated entry.
[BETTERFIOEXTENSIONS] UNBAN %player_name%Unbans the selected player.Keep the placeholder parameter because the extension replaces it with the clicked generated entry.
[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] transfer-ownership %player_name%Opens the configured menu target transfer-ownership %player_name%.Use it for menu navigation. If the target includes a parameter, keep that parameter in place.
[SOUND] BLOCK_NOTE_BLOCK_PLING 1 2 masterPlays a Bukkit/Minecraft sound.Use it as feedback before or after a menu action. Format is sound, volume, pitch, and sound category.
[SOUND] BLOCK_WOODEN_DOOR_CLOSE 1 100 masterPlays 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 masterPlays 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

  • Every member action depends on %player_name%.
  • Ownership transfer is opened through [OPEN_MENU] transfer-ownership %player_name%; the confirmation menu receives the selected player context.
Source

This page is based on Team Menu/teamMemberManage.yml from the BetterFioExtensions project.