Server Configuration/Stats.eco
From Eco - English Wiki
Controls reading and writing statistics information to the stats database. Disabling these will cause issues with the web interface.
The settings in this file can be accessed in-game by using the /serverui command and navigating to System -> Stats
| Setting | Default | Description |
|---|---|---|
BlockBulkActions
|
false
|
Blocks bulk recording of actions which can help reduce crashes caused by a bug in the LiteDB that mostly occur on larger servers, but may lead to some data no longer being available for civic features. |
StatsGroupingDays
|
2
|
How old records can be grouped. It means it will try to process all last X days of records to group them. Usually you want to have this number low (1-2) in order to avoid process already processed records, but you can set high value (by example world age) in order to process at once all records from some old save with disabled grouping. |
MaxRecordsToGroup
|
500000
|
Max count of records that will be processed at once hourly. For reference, server with 100 players may reach 1,000,000 records per day. Usually 500,000 (default) should be enough, but you may want to tweak it if you have a ton of records or if you are facing lag while it groups records. |
KeepDetailsHours
|
3
|
Most recent records won't be processed in order to have more exact values for laws like 'Users who in last 1 hour claimed plots...". You may way to teak this value to increase this support. |
RebuildDatabaseOnExit
|
true
|
If enabled, rebuilds database file at the moment of exiting the application. It may reduce space of stats file, but it will increase the time needed to exit. |
GroupingLevel
|
GroupByEssentialFields
|
Level of grouping data. Essential fields means only citizen, i.e., it may group action of 'drop rubble' and 'drop garbage' for same citizen.
Valid values: |