


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.
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 eventModSettings is left nullNullReferenceException in ModManager.ZNet_RPC_ServerHandshake_Patch.PrefixThis package bundles YamlDotNet.dll (16.0.0, net47) next to ValheimEnforcer.dll so class load succeeds.
Use this until MidnightMods ships a 0.6.3 that bundles YamlDotNet itself. At that point, prefer upstream.
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.
GPL-3.0, same as upstream. Source for this redistribution: https://github.com/RogerSquare/valheim_enforcer.
For actual mod functionality / bug reports about behavior, go upstream:
For issues specific to this redistribution (packaging, dependency bundling), file on the fork repo.