跳到主要内容

friend_menu

Friend Menu — action entry.

Entry Information

PropertyValue
Entry IDfriend_menu
TypeAction
ColorGreen
Iconmdi: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

FieldTypeDescription
inventoryTitleVar<String>Title of the menu.
viewStringView mode: 'main', 'friends', 'requests'
inventoryRowsIntNumber of inventory rows (1-6).
guiTypeGuiTypeGUI type.
layoutPoolList<LayoutData>Pool of layout definitions. Items with buttonType are resolved dynamically.
mainLayoutIdString?ID of the main layout from the pool.
contentXIntX origin of the content panel where friend/request heads are injected (right side of a 4/1/4 frame).
contentYIntY origin of the content panel where heads are injected.
contentColumnsIntNumber of columns available in the content panel for heads.
contentRowsIntNumber of rows available in the content panel for heads.
emptySlotItemItemItem shown on a content slot that holds no friend or request yet, so the panel always reads as a grid.
audioGuiAudioDataAudio 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: ""