ModDoctor

版本 v1.1.0·更新於 2026-09-29

Finds which mod is breaking your game: traces errors to the mod behind them, silences log spam, flags updates, compares your mods with the server's and shows performance, with a server overview for ad

模組介紹 作者原文

Mod Doctor

Which mod is breaking my game? Mod Doctor answers that, in game, in plain words.

Big modpacks fail in confusing ways: a stack trace that only mentions InventoryGrid.UpdateGui, an

error repeated 30,000 times, a patch that silently failed at startup, a friend who joins with an older

version of one mod. Mod Doctor watches the game's errors, works out which mod caused each one, explains

what it means and what to do, and keeps an eye on your mods and your server.

Versão em português abaixo.

Quick start

  • Install it with your mod manager.
  • Play. If a mod starts causing errors, a notice tells you which one.
  • Press F7 for the full report.

Server owners: install it on the dedicated server too, to compare players' mods with the server's and

see every player's problems from the Server tab.

What it does

Diagnose

  • Traces every error to a mod, from its stack trace.
  • Finds culprits hidden inside game methods. When an error surfaces in a patched vanilla method

(DMD, no mod in sight), it asks Harmony which mods patched that method. If

one of them also failed to load part of itself, it is named as the likely culprit.

  • Catches startup failures, including those of mods that loaded before Mod Doctor (recovered from

the start of LogOutput.log).

  • Explains each problem: patch failed to apply, incompatible with this game version, error repeating

every frame, error in Valheim's own code, or harmless engine message.

  • Flags updates, highlighting the ones for mods that are causing problems.

Keep the log readable

  • After 20 identical copies of an error, repeats are no longer written to LogOutput.log; a one-line

"suppressed N more copies" summary is written every minute instead.

Compare with the server

  • When you join, the server compares your installed mods with its own: missing, different

version, or only yours (normal for client-side mods such as UI, camera or clock).

  • Also warns about a mod installed twice (e.g. a manual copy next to the mod manager's copy).

Measure

  • FPS, 1% low FPS, worst frame, memory and garbage collections.
  • World objects around you, grouped by type: thousands of one building piece or dropped items are

the usual cause of lag in big bases.

  • The slowest mods to load.
  • Mod Doctor's own cost, so you do not have to take its lightness on faith. In our testing it stays

around 0.01 ms per frame; performance numbers are only sampled while the window is open.

Server overview (admins)

  • Server health (uptime, FPS, memory, objects, players online) and, for every player, their mod

differences and their problems, in game. Also written to BepInEx/ModDoctor/summary.txt.

The window (F7)

| Tab | What it shows |

|---|---|

| Problems | One card per mod, coloured by severity, with the error, where it happened, the mods involved, what to do and any update available |

| Mods | Your mods vs the server's, mods installed twice, slowest mods to load |

| Performance | FPS, memory, garbage collections, world objects around you, Mod Doctor's own cost |

| Server | Admins on a dedicated server: server health and every player's differences and problems |

The window uses Valheim's own fonts and follows the game's language (English or Portuguese).

Examples

A problem, as written to report.txt:

== TeleportEverything 2.9.1 (OdinPlus-TeleportEverything) ==

  • Incompatible with this game version (443x, ~85/s)

BadImageFormatException: Expected reference type but got type kind 17

Where: InventoryGrid.UpdateGui

Mods patching this method: TeleportEverything 2.9.1, Equipment and Quick Slots 3.1.3

Pinned on this mod because it is the only one of them that also failed to load part of itself.

The mod expects game code that no longer exists (built for an older Valheim). Update it; if

there is no update, remove it.

  • Patch failed to apply (1x)

ArgumentException: Undefined target method for patch method... GetTooltip_Patch::Postfix(...)

Where: TeleportEverything.Plugin.Awake

A player's mods compared with the

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
ModDoctor-1.1.0.zip
檔案大小
159.4 KiB