{
  "type": "featherpanel.settings.category",
  "id": "status_page",
  "name": "Status Page",
  "description": "User-facing status page configuration",
  "icon": "activity",
  "setting_keys": [
    "status_page_enabled",
    "status_page_public_enabled",
    "status_page_show_node_status",
    "status_page_show_load_usage",
    "status_page_show_total_servers",
    "status_page_show_individual_nodes",
    "status_page_allow_iframe",
    "status_page_show_raw_values",
    "status_page_show_player_count",
    "status_page_servers_visible_by_default"
  ],
  "settings_count": 10,
  "settings": [
    {
      "key": "status_page_enabled",
      "constant": "STATUS_PAGE_ENABLED",
      "description": "Enable the user-facing status page",
      "type": "select",
      "required": true,
      "placeholder": "false",
      "validation": "required|string|max:255",
      "options": [
        "true",
        "false"
      ],
      "category": "status_page",
      "sensitive": false
    },
    {
      "key": "status_page_public_enabled",
      "constant": "STATUS_PAGE_PUBLIC_ENABLED",
      "description": "Allow unauthenticated users to access /status and /api/status publicly",
      "type": "select",
      "required": true,
      "placeholder": "true",
      "validation": "required|string|max:255",
      "options": [
        "true",
        "false"
      ],
      "category": "status_page",
      "sensitive": false
    },
    {
      "key": "status_page_show_node_status",
      "constant": "STATUS_PAGE_SHOW_NODE_STATUS",
      "description": "Show node status (healthy/unhealthy counts) on status page",
      "type": "select",
      "required": true,
      "placeholder": "true",
      "validation": "required|string|max:255",
      "options": [
        "true",
        "false"
      ],
      "category": "status_page",
      "sensitive": false
    },
    {
      "key": "status_page_show_load_usage",
      "constant": "STATUS_PAGE_SHOW_LOAD_USAGE",
      "description": "Show CPU, memory, and disk usage on status page",
      "type": "select",
      "required": true,
      "placeholder": "true",
      "validation": "required|string|max:255",
      "options": [
        "true",
        "false"
      ],
      "category": "status_page",
      "sensitive": false
    },
    {
      "key": "status_page_show_total_servers",
      "constant": "STATUS_PAGE_SHOW_TOTAL_SERVERS",
      "description": "Show total server count on status page",
      "type": "select",
      "required": true,
      "placeholder": "true",
      "validation": "required|string|max:255",
      "options": [
        "true",
        "false"
      ],
      "category": "status_page",
      "sensitive": false
    },
    {
      "key": "status_page_show_individual_nodes",
      "constant": "STATUS_PAGE_SHOW_INDIVIDUAL_NODES",
      "description": "Show individual node details on status page",
      "type": "select",
      "required": true,
      "placeholder": "false",
      "validation": "required|string|max:255",
      "options": [
        "true",
        "false"
      ],
      "category": "status_page",
      "sensitive": false
    },
    {
      "key": "status_page_allow_iframe",
      "constant": "STATUS_PAGE_ALLOW_IFRAME",
      "description": "Allow the status page to be embedded in an iframe (disables X-Frame-Options: SAMEORIGIN)",
      "type": "select",
      "required": true,
      "placeholder": "false",
      "validation": "required|string|max:255",
      "options": [
        "true",
        "false"
      ],
      "category": "status_page",
      "sensitive": false
    },
    {
      "key": "status_page_show_raw_values",
      "constant": "STATUS_PAGE_SHOW_RAW_VALUES",
      "description": "Show raw resource values (CPU core count, RAM in GB, disk in GB) alongside percentage values on the status page",
      "type": "select",
      "required": true,
      "placeholder": "false",
      "validation": "required|string|max:255",
      "options": [
        "true",
        "false"
      ],
      "category": "status_page",
      "sensitive": false
    },
    {
      "key": "status_page_show_player_count",
      "constant": "STATUS_PAGE_SHOW_PLAYER_COUNT",
      "description": "Show total online player count per node (sum of all players on all servers of that node)",
      "type": "select",
      "required": true,
      "placeholder": "false",
      "validation": "required|string|max:255",
      "options": [
        "true",
        "false"
      ],
      "category": "status_page",
      "sensitive": false
    },
    {
      "key": "status_page_servers_visible_by_default",
      "constant": "STATUS_PAGE_SERVERS_VISIBLE_BY_DEFAULT",
      "description": "Default \"Show on Status Page\" value for newly created servers. Existing servers are unchanged; set false to hide new servers from the public status page unless explicitly opted in.",
      "type": "select",
      "required": true,
      "placeholder": "true",
      "validation": "required|string|max:255",
      "options": [
        "true",
        "false"
      ],
      "category": "status_page",
      "sensitive": false
    }
  ]
}
