KnowItAllKing-Volund icon

Volund

Movement leases, surface footing, loose bodies, damage and item APIs for Valheim mods.

Last updated a day ago
Total downloads 13
Total rating 0 
Categories Libraries Server-side Client-side Utility AI Generated
Dependency string KnowItAllKing-Volund-0.6.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 icon
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.2360

README

Volund

Volund is a shared-mechanics library that lets cooperating Valheim mods cleanly share control over the local player's movement. Instead of fighting over the same Harmony patches, mods request a motion lease—allowing a controller to add drift to vanilla walking, drive a custom velocity, or hold the player in place for a physics step while preserving momentum.

Beyond player movement, Volund includes services to fit a support plane under the player's feet, check capsule clearance on steep faces, test fixed-world contacts, arbitrate claims on owned loose bodies, and help mods modify item records and inventory stacks. Health.Intercept registers damage rules; Health.TryHeal submits a heal with scaling and optional payment.

Volund handles the underlying mechanics; your mod provides the controls, gameplay rules, and content. Keep in mind that Volund only arbitrates between mods that use it—mods patching movement directly can still conflict. This is a 0.x library with one consumer so far, so expect the API to evolve.

Installing and depending on Volund

Volund is verified against Valheim 1.0.32 (Unity 6000.0.85) only.

  • Server and clients: Install the Valheim BepInEx 5 pack and the same version of Volund on the dedicated server and all clients.
  • Manual installation: Copy the package's plugins/Volund folder into BepInEx/plugins.
  • Dependencies: Volund itself does not require Jötunn.

In your mod project, reference Volund.dll and Volund.Contracts.dll with copy-local disabled (Private="false"). Ship only your mod's own assemblies, and declare Volund as a BepInEx dependency:

[BepInDependency("knowitallking.volund")]
[BepInPlugin("example.glider", "Glider", "1.0.0")]
public class Glider : BaseUnityPlugin { }

The portable contract major version is 1 (Volund.Contracts.ContractVersion.Major).

At startup, Volund runs a self-check against its registry of game dependencies. If a game update moves or changes a required member, the services that depend on it report themselves as unavailable and name the failed entry. If an optional dependency fails, only the features relying on it degrade while everything else keeps working. Check Volund.Api.GetStatus and the BepInEx log before requesting a lease.

Resources and license

The separate Volund.Testing archive provides game-free fakes for unit testing. The source repository also includes a modder guide, working examples, and the offline update checker. Distributed under the MIT License.