About DiagnoseServerLag
From ThunderstoreNames the cause of lag instead of guessing. Measures your client and the server once a second and tells you which it is: starved server, saturated link, packet loss, object churn, world loading, or your own machine.
Diagnose Server Lag
Says which kind of lag you actually have, instead of guessing.
"The server is lagging" covers six unrelated failures. They feel identical while playing — the game goes sticky — and they have nothing in common but that. A starved server, a saturated link, a lossy connection, an overloaded base, a world still loading and a computer that cannot keep up each need a different fix, and picking the wrong one costs an evening. Worse, the measurement people reach for first actively misleads: a frame-rate counter reads perfectly fine while the server burns, because your machine has nothing to struggle with when the updates never arrive.
This mod measures both ends once a second, and names the cause.
What it tells you
Press F8 and the report opens with a verdict in plain language, the evidence it was decided from, and what is actually worth doing about it. For example:
> The server is badly starved: 84 ms per tick sustained (12 per second). > Nothing on your machine will change this, and it is happening to everyone online at the same time. > > - tick 91.2 ms now, 84.4 ms median over the server's last 60s > - worst single tick in that window 340 ms > - 47 server stalls over the window > - 18,402 networked objects in the world, 612/s sent to 3 players
or
> Packets are being lost: connection quality 91.4%. > This is the network path, not the server and not your computer, so neither restarting the server nor turning settings down will touch it.
The six causes it separates:
| Cause | What proves it | |---|---| | Server starved | The server's own tick times, which a client cannot see at all | | Link saturated | Bytes handed to the socket that have not left, and whether that number is climbing | | Connection quality | Steam's measured packet-loss fraction, and ping jitter judged apart from latency | | Object churn | Object updates per second against this server's own recent normal | | World loading | Objects being built into the scene at the moment the frame stalled | | Your machine | Frame times, but only claimed once the other five have been measured and ruled out |
It also reports creatures nobody owns. Vanilla hides an ownerless creature, runs no AI for it and drops every hit on it, so one can be stood on and neither seen nor killed. The unowned line says how many there are, how many are out of ownership range, how many are transient ZDOs the game will never hand over, and how far off the nearest one is.
More than one can be true at once and often is — a saturated link and heavy churn are usually one event seen from two ends — so the report ranks them and shows the rest under the headline.
Why it needs the server
The server half is the point of the mod. A client watching itself can tell you the game feels bad; only the server's own tick times can tell you whether the server was keeping up at the time, and that is the single measurement that decides whether anything on your machine is worth changing.
Without it the mod still works and still finds link saturation, packet loss, churn and loading — it simply cannot rule the server in or out, and it says so rather than quietly guessing:
> The server is not running this mod, so it cannot be measured. Every verdict below is made from this machine's side alone, and "the server was fine" is the one thing it cannot tell you.
Installation
Install on the server and on every client (Gale, r2modman or Thunderstore Mod Manager, or drop DiagnoseServerLag.dll into BepInEx/plugins). Keep the same version everywhere.
- Server without the mod: clients diagnose their own end and say the server half is missing. Nothing breaks.
- Client without the mod: that player gets no report. Everyone else is unaffected.
- Hosting the world yourself: both halves are the same process, and the server numbers are read directly with no asking involved.
Works on Windows and Linux dedicated servers. Requires BepInExPack for Valheim.
Keys (configurable)
| Key | Does | |---|---| | F8 | Open and close the report. Escape closes it too. | | F7 | Turn the corner readout on and off. |
There is also a pause toggle in the report's top-right corner, the same mark used on the large map and GrabMaterials' inventory panel: gray when off, Valheim orange while the game really is paused, red with a slash when the pause was asked for and refused. It is off by default.
Pausing matters more here than on those other panels, because this one reports on the very thing a pause changes. While the game is paused the mod stops recording. A paused world simulates nothing, so frames get cheap and the link goes quiet — recording those seconds would let the report work its way round to "nothing wrong right now" while you sat reading it. Instead a pause freezes the evidence, which is what you want when you paused to read why the last minute was bad. The report says so while it is held.
The pause goes through vanilla's own calls, so it works by itself solo or hosting alone; on a dedicated server it takes Pause My Server, and the button tells you whether it actually took.
F8 is free in vanilla Valheim. It replaced F10 in 0.1.1, which clashed with AutomaticFuel's default; if you installed 0.1.0 the mod moves your config over for you, unless you had already chosen a key of your own.
The readout is six lines, on by default, with the worst one colored:
frames 10 ms 103/s
stalls 0 in 10s
cpu 45% of a core
round trip 18 ms
simulating 41/44 (Marco has 3)
server 33.3 ms 412669 objHighlights
From source dataLoaders
Runs on BepInEx.
Footprint
Rated a light load on a server.
Last update
Its author last shipped an update 8d ago.
DiagnoseServerLag on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
- Server side
- Optional on the server
- Server type needed
- BepInEx
- Server load
- light
- Smallest plan we suggest
- Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 0.10.25, released 2026-11-23
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| BepInEx |
From 30 recorded builds of DiagnoseServerLag.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 0.10.25 | 2026-11-23 | n/a | BepInEx |
| 0.10.24 | 2026-11-23 | n/a | BepInEx |
| 0.10.23 | 2026-11-19 | n/a | BepInEx |
| 0.10.22 | 2026-11-12 | n/a | BepInEx |
| 0.10.21 | 2026-10-29 | n/a | BepInEx |
| 0.10.20 | 2026-10-27 | n/a | BepInEx |
Dependencies
- Required: BepInExPack Valheim
Declared by the newest build that lists any. Required ones are installed with it on one-click installs.
Run DiagnoseServerLag on a Valheim server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogPerformance
Makes the game or server run faster or lighter without changing how it plays.
Works on a server
From source side supportThunderstore lists server-side support for DiagnoseServerLag as optional: it can run on a server, but isn’t required there.
Compatibility
- Game
- Valheim
- Loaders
- BepInEx
- Runs on
- Serveroptional on the server
- Requires
- One-click install needs a BepInEx server.
Verified at the source
- ✓ThunderstoreOfficial listing, checked 2026-11-23Open ↗
- ✓AuthorDeathMonger, as published on Thunderstore
- ✓LicenseNot published by the sourceFree






