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.
SleepAnywhere
Toggle sleep restrictions individually: nearby enemies, no roof/exposure, and no nearby fire.
| Last updated | 2 months ago |
| Total downloads | 443 |
| Total rating | 0 |
| Categories | |
| Dependency string | Peterseiro-SleepAnywhere-1.0.0 |
| Dependants | 1 other package depends on this package |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2100README
Sleep Anywhere
Toggle individual sleep restrictions in Valheim. By default this lets you sleep even with enemies nearby, but leaves the roof and fire checks on — edit the config to change that.
Features
- Independently toggle each sleep restriction:
- IgnoreEnemiesNearby — sleep even if enemies are sensed nearby
- IgnoreNoRoof — sleep without a roof / while exposed to weather
- IgnoreCold — sleep without a nearby fire/heat source
Configuration
After first launch, edit BepInEx/config/icebr.sleepanywhere.cfg:
[Sleep Restrictions]
## If true, allows sleeping even if enemies are nearby.
IgnoreEnemiesNearby = true
## If true, allows sleeping without a roof / while exposed.
IgnoreNoRoof = false
## If true, allows sleeping without a nearby fire.
IgnoreCold = false
Set any value to true to disable that restriction, or false to keep vanilla behavior for that check.
Installation
- Install BepInExPack_Valheim
- Drop
SleepAnywhere.dllintoBepInEx/plugins/SleepAnywhere/ - Launch the game once to generate the config file, then adjust settings as desired
Compatibility
Single-player and client-side use is straightforward. For multiplayer, all connecting clients should run the same mod/config to avoid desyncs in expected behavior — check with your server before assuming this works seamlessly for others.
Changelog
See CHANGELOG.md