Skip to content

Commit 6a39825

Browse files
committed
feat(scoreboard): add group icons
1 parent a5d76da commit 6a39825

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pages/scoreboard/config.mdx

+2-1
Original file line numberDiff line numberDiff line change
@@ -181,14 +181,15 @@ type DUMMY =
181181
label: string; // Name of the group row shown in scoreboard
182182
groups: string[]; // Array of groups to include in this row's total count
183183
includeOffDuty?: boolean; // Include off-duty players in total count (overrides the global setting)
184+
icon?: string; // Icon shown before the name, must be a valid Iconify name
184185
}
185186
```
186187
187188
188189
189190
## statusIndicators
190191
Individual status indicators shown in the section.
191-
For more information on how to use custom icons, see the guide [here](./issues#status-indicator-icon-is-not-showing).
192+
For more information on how to use custom icons, see the guide [here](./issues#icons-are-not-showing).
192193
To learn how to change the state of these indicators manually, see the guide [here](./guides/status-indicators/manual).
193194
More information about automatically enabling indicators using groups can be found [here](./guides/status-indicators/group-trigger).
194195

pages/scoreboard/issues.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ You've downloaded the scoreboard source code instead of the *prebuilt* release.
77
This resource uses Svelte for the frontend, which requires a build step.
88
In case you don't know how to do this, just download the latest prebuilt version from the [releases page](https://github.com/antond15/ac_scoreboard/releases/latest).
99

10-
## Status indicator icon is not showing
11-
The icon must be a valid **Iconify** icon. You can find the list on [Icônes.js](https://icones.js.org/).
10+
## Icons are not showing
11+
Every icon must be a valid **Iconify** icon. You can find the list on [Icônes.js](https://icones.js.org/).
1212
Simply find your desired icon and copy it's name as shown in the example below.
1313
![Icon on Icones.js](/images/examples/ac_scoreboard/icones-icon.png)
1414

0 commit comments

Comments
 (0)