Project Zomboid

Project Zomboid

Not enough ratings
ZKMod Data Collector
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
271.814 KB
27 Jan, 2022 @ 8:24am
24 Nov, 2022 @ 6:24am
9 Change Notes ( view )

Subscribe to download
ZKMod Data Collector

In 1 collection by IkeC
Mods auf ikeserver.de
96 items
Description
Collects and saves world and player data on your server in CSV files.

Click here for full documentation[github.com]

Tested and working on 41.78 SP and MP. Please leave a thumbs up if useful.

Workshop ID: 2733284288
Mod ID: ZKMod
7 Comments
IkeC  [author] 24 Nov, 2022 @ 1:28pm 
The idea is to have current player and game world data available in an easy to read format, for example to display that info on a website or for a Discord bot. You can see some example output in the #bot channel on my Discord.

I don't know what you mean by exploration data. The position coordinates of players and safehouses are saved, but there's no map or anything like that.
3lfu84 24 Nov, 2022 @ 10:49am 
@IkeC Sorry if my questions are trivial or stupid: 1 What is the purpose of the mod? 2 Does it work for Exploration data?
IkeC  [author] 10 Feb, 2022 @ 6:01am 
All data collectors can be configured or turned off in the latest version.
IkeC  [author] 7 Feb, 2022 @ 12:53am 
That works pretty much as expected then, with standard DayLength=3 there will be 144 EveryTenMinute-saves in a real hour. I'll have a look into making this configurable for the next version.

However, I'm only reading a few objects directly exposed through Lua and not eg. reading database files directly, so I would be surprised if this mod was the cause of your problem.
Knuckle farmer 7 Feb, 2022 @ 12:37am 
yeah I'm not sure if some how a variable got changed or a digit left off or what but I'm seeing a save event every 30 seconds for players_online.csv and world.csv. I'm pretty sure this is indirectly causing a SQLITE error that makes the db inaccessible for longer than it should be resulting in map data not being sent to players.
IkeC  [author] 6 Feb, 2022 @ 11:40pm 
No, at the moment values are read and/or written either every ten in-game minutes or every in-game hour. The impact should be rather small though. What would you prefer?
Knuckle farmer 6 Feb, 2022 @ 2:31pm 
is there a way to reduce how often this read/writes?