Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
CrewStats
Server statistics for co-op: kills by creature, ore and wood by type, awards, death log and boss chronicle, counted on this server only. Open with F7 or a button next to the inventory.
By Bagr
| Last updated | 6 hours ago |
| Total downloads | 166 |
| Total rating | 0 |
| Categories | Server-side Client-side Utility AI Generated |
| Dependency string | Bagr-CrewStats-1.4.1 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
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.2350README
CrewStats
Server statistics for a co-op Valheim server: who killed what, mined which ore, cooked, ate, drank potions, travelled and 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 (in the column of tabs beside it, between Trash and the weight). - Ten tabs:
- Combat: kills, killing blows, bosses, hits dealt and taken, arrows, deaths, attacks blocked, perfect blocks (parries), dodge rolls and damage dealt by type (physical, fire, frost, lightning, poison, spirit).
- Gathering: rocks mined, trees, logs, crops, berries, mushrooms, fish.
- Ore & more: ore, stone and wood by type, named exactly as in the game (copper, tin, iron, silver, black metal scrap, flametal, Petrified Tissue, stone, flint, coal, obsidian, black marble, grausten, ice, all the woods). Long lists scroll with the mouse wheel and can be searched.
- Craft & food: crafted, upgraded, cooked, food eaten, potions drunk, pieces built, animals tamed.
- Travel: time online (measured by the server), walked, ran, sailed, portals, time in base (resting in a shelter by a fire, the game's own counter), nights slept.
- Creatures: kills per creature (every creature that was killed, in your language), with search and a scrollbar.
- Deaths: by cause, plus the latest deaths with the killer and the biome.
- Bosses (new in 1.4.0): the latest boss fights from DamageMeter on the server: when, killed or not, how long, damage and share of every player, deaths, plus the damage records per boss. Click a fight for the full table (damage, share, DPS, biggest hit, taken, blocks, parries, deaths, weapon). Needs DamageMeter on the server.
- Trips (new in 1.4.0): expeditions (DamageMeter 3.4+) and big combat sessions with where they happened (DamageMeter 3.5+), kills, damage per player and what was killed. Click one for the full table and the complete list of what was killed.
- Awards: a title for the leader in each discipline (Slayer, Boss hunter, Miner, Lumberjack, Explorer, Chef, Blacksmith, ...), the Legendary life (most kills without dying), the boss chronicle and each player's nemesis.
- Three periods: Today, Last 7 days, All time.
- The window is a solid panel and works with the mouse. It opens together with the inventory (opened for you if needed, because the game only frees the mouse for its own screens) and is drawn on top of it. You click the tabs and the periods, and you can drag the window by any empty part (double-click an empty part to center it; the position is saved), and X or F7 closes it (and the inventory, if CrewStats opened it). Left/Right arrow keys still change the tab and Up/Down the period.
Counted on this server only
The game keeps counters for every character (kills, deaths, food eaten, ...). 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. A quick reconnect (under 3 minutes) is the same session.
How things are counted
- Kills, deaths, distances, crafts, ... come from the game's own raw counters of your character.
- Ore, stone and wood are counted by the mod when you pick up a fresh item from the ground. Items you dropped yourself and pick up again are not counted twice, and stacking into an existing pile does not lose anything (the game's own pickup counter does).
- Potions drunk, deaths (killer, place), blocks, parries, dodge rolls and damage by type are counted by the mod too, because the game has no counter for them. Damage is what your hits carry before the target's resistances.
- Mined-rock "tiers" and the unreliable "Treasure found" counter were removed.
- Your last seconds of play are sent when you log out.
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), measures time online 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. A 1.0 client keeps working with a 1.1 server for the numbers it sends, but only 1.1 shows the new window.
Config
- Window:
Toggle key(F7),Scale. - Client:
ReportSeconds(how often your game sends its numbers, only when something changed; default 30). - Server:
LogFile.
Changelog
- 1.4.1 the window can be dragged (position saved in the config, double-click an empty part to center it); the inventory button moved into the tab column (between Trash and the weight) and looks like the other buttons.
- 1.4.0 (window) the window opens together with the inventory and sits on top of it: the mouse is free and clicking works (before, the cursor was pulled back to the middle of the screen). Without CrewStats 1.4 on the server the Bosses and Trips tabs show a note.
- 1.4.0 Bosses and Trips tabs: boss fight history, boss records, expeditions and big fights, read from DamageMeter's files on the server (the server needs the new CrewStats and DamageMeter for them).
- 1.3.0 Combat tab: blocks, parries, dodge rolls and damage by type; Creatures and Ore tabs scroll (mouse wheel) and have a search box; item names are taken from the game (Gold ore is Petrified Tissue); removed the confusing "In the air" and "Time out of base" rows; awards for blocks, parries, rolls and damage.
- 1.2.0 opaque window controlled by the mouse (free cursor, clickable tabs and periods, X button, no accidental attacks while it is open); new icon.
- 1.1.0 ore, stone and wood by type; Creatures and Awards tabs; latest deaths with killer and biome; boss chronicle; nemesis; Legendary life; time online measured by the server; stats are sent when you log out and a quick reconnect no longer counts as "played elsewhere"; reads the raw character counters directly.
- 1.0.1 the inventory button sits directly under the Quick Stack / Sort / Restock buttons.
- 1.0.0 first release.