This file contains the configuration json of the player page of superstats web addon.
This file contains a list in json format of each of the data to be displayed on the player page.
Example:
-
{ "general-stats": [ { "name":"Player:", "stats":"player", "type":"string", "server":"all" }, { "name":"Rank:", "stats":"luckperms_primary_group_name", "type":"color", "server":"all" } ], "server-stats": [ { "name":"Survival", "server":"survival", "background-image":"https://i.pinimg.com/originals/83/e2/28/83e228264ce6decf0a9461084a3ca3bd.png", "stats-list": [ { "name":"Clan:", "stats":"clans_name_color", "type":"color", "server":"all" }, { "name":"Money:", "stats":"vault_eco_balance", "type":"integer", "server":"all" } ] }, { "name":"KitPVP", "server":"kitpvp", "background-image":"https://mundopixels.net/stats/assets/kipvp.jpg", "stats-list": [ { "name":"Kills:", "stats":"kitbattle_kills", "type":"integer", "server":"all" }, { "name":"KillStreak:", "stats":"kitbattle_killstreak", "type":"string", "server":"all" } ] } ] }
Nodes configuration.
general-stats:
- List of Stats nodes configuration.
- Example:
-
{ "name":"Clan:", "stats":"clans_name_color", "type":"color", "server":"all" }, { "name":"Money:", "stats":"vault_eco_balance", "type":"integer", "server":"all" }
-
- List of statistics nodes.
server-stats:
- List of Server stats nodes configuration.
- Example:
-
{ "name":"Survival", "server":"survival", "background-image":"https://i.pinimg.com/originals/83/e2/28/83e228264ce6decf0a9461084a3ca3bd.png", "stats-list": [ { "name":"Clan:", "stats":"clans_name_color", "type":"color", "server":"all" }, { "name":"Money:", "stats":"vault_eco_balance", "type":"integer", "server":"all" }, { "name":"Kills:", "stats":"statistic_player_kills", "type":"integer", "server":"all" }, { "name":"Deaths:", "stats":"statistic_deaths", "type":"integer", "server":"all" }, { "name":"ClaimBlocks:", "stats":"griefprevention_remainingclaims", "type":"integer", "server":"all" }, { "name":"First job:", "stats":"jobsr_name_1", "type":"string", "server":"all" } ] }
-
- List of statistics section nodes.
Server Stats nodes configuration.
name:
- Any string value.
- Example: Survival
- The name of the section.
server:
- Any string value.
- Example: survival
- The name of the server for the section.
background-image:
- Any string value.
- Example: https://i.pinimg.com/originals/83/e2/28/83e228264ce6decf0a9461084a3ca3bd.png
- The background image of the section.
stats-list:
- List of Stats nodes configuration.
- Example:
-
{ "name":"Clan:", "stats":"clans_name_color", "type":"color", "server":"all" }, { "name":"Money:", "stats":"vault_eco_balance", "type":"integer", "server":"all" }
-
- List of section statistics.
Stats nodes configuration.
name:
- Any string value.
- Example: Referrals:
- The name of the statistic to display.
stats:
- Any string value.
- Example: rs_referrals
- The placeholder identifier of the statistic to display.
type:
- Any string value.
- Example: integer
- The type of data to display.. (string, color, integer, decimal).
- string: Displays the data in plain text format.
- color: Displays the data in text format with colors.
- integer: Displays the data in integer number format.
- last-time: Show data in elapsed time
- time-ticks: Displays the total tick time in a human-readable format.
- decimal: Displays the data in decimal number format.
server:
- Any string value.
- Example: all
- To display data saved by servers.