You are viewing a potentially older version of this package. View all versions.
Bagr-CrewStats-1.0.0 icon

CrewStats

Server statistics table for co-op: who mined, killed, cooked, ate, drank, travelled and died, counted on this server only. Open with F7 or a button next to the inventory.

By Bagr
Date uploaded a day ago
Version 1.0.0
Download link Bagr-CrewStats-1.0.0.zip
Downloads 3
Dependency string Bagr-CrewStats-1.0.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2350

README

CrewStats

Server statistics for a co-op Valheim server: who mined how much, killed what, cooked, ate, drank potions, travelled, died... Same DLL on the server and on every client.

What you get

  • A window with a table: one column per player, rows are the statistics. The leader of every row is gold and has the longest bar. Press F7 (or type /crew) to open it. There is also a small bar-chart button next to your inventory (below the Quick Stack / Sort buttons).
  • Five tabs: Combat, Gathering (mined rocks by tier, trees, crops, fish...), Craft & food (crafted, upgraded, cooked, food eaten, potions drunk, pieces built, animals tamed), Travel (walked, ran, sailed, portals, time in base, nights slept) and Deaths (by cause).
  • Three periods: Today, Last 7 days, All time.
  • Left/Right arrow keys change the tab and Up/Down the period; with the inventory open you can simply click them.

Counted on this server only

The game keeps counters for every character (mined rocks, kills, deaths, ...). Every player's game sends them to the server, and the server adds up only what changed while that player was connected to this server. Whatever a character did somewhere else (another world, single player) is not counted. The server writes it to BepInEx/crewstats.log as an OFFLINE line, so the admin can see it.

Potions drunk are counted by the mod itself, because the game has no counter for them.

What the server does

Nothing that touches the game: it only stores the numbers it receives (BepInEx/crewstats-data/stats.tsv, saved once a minute when something changed) and answers the window's requests. Every player sees the same table, so everybody knows what is shared.

Install

Install on the server and on every client (the Thunderstore package is the same). Players without it simply do not appear in the table.

Config

  • Window: Toggle key (F7), Scale.
  • Client: ReportSeconds (how often your game sends its numbers, only when something changed).
  • Server: LogFile.

Changelog

  • 1.0.0 first release.