Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
3 weeks ago
Downloads
841
Size
257KB
ADDatHost Valheim hosting
€1

ItemHopper - Valheim 1.0 Compatibility

Unofficial Valheim 1.0 compatibility release of ItemHopper / ValheimHopper.

ItemHopper provides physical hoppers and pipes for moving items between containers and production machines.

This is not an official release by MSchmoecker.

Requires MultiUserChest

This mod requires the separate:

MultiUserChest_Valheim1Compat

package.

The hopper system uses MultiUserChest internally and will not function correctly without it.

Compatibility

Built and tested with:

  • Valheim 1.0.7
  • Network version 39
  • BepInExPack Valheim 5.4.2350
  • Jotunn 2.30.0
  • MultiUserChest 0.6.3 compatibility build
  • Linux client
  • Linux dedicated server

What was fixed

This build is based on:

  • MSchmoecker's original ItemHopper / ValheimHopper
  • Faryzal2020's ValheimPipes fork

Additional Valheim 1.0 compatibility work was required.

Valheim 1.0 inventory API

Valheim changed:

InventoryGrid.Element

to:

InventoryElement

and changed:

element.m_pos

to:

element.Position

The mod was updated for those new APIs.

Current game libraries

The old build referenced pre-1.0 Valheim game libraries and older Unity assemblies.

This build now compiles against:

  • the actual Valheim 1.0.7 managed assemblies
  • Jotunn 2.30.0

AssetBundle script compatibility

The embedded Unity AssetBundle was created against the original assembly and script identities.

The ValheimPipes fork had changed those identities, causing dedicated servers to report errors such as:

The referenced script (ValheimHopper.Logic.Hopper) on this Behaviour is missing!

To restore AssetBundle compatibility, this build restores:

  • assembly name ValheimHopper
  • namespace ValheimHopper.Logic
  • namespace ValheimHopper.UI

The newer fork's plugin class remains under ValheimPipes.Plugin, with explicit references from the restored logic namespace.

This allows the existing embedded hopper and pipe prefabs to resolve their MonoBehaviour scripts correctly again.

Plugin version

The BepInEx plugin identifies as:

ValheimPipes 1.0.1

The DLL is intentionally named:

ValheimHopper.dll

because the embedded AssetBundle depends on that original assembly identity.

Installation

Install this mod and its dependencies on the dedicated server and every client.

Do not install it alongside:

  • MSchmoecker-ItemHopper
  • another ValheimHopper.dll
  • another ValheimPipes compatibility build

Credits

Original author

Maximilian Schmöcker / MSchmoecker

Original author of ItemHopper / ValheimHopper.

Models and icons

Bento#5066

Credited by the original ItemHopper project for the hopper models and icons.

Continued fork

Faryzal2020

Maintainer of the ValheimPipes fork used as the starting point for this Valheim 1.0 compatibility work.

MultiUserChest compatibility

Ultroman

Maintainer of the Valheim 1.0 MultiUserChest fork used by the required MultiUserChest compatibility package.

Libraries

Thanks to the BepInEx and ValheimModding/Jotunn projects and maintainers.

License

The upstream project is licensed under the MIT License.

The original license notice is included in the LICENSES directory.

This package does not claim authorship of the original mod, models, artwork, or upstream fork work.

Source projects

  • MSchmoecker/ValheimHopper
  • Faryzal2020/ValheimPipes
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro