joinRequests.yml
Team Menu/joinRequests.yml is part of the BetterFioExtensions bundled menu configuration. Staff menu for approving or denying pending join requests.
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.
pending:
material: PLAYER_HEAD
name: "<yellow>Join Request: <white>%betterfioextensions_request_player%"
lore:
- "<dark_gray>ʀᴇǫᴜᴇꜱᴛꜱ"
- " "
- "<gray>ᴘᴇɴᴅɪɴɢ ᴊᴏɪɴ ʀᴇǫᴜᴇꜱᴛ ꜰʀᴏᴍ"
- "<gray>ᴛʜɪꜱ ᴘʟᴀʏᴇʀ."
- " "
- "<gold>| <white>ᴘʟᴀʏᴇʀ<dark_gray>: <gold>%betterfioextensions_request_player%"
- "<gold>| <white>ʀᴇǫᴜᴇꜱᴛᴇᴅ<dark_gray>: <gold>%betterfioextensions_request_age% ᴀɢᴏ"
- "<gold>| <white>ᴅᴀᴛᴇ<dark_gray>: <gold>%betterfioextensions_request_requested_at%"
- "<gold>| <white>ᴇxᴘɪʀʏ ɪɴ<dark_gray>: <gold>%betterfioextensions_request_expiry%"
- " "
- "<green>ʟᴇꜰᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴀᴄᴄᴇᴘᴛ"
- "<red>ʀɪɢʜᴛ-ᴄʟɪᴄᴋ ᴛᴏ ᴅᴇɴʏ"
actions:
left:
- '[BETTERFIOEXTENSIONS] ACCEPT_REQUEST'
- '[SOUND] UI_BUTTON_CLICK 1 1 master'
right:
- '[BETTERFIOEXTENSIONS] DENY_REQUEST'
- '[SOUND] UI_BUTTON_CLICK 1 1 master'
Click keys used here
any: Runs for any click type supported by the item.left: Runs only when the player left-clicks the item.right: Runs only when the player right-clicks 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] ACCEPT_REQUEST | Approves the selected join request. | Use this exact action name; it maps to a BetterFioExtensions handler. |
[BETTERFIOEXTENSIONS] DENY_REQUEST | Rejects the selected join request. | Use this exact action name; it maps to a BetterFioExtensions handler. |
[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. |
[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 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
- Request entries are generated from
join-requests.ymlruntime data. - Use accept and deny actions on different click keys or separate buttons depending on your layout.
Source
This page is based on Team Menu/joinRequests.yml from the BetterFioExtensions project.