Valheim
This package has been deprecated and may no longer be maintained. We recommend looking for an alternative.
Install

Details

Last Updated
First Uploaded
Downloads
25
Likes
0
Size
259KB
Dependency string
RogerSquare-ValheimEnforcerFixed-0.6.2
Dependants
ADDatHost Valheim hosting
30% off!

ValheimEnforcerFixed

A redistribution of MidnightMods/ValheimEnforcer v0.6.2 with the missing YamlDotNet.dll dependency bundled so the mod actually works on first install.

All credit for the mod itself goes to MidnightMods. This package exists only to ship the missing runtime dependency.

What this fixes

Upstream 0.6.2 has a packaging bug: the .csproj references YamlDotNet via NuGet, but the Thunderstore package build script (scripts/publish.ps1) doesn't copy YamlDotNet.dll into the final zip. Result:

  • ValheimEnforcer.common.DataObjects fails to type-load (TypeLoadException: Could not load file or assembly 'YamlDotNet')
  • ModManager.SetModsActive crashes silently at Jotunn's OnVanillaPrefabsAvailable event
  • ModSettings is left null
  • Every client handshake throws NullReferenceException in ModManager.ZNet_RPC_ServerHandshake_Patch.Prefix
  • Clients connecting to the modded server hang on a black screen until RPC timeout

This package bundles YamlDotNet.dll (16.0.0, net47) next to ValheimEnforcer.dll so class load succeeds.

When to use this instead of upstream

Use this until MidnightMods ships a 0.6.3 that bundles YamlDotNet itself. At that point, prefer upstream.

Install

Same as upstream: install via r2modman / Thunderstore Mod Manager. Install on both client and server. All configuration and behavior is identical to upstream 0.6.2.

License

GPL-3.0, same as upstream. Source for this redistribution: https://github.com/RogerSquare/valheim_enforcer.

Support

For actual mod functionality / bug reports about behavior, go upstream:

For issues specific to this redistribution (packaging, dependency bundling), file on the fork repo.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.