Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
DiagLayer
Read-only diagnostics, world probes, event logs, and player report collection for modded Valheim servers and clients.
| Last updated | 3 hours ago |
| Total downloads | 10 |
| Total rating | 0 |
| Categories | Mods Server-side Client-side Utility Deep North Update |
| Dependency string | Talent-DiagLayer-0.1.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2351README
DiagLayer
Bugs in a modded Valheim server are hard to track down. By the time someone mentions that items went missing from a chest or terrain looks wrong for them, the logs are usually buried or missing the server's side of what happened. DiagLayer records what's happening on both the clients and the server, so you can pull a full report from chat right when you notice a bug.
What to expect
- Read-only. DiagLayer doesn't change gameplay, items, terrain, or how any other mod works. It only watches and logs.
- Nothing is sent on its own. A report is only sent to the server when you use one of the chat commands below.
- No other mods needed. You only need BepInExPack_Valheim. If you have CrossModCompat installed, DiagLayer will also log its chest and crafting events.
- Windows and Linux. Supports Windows clients and dedicated servers running either Windows or Linux.
What it records
- Chests and inventory. Chests loading, saving, refreshing, and changing owners, as well as when a player who doesn't own a chest overwrites it with an older copy. It also tracks items moving in and out of your inventory so you can tell if something actually disappeared.
- World probe. When you run a report, DiagLayer takes a snapshot of the area around you on both your client and the server. That covers terrain edits, which mods are patching terrain, nearby wards and base areas, creatures, and synced objects.
- Mod errors. Errors from all of your installed mods (without duplicates), along with the events that happened right before them.
- Crash recovery. If your game crashes or you disconnect before you can run a report, you can log back into the same world and still send the report from before the crash.
Install
Use either method:
- Mod manager (Gale recommended): install DiagLayer like any other mod, and let it install the dependencies for you.
- Manual: install BepInExPack_Valheim. After that, just extract the archive so that the dll is located at
BepInEx/plugins/DiagLayer/DiagLayer.dll.
Install it on the server too if you want reports to include the server's side. Once installed, just restart your game/server.
Collect a report
- When you notice a bug, type
/dl_markfollowed by a short note, for example/dl_mark chest showed old items. This saves the recent events and item movement from around that moment. - Type
/dl_reportto save a full report and copy it to your clipboard. If the server allows it (seeServer report accessbelow), the report will also include the server's side. - If your game crashes before you can run
/dl_report, log back into the same world and type/dl_report lastto get the report from the previous session.
Settings
The settings for this mod are under [Diagnostics] in BepInEx/config/DiagLayer.cfg. Restart your game/server after changing any of them.
| Setting | Default | Set it on | What it does |
|---|---|---|---|
Enabled |
true |
Client, server | Turns event recording and the chat commands on or off. If this is off, the other settings do nothing. |
Directory |
empty | Client, server | Where reports and logs are saved. If left empty, it uses BepInEx/DiagLayer. Otherwise, set an absolute path. |
Server report access |
Admins |
Server | Who gets the server's side of the report when they run /dl_report: Nobody, Admins (players in adminlist.txt), or Everyone. |
Send reports to server |
true |
Client | If this is on, /dl_mark and /dl_report also send your report to the server. Turn this off to keep reports on your own computer. |
Accept player reports |
true |
Server | If this is on, the server saves the reports players send. Turn this off to refuse them. |
What a report shares
A report includes your character name, Steam or platform ID, installed mod list, recent game events, world probe, and mod errors. Before anything is sent to the server, DiagLayer replaces your username in folder paths with <user> and IP addresses with <address>.
The server saves reports in the submissions folder inside Directory (by default BepInEx/DiagLayer/submissions/), along with an index.tsv list. Reports are removed after 30 days, or sooner if one player has more than 20 reports, the folder has more than 200, or it goes over 100 MiB.
Report a problem
To report a bug in DiagLayer, open an issue at https://github.com/TalXVI/DiagLayer/issues.