category_menu
Category Menu Configuration — misc entry.
Entry Information
| Property | Value |
|---|---|
| Entry ID | category_menu |
| Type | Misc |
| Color | Blue |
| Icon | mdi:view-grid |
Description
Defines how the sort button displays for a given sort mode. / data class SortDisplayConfig( @Help("Sort mode this display applies to.") val mode: SortModeConfig = SortModeConfig.ALL, @Help("Item shown when this sort mode is active.") val item: Item? = null, @Help("Label shown when this sort mode is active. Supports MiniMessage.") @Placeholder @Colored val label: String = "", @Help("Additional lore lines. Supports MiniMessage and PlaceholderAPI.") @Placeholder @Colored val lore: List<String> = emptyList(), ) enum class SortModeConfig { ALL, NOT_STARTED, ACTIVE, COMPLETED, } /** Configures the menu for a specific quest category via declarative layout pools. Place a "SORT_SLOT" placeholder in your layout pool to have the sort button automatically injected at that position with per-mode display customization.
Fields
| Field | Type | Description |
|---|---|---|
category | String | Category this menu configuration applies to. Leave empty for main menu. |
title | String | Menu title shown to the player. Supports MiniMessage and PlaceholderAPI. |
rows | Int | Number of inventory rows (3-6). |
guiType | GuiType | GUI type. Use CUSTOM for fully custom layouts. |
audio | GuiAudioData | Audio configuration overrides for this menu. |
layoutPool | List<LayoutData> | Layout pool for declarative menu design. |
mainLayoutId | String | ID of the main layout within the layout pool to display. |
sortDisplay | List<SortDisplayConfig> | Per-mode display overrides for the sort button. Define one entry per sort mode. |
Usage Example
- entry: category_menu
name: "Category Menu Configuration"
category: ""
title: ""
rows: 0
guiType: ""
audio: ""
layoutPool: []
mainLayoutId: ""
sortDisplay: []