Once you've added statistics, you can use aggregations to perform calculations on this data. This is useful for tracking server-specific information such as the custom currency within your server.
Adding an Aggregation
If you haven't already, you'll need to add the statistic you wish to aggregate on. Once this is done head to your servers settings page by:
- Going to your dashboard.
Settingson the server you wish to add this to.
Then scroll down until you find the following section:
Clicking the Add button will provide the following menu:
Here you can configure what your aggregation should do, with the following options:
Title: The display name for this aggregation.
Statistic: Which statistic do you want to use.
Aggregation Type: What calculation should be done on this statistic.
SUM: Add up all the amount.
AVERAGE: Find the most common amount.
You can also select the Advanced Options dropdown which provides the following:
These options aren't required but allow for:
Data Prefix: What should we show in front, e.g.
Data Suffix: What should we show at the end, e.g.
Filter Duration: How far should be aggregated upon.
Anytime: Calculate on all players.
Last 24 days: Calculate on players that logged in within the last 24 hours.
Last 7 days: Calculate on players that logged in within the last 1 week.
Last 14 days: Calculate on players that logged in within the last 2 weeks.
Last 30 days: Calculate on players that logged in within the last month.
Filter From: Only calculate on players with at least this amount.
Filter To: Only calculate on players with at most this amount.
Once done, press Add and go to your servers dashboard, you'll now see your new aggregation.