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.
RuneboundRest
Server-authoritative overhaul of Valheim's Rested/Comfort system: config-driven comfort, resting conditions and rested duration, plus a new Well Rested buff for sleeping a full night in your own claimed bed.
| Date uploaded | 2 weeks ago |
| Version | 1.1.5 |
| Download link | Wubarrk-RuneboundRest-1.1.5.zip |
| Downloads | 128 |
| Dependency string | Wubarrk-RuneboundRest-1.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.2360README
ποΈ RuneboundRest
The skald swore he had rested. He had sat by the fire for the length of a song, steam rising from his wet furs, a greydwarf glaring at him from the treeline. The gods disagreed. Tonight the gods have been overruled.
Sit by the fire. Sleep the night through. Wake up better.
RuneboundRest reworks Valheim's Rested and Comfort system end to end: how fast comfort builds, what lets you rest at all, how long the Rested buff lasts and how much it is worth. On top of that it adds a new buff, Well Rested, for actually sleeping through the night in your own claimed bed.
Every gameplay setting is server-synced and admin-lockable. On a multiplayer world the server's config file is the one that matters.
Sleep a full night in your own bed and wake up Well Rested.
| You | It |
|---|---|
| Sleep in your own claimed bed until the whole group is asleep and the night skips to morning | the moment you wake, you are Well Rested |
| Carry it into the day | bonus health regen, stamina regen and skill XP for its duration |
| Rest as well | its skill XP bonus stacks with the normal Rested bonus |
π A separate buff, not a stronger Rested Β· π§ Every number is a setting Β· π« Only want the comfort system? EnableWellRested = false turns it off
| If⦠| Then⦠| |
|---|---|---|
| π€ | you play on a server | the server and every player need RuneboundRest, on the same version. Update them together: an older version is refused. |
| π | you run the server | the server's config decides every gameplay setting; it is pushed over each player's own when they connect. |
| π¦ | you wonder what else to install | nothing. It is one file and bundles its own config-sync library. |
Rested lasts longer and is worth more.
| β³ Base duration | twice vanilla's by default |
| πͺ Per comfort level | twice vanilla's by default, so a cosy hall pays off |
| π Skill XP while Rested | 3Γ by default (vanilla is 1.5Γ) |
| βΎοΈ Always Rested | for servers that want the buff permanently on; the timer never runs down |
You decide what lets a Viking rest.
| Rule | |
|---|---|
| π₯ Fire | required by default; switch it off and a shelter is enough |
| π Shelter | not required by default; switch it on to demand a roof |
| π§ Wet | blocks resting by default; allow it if you like |
| πΉ Enemies nearby | being sensed by enemies blocks resting by default; allow it if you like |
| β±οΈ Time to Rested | 4 seconds of resting by default (vanilla is 10) |
π Read the saga β why these are rules, not hard-coded
Vanilla hard-codes what lets you start Resting: a fire, shelter, being dry and not being sensed by enemies. RuneboundRest replaces that logic with rules you can switch one by one.
Other systems that ask the game whether a player is "safe at home" get the same answer the Resting buff uses, so a server that allows resting near enemies is never contradicted by the game's own check.
Your furniture counts from farther away, and sitting down pays.
| π§ Comfort radius | the game scans 30 m for comfort pieces by default (vanilla is 10 m) |
| π Rescan interval | every 6 seconds by default (vanilla is 2) |
| πͺ Sitting | extra comfort points, and Rested builds faster |
| ποΈ Lying in a bed | more comfort points still, and Rested builds faster still |
Sitting and lying each have their own comfort bonus and their own build-speed multiplier.
First ten minutes: install on the server and every player β start the server once and stop it β edit the server's config β restart β sit down by a fire.
There are no keys and no commands: everything is a setting.
π οΈ Set up a dedicated server
- Install BepInEx on the server, exactly as on a client.
- Put
RuneboundRest.dllin the server'sBepInEx/plugins/. - Start the server once, then stop it. That writes
BepInEx/config/wubarrk.runeboundrest.cfg. - Edit the server's config. Every gameplay setting is server-synced: on connect the server pushes its values over each player's own, so the server's file decides everything except
EnableDebugLogging. - Restart.
| In single player | On a server | Needs RuneboundRest on both ends |
|---|---|---|
| your own config is the one used | the server's config decides every gameplay setting; LockConfiguration keeps it to admins |
the server and every player |
β οΈ Versions must match. Update the server and its players together; an older version is refused rather than left running mismatched settings.
| Mod | |
|---|---|
| Valheim10Compatibility | Not needed. RuneboundRest's config sync works on its own. |
| Other mods that use ServerSync | RuneboundRest carries its own copy, merged and internalized into its DLL, so there is nothing extra to install. |
| Mods that ask whether a player is safe at home | They get the same answer the Resting buff uses. |
BepInEx/config/wubarrk.runeboundrest.cfg, written the first time the game or server runs.
π Server-synced β set on the server; on a locked server the host's values win
| Section | Setting | Default | What it does |
|---|---|---|---|
| 0. Server Sync | LockConfiguration |
true |
only server admins change the synced settings |
| 1. Core Rested Buff | AlwaysRested |
false |
permanently Rested; the timer never runs down |
| 1. Core Rested Buff | BaseRestedDuration |
960 |
base Rested duration in seconds (vanilla 480) |
| 1. Core Rested Buff | DurationPerComfortLevel |
120 |
seconds added per comfort level (vanilla 60) |
| 1. Core Rested Buff | SkillXPMultiplier |
3.0 |
skill XP multiplier while Rested (vanilla 1.5) |
| 2. Resting Conditions | RequireFireForResting |
true |
a nearby fire is needed to start Resting |
| 2. Resting Conditions | RequireShelterForResting |
false |
shelter is needed to start Resting |
| 2. Resting Conditions | AllowRestingWhileWet |
false |
being wet no longer blocks Resting |
| 2. Resting Conditions | AllowRestingNearEnemies |
false |
being sensed by enemies no longer blocks Resting |
| 2. Resting Conditions | SecondsToAchieveRested |
4 |
seconds of Resting before the buff is granted (vanilla 10) |
| 3. Comfort Area | ComfortSearchRadius |
30 |
metres scanned for comfort pieces (vanilla 10) |
| 3. Comfort Area | ComfortUpdateInterval |
6 |
seconds between comfort rescans (vanilla 2) |
| 4. Sitting & Lying | SittingComfortBonus |
2 |
extra comfort while sitting |
| 4. Sitting & Lying | SleepingComfortBonus |
4 |
extra comfort while lying in a bed |
| 4. Sitting & Lying | SittingRestedBuildSpeedMultiplier |
2.0 |
how much faster Rested builds while sitting |
| 4. Sitting & Lying | SleepingRestedBuildSpeedMultiplier |
4.0 |
how much faster Rested builds while lying down |
| 6. Well-Rested Buff | EnableWellRested |
true |
grant Well Rested for a full night in your own claimed bed |
| 6. Well-Rested Buff | WellRestedDuration |
1200 |
Well Rested duration in seconds |
| 6. Well-Rested Buff | WellRestedHealthRegenBonus |
0.25 |
extra health regen (+25%) |
| 6. Well-Rested Buff | WellRestedStaminaRegenBonus |
0.25 |
extra stamina regen (+25%) |
| 6. Well-Rested Buff | WellRestedSkillXPBonus |
0.5 |
extra skill XP (+50%), stacking with the Rested bonus |
π₯οΈ Local to your game β yours alone
| Section | Settings |
|---|---|
| 5. Utility | EnableDebugLogging β verbose [RuneboundRest Debug] lines in the BepInEx log |
Needs: BepInExPack Valheim 5.4.2360. Install with a mod manager, or unzip into BepInEx/plugins, on the server and on every player's game.
π° Come play it with us. RuneboundRest is one piece of a bigger table: Wubarrk builds several mods for Valheim, meant to be run together on Wubarrk's modded server. How to join is on the Discord.
Forged by Wubarrk β ravenirongames.com. Rest well. Join us on Discord. License: MIT β use, modify and redistribute freely, including commercially; keep the copyright notice.
CHANGELOG
Changelog
[1.1.5]
- Store page only: the README was rewritten to the new layout and is now the same on every store, and the website link now goes to https://ravenirongames.com/.
- No change to the mod:
RuneboundRest.dllis the same file as in 1.1.4.
[1.1.4]
- Rebuilt for Valheim 1.0.21. Rebuilt against the Valheim 1.0.21 game assemblies (network version 41) on BepInExPack 5.4.2360, and re-verified: static reference check clean against both the client and dedicated-server assemblies, and the mod boots on a real 1.0.21 dedicated server.
Player.UpdateBaseValuechanged (the comfort record is now read withGetStat(MaxComfort, DifficultyRequirement.Any)), but the2fscan-interval constant the transpiler anchors on is still the firstldc.r4 2in the method, andSE_Rested,SE_Cozy,SE_StatsandObjectDBare byte-for-byte unchanged. No source change. - Website link moved to https://www.rossgilsonlabs.dev.
- The BepInExPack dependency is now
denikson-BepInExPack_Valheim-5.4.2360. - No gameplay change.
MinimumRequiredVersionfollows the mod version to 1.1.4, as it always has, so 1.1.3 clients are refused rather than silently running mismatched settings.
[1.1.3]
- Rebuilt for Valheim 1.0.16. Rebuilt against the 1.0.16 game assemblies (client build 25527674 / dedicated server build 25527701, network version 40) on BepInEx 5.4.2350. No source change was needed: both transpilers still find their anchors -
GetNearbyComfortPiecesstill loads10ffor the comfort radius andUpdateBaseValuestill compares the scan timer against2f- and every Harmony target andSE_Rested/ comfort member the patches read is unchanged. - No gameplay change. Verified on the real 1.0.16 dedicated server: static reference check against both the 1.0.16 client and dedicated-server assemblies is clean (1089 references, 26 Harmony targets, same counts as 1.1.2), and the comfort-update-interval transpiler still patches successfully with no Harmony errors.
[1.1.2]
- Fixed: config sync was broken on Valheim 1.0.x without a compatibility patcher. 1.1.1 shipped with a prebuilt
ServerSync.dll(built against a pre-1.0 game) merged into the plugin. Valheim 1.0 turnedZRoutedRpc.Everybodyfrom a static field into a constant, and that old build still loads it as a field - which the game's Mono runtime refuses to compile (MissingFieldException: ... Using static instructions with literal field). The server booted fine and clients connected fine, but the first time the server pushed a synced value that differed from a client's own config file, the client's config-apply handler died mid-package: the remaining values stayed at the client's local settings and the admin lock never engaged. The mod only behaved correctly if the Valheim10Compatibility patcher happened to be installed (itsZRoutedRpcEverybodyStaticbridge papers over exactly this). RuneboundRest now compiles ServerSync from the shared source against the current game assemblies, like every other Wubarrk mod, so it binds on 1.0.7 / 1.0.12 on its own - no patcher, no bridge. - No gameplay change.
MinimumRequiredVersionfollows the mod version to 1.1.2, so 1.1.1 clients (which cannot sync correctly anyway) are refused rather than silently running mismatched settings. - Verified on the real 1.0.12 dedicated server (build 25253791, network version 40) with BepInEx 5.4.2350; static reference check against both the 1.0.12 client and dedicated-server assemblies is clean, including the new constant-field check that would have caught 1.1.1.
[1.1.1]
- Valheim 1.0.7 compatibility. Rebuilt for 1.0.7 (client build 25185596 / dedicated server build 25185644, network version 39) on BepInEx 5.4.2350. No source change was needed: every Harmony target (
Player.UpdateBaseValue/UpdateEnvStatusEffects/SetSleeping,SE_Rested.CalculateComfortLevel(Player)/GetNearbyComfortPieces/Setup/UpdateStatusEffect,SE_Cozy.Setup/UpdateStatusEffect,SE_Stats.Setup,ObjectDB.Awake/CopyOtherDB) and everySE_Rested/ comfort member the patches read was checked against the 1.0.7 decompile. Both transpilers still find their anchors -GetNearbyComfortPiecesstill loads10ffor the comfort radius andUpdateBaseValuestill compares the scan timer against2f- andSE_Rested.CalculateComfortLevelgained a second overload(bool inShelter, Vector3 position)on 1.0 that the existingtypeof(Player)pin already keeps unambiguous. - Verified the ServerSync merge on a Linux build: the ILRepack step runs, the merged DLL is the one staged into
HexiumDist/plugins, and it resolves cleanly against both the 1.0.7 client and dedicated-server assemblies. - No behaviour change.
MinimumRequiredVersionfollows the mod version to 1.1.1, as it always has. - The Thunderstore dependency now names the 1.0 BepInEx pack (
denikson-BepInExPack_Valheim-5.4.2350).
[1.1.0]
- New: Well Rested β a separate buff from the comfort-driven Rested, granted for sleeping through a server-confirmed full night in your own claimed bed (health regen, stamina regen and a stacking skill XP bonus, all configurable, toggleable via
EnableWellRested). - Fixed: the skill XP multiplier while Rested was miscalculated as roughly 201x instead of the intended 3x. The underlying field is additive to a 1.0 baseline multiplier, not a percentage scaled by 100 - a leftover from an earlier, incorrect assumption about the value's units. Every world running the default
SkillXPMultiplierwas getting a game-breaking XP bonus while Rested; it now applies correctly. - Fixed:
Player.IsSafeInHome()could disagree with whether you actually had the Resting buff. The mod overrides vanilla's resting conditions, but the flag other systems read to ask "is this player safe at home" was still being computed from vanilla's original, un-overridden logic - so a server runningAllowRestingNearEnemiescould grant Resting while the game still considered the player not safe at home. It's now derived from the same config-driven decision the Resting buff itself uses. - Fixed:
ServerSync.dllwas not actually being bundled into the shipped plugin DLL. The merge step existed but pointed at a library search path that didn't exist, so it silently failed - meaning the mod as previously built would refuse to load on any machine that didn't happen to already haveServerSync.dllsitting inBepInEx/pluginsfrom another mod. This is the library the server-authoritative config locking depends on, so it's now verified to be correctly merged and internalized into the single shipped DLL. - Hardened the comfort-scan-interval patch to match the same safety net the comfort-radius patch already had (stops after the first match, logs an error if the expected value ever isn't found), so a future Valheim update can't cause it to silently corrupt an unrelated value.
- Chore: reference assemblies now come from the shared
libs-Toolsfolder instead of a per-project copy, removed an unused Jotunn dependency and a leftover scratch file.
[1.0.0]
- Initial build: config-driven Rested duration/XP, resting conditions, comfort radius/update interval, and sitting/lying bonuses, all server-synced and admin-lockable.