Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
SmelterLinkMPFix
Multiplayer fixes for Nishinku's SmelterLink 0.2.0: links survive world restarts, open chests no longer get locked, output goes live into open chests, link mode no longer triggers hotbar/actions.
By Belo
| Last updated | a week ago |
| Total downloads | 18 |
| Total rating | 0 |
| Categories | Mods Tweaks AI Generated |
| Dependency string | Belo-SmelterLinkMPFix-0.1.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
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.2350UllrHeim-NishinkusSmelterLink
Mark an input, fuel and output chest per smelter, kiln or blast furnace. Linked smelters keep running while you are away. Craft the Linking Rod to see the whole network at once.
Preferred version: 0.2.0README
SmelterLink MP Fix
Unofficial multiplayer fixes for Nishinku's SmelterLink 0.2.0. Runtime Harmony patches only: no code from the original mod is included. If SmelterLink is a different version, the fix disables itself and logs a warning.
Everyone on the server needs it installed (host and all clients), the same version.
What it fixes
- Links disappear after a world restart. Valheim assigns new IDs to every object on world load, so SmelterLink's saved links pointed nowhere and were then deleted. Chests now get a persistent ID, and a missing chest (e.g. not loaded yet) never deletes a link.
- Chest locked ("in use") for the other player. Chest contents are now only changed by the player who owns that chest (the one who has it open). The fix never takes over a chest that is open.
- Output drops on the ground while the output chest is open. It now goes live into the open chest. If the chest is full, it stays in the smelter or drops next to it; items never vanish.
- Host and a nearby player both feeding the same smelter. The host's offline tick now skips smelters another player is actively handling.
- Link mode triggers game actions. 1/2/3 used hotbar items, X made you sit, Esc opened the menu. While linking you can now only move (walk, run, jump, crouch, dodge, look); inventory, map, interact, attack and building are blocked. Getting hit by a creature cancels linking.
- Link range is shown. While linking, a ring around the smelter shows the range, and the chest tooltip shows its distance.
After installing
- Old links do not work and need to be linked once again. Old links saved as raw object IDs are unreliable after a restart (they can point to a random chest), so they are not migrated.
Config (radek.smelterlinkfix.cfg)
| Option | Default | |
|---|---|---|
Links.SearchRadius |
64 | How far from a smelter (horizontal, meters) linked chests are searched for |
LinkMode.BlockActionsWhileLinking |
true | Only movement while linking. Off: only SmelterLink keys (1/2/3, X, Esc) are blocked |
LinkMode.CancelOnDamage |
true | Getting hit by a creature, player or turret cancels linking |
LinkMode.ShowRange |
true | Range ring and chest distance while linking |
Known limitations
- Chests on carts/ships are not supported (same as the original).
- If a player disconnects at the exact moment output is being sent to their chest, the output is dropped next to the chest. In rare cases this can duplicate it; the fix prefers that over losing items.
Made with AI assistance (Claude). Not affiliated with the SmelterLink author.