StatCreditFix

版本 v1.0.0·更新於 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.

模組介紹 作者原文

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) при игре на сервере, особенно с серверной симуляцией.

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

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

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
StatCreditFix-1.0.0.zip
檔案大小
7.3 KiB
SHA-256
e2778624539f2f5a2494be105611375d195688bd41d030af910292c116423de2
入庫時間
2026-10-09 18:14