
You are viewing a potentially older version of this package. View Latest Version
DamageMeter
Boss fight stats and an inventory log for co-op: damage, taken, blocks, parries, deaths per player, shown after each boss kill. Same DLL on server and clients.DamageMeter
Boss fight stats and an inventory log for a co-op Valheim server. Same DLL on the server and on every client.
What you get
- After every boss kill a table is shown on screen (about 25 s) and in the chat: damage dealt (with % and DPS, max hit), damage taken, damage blocked, number of blocks, perfect parries, deaths, an "other / DoT" line and a few joke awards. Players without the mod show as "n/a". A death recap line says what killed whom.
- Server log
BepInEx/dmgmeter.log: BOSS lines with the full table, MOB lines for bigger fights, DEALT lines every 5 minutes, INV lines (see below). History and records are kept inBepInEx/dmgmeter-data/. - Chat / F5 console command
/dmeter(not/dmg, that name is used by Server devcommands):last,top [damage|taken|blocked|parry|deaths],me,records,peers,inv [name]. - Inventory log (new in 1.3.0): every client reports a snapshot of its inventory and AdventureBackpacks backpack at login and whenever it changes. The server logs what changed since that player was last seen, so you can tell what was gained or lost between two logins. Players are told about this in the chat at login. Turn it off with
ReportInventory = falsein the client config.
How it works
- Damage dealt is measured on the client that owns the creature (after armor and resistances), so it is the real HP removed. Taken, blocked, parries, deaths and inventory are measured by each player's own game.
- Everything goes to the server over the game's own routed RPC; the server builds the table and sends it back to all players.
- Older versions (1.0 and 1.1) keep working with a 1.3 server; they just report less.
Notes
- Poison and fire ticks have no attacker in the game; they are credited to the last player who applied fire or poison to that creature (1.2+), otherwise counted as "other / DoT".
- Items inside backpacks other than AdventureBackpacks are not included.
Changelog
- 1.3.0 inventory and backpack snapshots with a login diff on the server,
/dmeter inv, notice in the chat. - 1.2.0 awards, death recap, history and records,
/dmetercommands, DPS and max hit, DoT credited to the last applier. - 1.1.0 boss summary table (dealt, taken, blocked, blocks, parries, deaths, other/DoT), stars fix.
- 1.0.0 first release (damage dealt only).