ZKMod is a Project Zomboid Steam Workshop Mod to collect and save player and world statistics on the server in CSV files.
Mod page on Steam: https://steamcommunity.com/sharedfiles/filedetails/?id=2733284288
Workshop ID: 2733284288 / Mod ID: ZKMod
You may configure or turn features off in <servername>_SandboxVars.lua. If you don't configure anything default values are used.
Example configuration:
SandboxVars = {
[...]
ZKMod = {
ServerSaveWorldEvery = 1,
ServerSaveWorldHistoryEvery = 2,
ServerSaveOnlinePlayersEvery = 1,
ServerSaveSafehousesEvery = 3,
ServerSaveFactionsEvery = 3,
ClientSendPlayerDataAliveEvery = 2,
ClientSendPlayerDataDeath = 1,
ClientSendEventLevelPerk = 1,
ClientSendPlayerPerksDataEvery = 3,
ClientSendPlayerInventoryDataEvery = 3,
ServerTimeOffsetMinutes = 120
},
}
Here's my Ko-fi: https://ko-fi.com/ikeserver Thanks in advance!
- Fixed Steam IDs being corrupted by reading the Java
longvalue as a Lua number; the string-returning username lookup is now used
- Build 42 CSV output now tries the normal
.csvpath first and falls back to an additional.txtextension, such asworld.csv.txt, when needed
- Fixed structure for Build 41
- Build 42 Multiplayer support
- Feature: player inventory saved once after connecting in addition to the periodic saving
- Fix: Weapon parts/magazines not saved correctly
- Feature: player inventory saved to playerinventory_(name).csv if ClientSendPlayerInventoryDataEvery is set
- Fix: String values containing " or ; were not escaped properly, possibly causing invalid CSV lines
- Feature: player perks saved to playerperks_(name).csv if ClientSendEventLevelPerk and/or ClientSendPlayerPerksDataEvery is set
- Feature: player_(name).csv: added injured, health, wetness, boredom, infectionLevel, fakeInfectionLevel
- Fix: worldData save not triggered
- Fix: Player safehouse data not saved correctly
- Feature: safehouses.csv: safehouse info
- Feature: factions.csv: faction info
- Feature: player_(name).csv: added faction info, safehouse info, favorite weapon name and hits
- all features can be configured or turned off in sandbox settings
- Feature: world(_history).csv: added extended weather data
- Feature: player_(name).csv: added isFemale
- Feature: events_history.csv: Saving player perk level ups (multiline)
- Feature: players_online.csv: Players currently online (single line)
- Fix: worldData.worldAgeDays incorrect
- new preview image
- collects player and game world statistics
- saves collected data to CSV files on the server