> For the complete documentation index, see [llms.txt](https://sbscripts.gitbook.io/sb-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sbscripts.gitbook.io/sb-scripts/sb-scoreboard/job-groups.md).

# Job Groups

The Active Jobs panel counts job groups. Each group can count one or more job names.

```lua
Config.Jobs = {
    [1] = {
        label           = 'LEO',
        jobs            = { 'police', 'sast' },
        icon            = 'shield-halved', -- name only, no "fa-" or "bi-" prefix
        iconLib         = 'fa',            -- 'fa' = Font Awesome, 'bi' = Bootstrap Icons
        color           = '#3b82f6',
        countOnDutyOnly = true,
    },
}
```

| Field             | What it does                                                        |
| ----------------- | ------------------------------------------------------------------- |
| `label`           | The name shown in the pill.                                         |
| `jobs`            | One or more QBCore or ESX job names to count.                       |
| `icon`            | Icon name, without the `fa-` or `bi-` prefix.                       |
| `iconLib`         | `'fa'` for Font Awesome or `'bi'` for Bootstrap Icons. Set per job. |
| `color`           | Hex colour for the pill.                                            |
| `countOnDutyOnly` | Only count players who are on duty.                                 |

Jobs appear as pills in the header, centred and wrapping to a new row every eight entries. You can add as many as you like.
