Annotation Interface StatisticsProvider
Method annotation to provide a
Statistics.
Usage: @StatisticsProvider Statistics method(UUID playerUUID)
Used for key-number statistical data.
It is recommended to place each statistics set on their own tab with a Tab annotation on the same method.
Requires capability DATA_EXTENSION_STATISTICS_API.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionFamily of Font Awesome icon.Name of Font Awesome icon.Determine the color of the table header.
-
Element Details
-
tableColor
Color tableColorDetermine the color of the table header.- Returns:
- Preferred color. If none are specified defaults are used.
- Default:
NONE
-
iconName
String iconNameName of Font Awesome icon.See FontAwesome (select 'free')) for icons and their
Family.- Returns:
- Name of the icon, if name is not valid no icon is shown.
- Default:
"square-poll-horizontal"
-
iconFamily
Family iconFamilyFamily of Font Awesome icon.See FontAwesome (select 'free')) for icons and their
Family.- Returns:
- Family that matches an icon, if there is no icon for this family no icon is shown.
- Default:
SOLID
-