StatCreditFix

v1.0.0·Updated 2026-09-18

Felled trees and food taken from cooking stations count towards your own stats and achievements in multiplayer and on servers with server-side simulation. Client-side only.

About this mod Author’s original text

StatCreditFix

Client-side mod for Valheim 1.0. Felled trees and food taken from cooking stations and ovens count towards

your own stats and achievements again when you play on a server.

The problem

Valheim records some player stats inside a network handler that runs only for the owner of the object:

  • felled trees (Tree stat, achievement The Lumberjack);
  • food taken from a cooking station or an oven (achievement The Master Chef, and through it Kings and Queens of Valheim).

On servers with server-side simulation mods the server owns these objects, so nobody gets the credit.

In plain co-op the same happens whenever another player owns the tree or the station.

What the mod does

  • When you hit a tree, your client takes ownership of that tree.
  • When you take finished food from a cooking station or an oven, your client takes ownership of that station.

It uses the game's own ownership handover (ZNetView.ClaimOwnership), the same mechanism the game uses for carts

and picked-up items. Stats, achievements, damage and drops are not modified. When you walk away, ownership

goes back to the server as usual.

Installation

Client-side only. The server does not need it, and other players can play without it.

  • Mod manager: install as usual.
  • Manual: put StatCreditFix.dll into BepInEx/plugins.

Configuration

BepInEx/config/qua8ion.valheim.statcreditfix.cfg

| Key | Default | Description |

|---|---|---|

| ClaimTrees | true | Take ownership of a tree when you hit it |

| ClaimCookingStations | true | Take ownership of a cooking station or oven when you take finished food from it |

| LogClaims | true | Write Took ownership of … to BepInEx/LogOutput.log |

Achievements with mods

Valheim does not count achievements while BepInEx is loaded. Enable them once per character in the F5 console:

yesiuseddevcommandsbutiwantmyachievementsanyway 1

How to check

Fell a tree on the server. In game: Compendium → Stats → category Any → Tree goes up by one.

On Steam the progress of The Lumberjack goes up as well.

Кратко по-русски

Клиентский мод. Возвращает зачёт срубленных деревьев и еды с жаровни и из печи в вашу статистику и ачивки

(The Lumberjack, The Master Chef, Kings and Queens of Valheim) при игре на сервере, особенно с серверной симуляцией.

При ударе по дереву и при снятии готовой еды ваш клиент становится владельцем объекта штатным механизмом игры.

Счётчики и ачивки мод не меняет. На сервер ставить не нужно.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_Valheim

File & checksum

Filename
StatCreditFix-1.0.0.zip
File size
7.3 KiB
SHA-256
e2778624539f2f5a2494be105611375d195688bd41d030af910292c116423de2
Stored at
2026-10-09 18:14