tycoon_menu
Tycoon Control Panel (4│1│4 sidebar menu) — action entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | tycoon_menu |
| Type | Action |
| Color | Orange |
| Icon | fa6-solid:table-list |
Description
Opens the Tycoon Control Panel — a single FrameLayout 4│1│4 menu (sidebar tabs | nav | content) cloned from the BTCSky control-panel pattern. The page's [layoutPool] must contain a [FrameLayoutData] with three frames: sidebar, nav, content. The content frame's layout is resolved dynamically as "${tabId}_content", so every tab renders inside the same window. Sidebar buttons use the tycoon_tab: prefix (active highlight); content buttons use tycoon_button: (dynamic data). Sub-views are addressed as <tabId>:<context> (e.g. research:reptiles) — content layout <tabId>_content, context passed to the resolver as subviewArg, the parent tab stays highlighted. @since 0.2.0
Fields
| Field | Type | Description |
|---|---|---|
inventoryTitle | Var<String> | Menu title (default). Each tab may override via tabTitles. |
tabTitles | Map<String, String> | Per-tab title overrides. Key = tabId, value = MiniMessage title. Falls back to inventoryTitle. |
inventoryRows | Int | Rows (1–6). |
guiType | GuiType | GUI type. |
tabId | String | Default tab opened when none is specified. |
layoutPool | List<LayoutData> | Layout pool (FrameLayout + sidebar + nav + per-tab content). |
mainLayoutId | String? | Main layout id (flat fallback when no FrameLayout is present). |
audio | GuiAudioData | Audio. |
Usage Example
- entry: tycoon_menu
name: "Tycoon Control Panel (4│1│4 sidebar menu)"
inventoryTitle: ""
tabTitles: ""
inventoryRows: 0
guiType: ""
tabId: ""
layoutPool: []
mainLayoutId: ""
audio: ""