friend_menu
Friend Menu — action entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | friend_menu |
| Type | Action |
| Color | Green |
| Icon | mdi:account-multiple |
Description
Action entry that opens a Friend menu using the GUI extension's layout pool system. Items with buttonType from [FriendButtonType] are resolved dynamically. Dynamic content (friend heads, request heads) is injected at runtime. Parameters: - view: "main" (default), "friends", "requests" — determines which dynamic content to inject - playerFilter: optional parameter for filtering (used by friend TP, remove actions)
Fields
| Field | Type | Description |
|---|---|---|
inventoryTitle | Var<String> | Title of the menu. |
view | String | View mode: 'main', 'friends', 'requests' |
inventoryRows | Int | Number of inventory rows (1-6). |
guiType | GuiType | GUI type. |
layoutPool | List<LayoutData> | Pool of layout definitions. Items with buttonType are resolved dynamically. |
mainLayoutId | String? | ID of the main layout from the pool. |
contentX | Int | X origin of the content panel where friend/request heads are injected (right side of a 4/1/4 frame). |
contentY | Int | Y origin of the content panel where heads are injected. |
contentColumns | Int | Number of columns available in the content panel for heads. |
contentRows | Int | Number of rows available in the content panel for heads. |
emptySlotItem | Item | Item shown on a content slot that holds no friend or request yet, so the panel always reads as a grid. |
audio | GuiAudioData | Audio configuration. |
Usage Example
- entry: friend_menu
name: "Friend Menu"
inventoryTitle: ""
view: ""
inventoryRows: 0
guiType: ""
layoutPool: []
mainLayoutId: ""
contentX: 0
contentY: 0
contentColumns: 0
contentRows: 0
emptySlotItem: ""
audio: ""