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.
WhySleepAlone
Share the Dragon Bed with another Viking, sleep together, share a respawn point, and wake with the configurable Satisfied buff.
By TheLionCid
| Date uploaded | 5 days ago |
| Version | 0.1.5 |
| Download link | TheLionCid-WhySleepAlone-0.1.5.zip |
| Downloads | 130 |
| Dependency string | TheLionCid-WhySleepAlone-0.1.5 |
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.2351README
Why Sleep Alone?
Why Sleep Alone? turns Valheim's Dragon Bed into a true shared bed for two players.
The idea is simple: if the bed is clearly large enough for two Vikings, why should only one of them be able to call it home?
Created by TheLionCid.
Version: 0.1.5
Valheim: 1.0.17
Framework: BepInEx 5
Important — Launch Issue Fixed
The initial public release had a multiplayer linking problem that I was not able to catch before publishing because I could not properly validate the full two-player flow in live multiplayer beforehand.
I'm sorry to everyone who downloaded the mod and found that the core shared-bed feature did not work as expected.
Version 0.1.5 fixes the multiplayer linking issue.
Please make sure the host/server and all participating clients are running the same 0.1.5 build.
Thank you to everyone who tested it, reported the problem and helped narrow it down.
Features
- Share the vanilla Dragon Bed (
piece_bed02) with one other player. - Two linked players can sleep in the same bed at the same time.
- Both linked players can use that Dragon Bed as their respawn point.
- Separate sleep and respawn positions prevent both players from occupying exactly the same spot.
- Completing a valid shared night grants both players Satisfied for 60 minutes by default.
Satisfiedcan improve Health, Stamina and Eitr regeneration.Satisfiedworks alongside the vanilla Rested effect.- Shared-sleep narration uses Valheim's dream-text presentation instead of ordinary HUD narration.
- Neutral, Romantic, Bawdy and Mixed presentation modes.
- Romantic/Bawdy modes reuse short vanilla heart effects on wake.
- Uses Valheim runtime assets where appropriate; no external AssetBundle is required.
Dragon Bed Only
The 0.1.x series intentionally supports only the vanilla Dragon Bed:
piece_bed02
Normal beds and other bed types are left untouched.
Keeping the feature focused on the actual double bed reduces interference with Valheim's normal sleeping, ownership and respawn systems.
Shared Bed & Respawn
A Dragon Bed can be associated with two players:
- the original vanilla bed owner;
- one shared partner.
Both linked players can use the same Dragon Bed as their respawn point.
The persistent shared-bed link is kept separate from temporary sleep occupancy. Finishing the night or leaving the bed therefore does not remove the shared home.
Satisfied
When both linked players successfully complete a valid night together, both receive:
Satisfied
Default duration: 60 minutes
Default bonuses:
- +10% Health regeneration;
- +10% Stamina regeneration;
- +10% Eitr regeneration.
Each bonus can be configured individually.
Satisfied is separate from Rested and is designed to coexist with it.
Text & Mood Modes
Neutral
Cozy, friendly and focused on companionship and sharing a home.
Uses the vanilla Dragon Bed icon for Satisfied.
Romantic
Warmer and more affectionate shared-sleep text.
Uses the vanilla Love Potion icon and a short vanilla heart effect when both players wake.
Bawdy
Viking tavern humor, double meanings and suggestive jokes without becoming explicit.
Two intensity levels are available:
MildSpicy
Mixed
Mixes the available tones while preserving the shared-sleep rules.
Installation
Thunderstore / r2modman
Install Why Sleep Alone? normally through your preferred Thunderstore-compatible mod manager.
Required dependency:
- BepInExPack Valheim 5.4.2351
Manual installation
-
Install BepInExPack for Valheim.
-
Copy the
WhySleepAlonefolder into:BepInEx/plugins/ -
The resulting path should contain:
BepInEx/plugins/WhySleepAlone/WhySleepAlone.dll -
Start Valheim.
Configuration
BepInEx creates the active configuration file at:
BepInEx/config/TheLionCid.WhySleepAlone.cfg
Main options include:
- enable / disable the mod;
- debug logging;
Satisfiedduration;- Health regeneration multiplier;
- Stamina regeneration multiplier;
- Eitr regeneration multiplier;
- Neutral / Romantic / Bawdy / Mixed text mode;
- Mild / Spicy Bawdy intensity;
- heart wake effects;
- sleep-slot offsets;
- respawn-slot offsets.
The default offsets are designed for the vanilla Dragon Bed. Advanced users can adjust them if another mod changes player or bed positioning.
Multiplayer
Why Sleep Alone? is designed around multiplayer use.
For shared-bed functionality, use the same mod version on the host/server and participating clients.
For the multiplayer linking fix, all peers should be updated to version 0.1.5.
If reporting a multiplayer issue, please include whether it occurred on the host, client, dedicated server, or multiple peers.
Compatibility
This release is prepared for:
- Valheim 1.0.17
- BepInExPack Valheim 5.4.2351
Why Sleep Alone? is deliberately conservative:
- only the Dragon Bed receives shared-bed behavior;
- other bed types retain vanilla behavior;
Satisfieddoes not replaceRested;- Love Potion resources are used only for presentation and do not inherit Love Potion gameplay;
- cosmetic failures are intended to fall back safely rather than break sleep or respawn.
A Valheim update that changes bed, sleep, respawn, networking or UI APIs may require a mod update.
Native Valheim Integration
Where appropriate, Why Sleep Alone? reuses Valheim runtime assets to keep the mod visually consistent with the game.
Examples include the Dragon Bed icon, Love Potion icon, Rested fallback icon and vanilla pet-heart effects.
The package does not redistribute Valheim game assets.
Community & Support
For bug reports, compatibility feedback, suggestions or discussion, join the community Discord:
When reporting a problem, please include:
- Why Sleep Alone? version;
- Valheim version;
- active mod list;
- single-player / host / client / dedicated server;
- relevant BepInEx log output;
- whether the issue affects linking, respawn, sleeping, dream text,
Satisfied, or visual effects; - clear reproduction steps.
Development
Why Sleep Alone? has been developed with the assistance of AI tools for areas such as code generation, debugging, visual planning and documentation.
Final design decisions, testing and release management are handled by TheLionCid.
Credits
- TheLionCid — creator and author of Why Sleep Alone?.
- BepInEx / Valheim modding community — framework and modding ecosystem.
- Valheim — native runtime assets are reused where appropriate; game assets are not redistributed by this package.
Disclaimer
Why Sleep Alone? is an independent Valheim mod and is not affiliated with or endorsed by Iron Gate.
Always make backups before major Valheim updates or large mod-list changes.
Español
Importante — Problema de lanzamiento solucionado
La primera versión pública salió con un fallo en la vinculación multijugador que no pude detectar antes de publicarla porque no pude validar correctamente todo el flujo con dos jugadores en una prueba multijugador real.
Pido disculpas a quienes descargasteis el mod y os encontrasteis con que su función principal no funcionaba como debía.
La versión 0.1.5 corrige el problema de vinculación multijugador.
Aseguraos de que el host/servidor y todos los clientes participantes utilicen la misma versión 0.1.5.
Gracias a quienes lo probasteis, reportasteis el fallo y ayudasteis a localizarlo.
Why Sleep Alone? convierte la Cama de dragón de Valheim en una cama compartida real para dos jugadores.
- Dos jugadores pueden dormir simultáneamente en la misma Cama de dragón.
- Ambos pueden utilizarla como punto de aparición.
- Completar una noche juntos concede Satisfecho durante 60 minutos por defecto.
- Satisfecho puede mejorar la regeneración de Vida, Aguante y Eitr.
- Funciona junto a Descansado.
- Incluye modos de texto Neutral, Romántico, Bawdy/Picante y Mixto.
- El modo Bawdy dispone de intensidad
MildySpicy. - Los modos Romántico y Bawdy reutilizan brevemente los corazones vanilla al despertar.
- En la versión 0.1.x solo la Cama de dragón (
piece_bed02) es compartible; las demás camas mantienen su comportamiento vanilla.
Para multijugador, utiliza la misma versión del mod en el host/servidor y en los clientes participantes.
Autor: TheLionCid
CHANGELOG
Changelog
1.0.2
Documentation corrections
- Revised outdated compatibility information.
- Corrected README asset links for Thunderstore rendering.
- Clarified persistent shared-bed and respawn behavior.
1.0.1 - Shared Bed Persistence Fix
Fixed
- Fixed shared-bed state being partially lost after leaving and re-entering a world.
- Open shared-bed invitations now persist until the owner closes them or a second player successfully links.
- Linked partners now remain associated with the same shared bed across normal reconnects and world restarts.
- Fixed cases where the second player could lose access to the shared respawn point after reconnecting.
- A linked partner no longer needs the owner to reopen the bed invitation after returning to the world.
- Shared respawn restoration is performed safely without creating respawn loops.
- Intentionally unlinking the partner now returns the bed to the normal closed state.
- Persistence behavior also applies to supported beds added through
AdditionalDoubleBeds.
Improved
- Linked beds now show both player names in the bed presentation.
- Example:
- English:
Lion & Yume's Bed - Spanish:
Cama de Lion y Yume
- English:
- The vanilla bed owner remains the real internal owner; the linked partner is stored separately.
- Shared-bed state is now clearer between:
- owner,
- open invitation,
- linked partner,
- temporary sleep occupancy.
Compatibility
- Existing 1.0.0 shared-bed data remains supported.
- Vanilla Dragon Bed support remains unchanged.
- Additional modded beds continue to use the same shared-bed system.
- Core Wood Extras has now been community-tested successfully: both of its double-sized beds were reported working after adding their prefab names to
AdditionalDoubleBeds.
1.0.0 - Dreams, Custom Text & Modded Bed Support
Added
- Added 80 shared-sleep dreams and 20 wake lines in English and Spanish.
- Added longer, more atmospheric Viking/Norse writing across Neutral, Romantic and Bawdy profiles.
- Added
Customtext mode usingBepInEx/config/WhySleepAlone_CustomText.txt. - Added
[Dreams]and[Wake]custom text sections with safe parsing/fallback behavior. - Added
IncludeCustomInMixedfor optional custom-text participation in Mixed mode. - Added configurable support for additional double beds through
Compatibility / AdditionalDoubleBeds. - Added host-authoritative synchronization of the allowed additional-bed list through the existing gameplay snapshot.
- Added validation of configured third-party beds against the actual registered prefab and expected Valheim bed/network/spawn components.
Changed
- Mixed built-in weighting is now 45% Neutral, 30% Romantic, 20% Bawdy Mild and 5% Bawdy Spicy.
- Bawdy Spicy mode keeps a blend of Mild and Spicy lines for better variety.
- Expanded anti-repeat behavior to avoid the last 10 different dreams and recent wake lines while alternatives remain.
- Wake flavor text uses the existing fresh
Satisfiedreward event and does not replay when restoring the buff after reconnecting. - Custom text is loaded/cached at startup or config reload instead of being read from disk during sleep.
- Additional-bed prefab names are parsed/cached only when configuration or scene state requires it.
Vanilla dream safety
- Why Sleep Alone only replaces verified generic vanilla dream entries.
- Boss, progression, special and cinematic dreams always retain priority.
- Unknown and
nulldream results are preserved. - Vanilla DreamText objects, cinematic state and progression flags are not modified by the replacement system.
- Because the mod does not reroll vanilla results, a Why Sleep Alone dream is not guaranteed every shared night.
Additional modded beds — compatibility notice
Support for compatible beds from other mods was added by community request.
At the time 1.0.0 was released, I had not been able to live-test the feature with third-party bed mods because we do not use custom bed mods in our own world.
Since then, a community member has confirmed successful real-world compatibility with Core Wood Extras: both of its double-sized beds worked after adding their prefab names to AdditionalDoubleBeds.
Compatibility can still vary between third-party bed mods depending on prefab structure, geometry and animation setup. Please report the mod name/version, exact prefab name and relevant host/client logs if you test another bed mod.
Compatibility / installation
- Prepared for Valheim 1.0.17.
- Requires BepInExPack Valheim 5.4.2351.
- Install the same Why Sleep Alone version on host/server and participating clients.
- All participants also need any mod that provides a configured additional bed.
- Why Sleep Alone does not depend on a specific third-party double-bed mod.
0.1.5 - Multiplayer Linking Hotfix
Fixed
- Fixed the multiplayer join/link flow for the second player using a shared Dragon Bed.
- Remote player identity is resolved from the synchronized character ZDO and validated against the owning peer.
- Join requests no longer depend on
Peer.PlayerIDbeing available. - The validated remote-character identity path is also used for occupancy, shared-sleep rewards and disconnect cleanup.
- Improved diagnostics for failed remote-character resolution.
Apology
The initial public release shipped with a multiplayer issue that prevented the core shared-bed link from working correctly in real multiplayer. Thank you to the players who reported it and helped identify the problem.
0.1.1 - Initial Public Release
- Shared sleeping for two players in the vanilla Dragon Bed (
piece_bed02). - Persistent two-player shared-bed link.
- Shared respawn support.
- Configurable sleep/respawn positions.
Satisfied / Satisfechostatus effect.- Neutral, Romantic, Bawdy and Mixed presentation modes.