You are viewing a potentially older version of this package. View all versions.
dcarrigg-BuildStats-1.0.1 icon

BuildStats

Press F7 for a table of what each player has built and the resources they used. Install on the server too to share it.

Date uploaded a week ago
Version 1.0.1
Download link dcarrigg-BuildStats-1.0.1.zip
Downloads 21
Dependency string dcarrigg-BuildStats-1.0.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 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.2360

README

BuildStats

Press F7 in game for a table of what each player has built and the resources they used.

  • Things built: every piece placed, per player (walls, floors, workbenches, ...)
  • Resources used: materials spent, per player. Filter by Building, Crafting or All.

Each player gets a column, with a total on the right and a totals row at the bottom. Drag the window by its title. F7 or Esc closes it.

Multiplayer and dedicated servers

Install BuildStats on the server as well as on each player's game. The server keeps the totals for every player, saves them, and sends the table to everyone who joins.

  • Totals are saved per world in BepInEx/config/BuildStats/<world>.tsv on the server (or on the host, for a hosted or single-player game).
  • The first time it runs on a world, it counts every piece already built and the building materials those pieces cost. Names come from beds, wards and tombstones in the world, and from anyone who joins the server (with or without BuildStats). Builders it still can't name show as Unknown 1, Unknown 2, ... Crafting is only counted from then on.
  • Works in single player and when you host from the game too: your game is the server.
  • If the server doesn't have BuildStats, the window still works but shows only your own builds from the current session.

What counts

  • A piece counts when you place it. Terrain edits with the hoe or pickaxe don't count.
  • Resources count when they're taken from your inventory: placing pieces, and crafting or upgrading items at a station.
  • Nothing counts while no-cost mode is on.

Install

Use r2modman or Thunderstore Mod Manager. It installs BepInExPack_Valheim for you.

To install by hand, set up BepInExPack_Valheim and drop BuildStats.dll into BepInEx/plugins, on the server and on each player's game.

Config

Settings are in BepInEx/config/dcarrigg.buildstats.cfg, or the config editor in your mod manager.

  • ToggleKey (default F7): opens and closes the window.
  • CountCrafting (default on): also count materials used for crafting.