deaths.yml
Team Menu/Leaderboard/deaths.yml is part of the BetterFioExtensions bundled menu configuration. Deaths leaderboard page.
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: 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.
sort:
slot: 4
material: HOPPER
name: "<yellow>Sort Leaderboard"
selected-format: "<yellow>> <white>%sort-format%"
unselected-format: "<dark_gray>› <gray>%sort-format%"
lore:
- '<dark_gray>ꜱᴏʀᴛ'
- ' '
- '<gray>ᴄʟɪᴄᴋ ᴛᴏ ꜱᴏʀᴛ ᴛʜᴇ ʟᴇᴀᴅᴇʀʙᴏᴀʀᴅ'
- '<gray>ɪɴᴛᴏ ᴀ ꜱᴘᴇᴄɪꜰɪᴄ ꜰᴏʀᴍᴀᴛ.'
- ' '
- '%betterfioextensions_leaderboard_sort_options%'
- ' '
- '<yellow>ᴄʟɪᴄᴋ ᴛᴏ ꜱᴏʀᴛ'
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 |
|---|---|---|
[BETTERFIOEXTENSIONS] NEXT_PAGE | Moves the generated list to the next page. | Use this exact action name; it maps to a BetterFioExtensions handler. |
[BETTERFIOEXTENSIONS] PREVIOUS_PAGE | Moves the generated list to the previous page. | Use this exact action name; it maps to a BetterFioExtensions handler. |
[BETTERFIOEXTENSIONS] SORT | Cycles the menu sort mode for logs or leaderboard entries. | 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. |
[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 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. |
[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
- Generated entries use the deaths metric.
- Use
SORTand pagination for list control.
Source
This page is based on Team Menu/Leaderboard/deaths.yml from the BetterFioExtensions project.