MagiCorp-ValheimPlus_AutoDeposit_Fix icon

ValheimPlus AutoDeposit Fix

Valheim Plus 0.10.1.0 hotfix build for Valheim 1.0.12: dedicated-server auto-deposit plus AEM F8/null-reference fixes.

Last updated 7 hours ago
Total downloads 377
Total rating 0 
Categories Mods
Dependency string MagiCorp-ValheimPlus_AutoDeposit_Fix-10.1.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 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.2350

README

Valheim Plus Auto-Deposit Fix

Temporary patched build of Grantapher's Valheim Plus 0.10.1.0 for Valheim 1.0.12.

This fixes dedicated-server auto-deposit and related nearby-chest features failing because InventoryAssistant.GetNearbyChests() returned an empty list whenever Player.m_localPlayer was null. Dedicated servers do not have a local player, so server-owned production pieces could not find nearby chests.

The patch uses the source piece creator ID for chest privacy and ward permission checks on dedicated servers. Client behaviour is unchanged.

Validated on an isolated Linux dedicated server cloned from a live Valheim 1.0.12 world. The unmodified 0.10.1.0 build returned zero nearby chests; this build successfully auto-deposited real smelter output and beehive honey.

Upstream fix submitted as Grantapher/ValheimPlus PR #159.

Install

Install with a Thunderstore-compatible mod manager, or copy BepInEx/plugins/ValheimPlus/ValheimPlus.dll into your Valheim BepInEx plugins directory. Use the same build on server and clients when Valheim Plus version enforcement is enabled.

Additional 10.1.1 hotfix

  • Advanced Editing Mode no longer processes the F8 abort key while AEM is inactive.
  • Resetting an AEM object is now null-safe, preventing the resetObjectTransform NullReferenceException.