


This patches the behavior of a D/C during boat transit, and the issues associated with mobile beds, Attempting to persistent player login and respawn associated with mobile beds and reconnect after ship movement for Vanilla Valheim and ValheimRAFT.
Valheim normally saves players at a world position when they disconnect or die.
This creates a major problem for:
If the ship moves while the player is offline, reconnecting or respawning often leaves the player stranded in the ocean.
ValheimRaftBedFix solves this by restoring players relative to the ship itself instead of the original world coordinates.
If a player disconnects while aboard:
the mod stores:
When the player reconnects:
even if the ship has moved far away.
Beds attached to moving ships continue functioning even after the ship relocates.
If a player dies:
The mod waits for:
before restoring the player.
This prevents:
If restoration fails:
the player is safely teleported to world origin instead of being stranded in the ocean.
The mod uses Harmony postfix patches and does not suppress vanilla spawn logic.
This greatly reduces compatibility issues with other mods.
Configuration file:
BepInEx/config/DarkestResponse.ValheimRaftBedFix.cfg
[General]
## Enable verbose debug logging.
DebugMode = false
## Maximum number of ship restore retry attempts.
MaxRestoreRetries = 120
## Delay between retry attempts.
RetryDelaySeconds = 0.5
## Show center-screen restore status messages.
EnableCenterMessages = true
Default behavior:
Players may see messages such as:
Please wait while ship finishes loading...
Ship loaded successfully.
Unable to locate your ship or bed.
These are intended to prevent confusion during delayed restoration.
Install with:
Or manually:
BepInEx/plugins/ValheimRaftBedFix/
Required:
Optional:
The mod functions correctly even if ValheimRAFT is not installed, but was the original intended target.
Ideal for:
Created by:
Viking Aquatic Longship Hazard Emergency Intervention Mission
Possible future additions:
Use at your own risk, I have no skin in this game.
Always back up important worlds and characters before adding gameplay-affecting mods, never backup the ones you hate.