Hex_Viking-NowYouSleep icon

NowYouSleep

Allows night to pass when at least one player is sleeping.

Last updated 18 hours ago
Total downloads 40
Total rating 1 
Categories Tweaks Server-side Ashlands Update AI Generated
Dependency string Hex_Viking-NowYouSleep-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
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.2333

README

Now You Sleep

A lightweight Valheim mod that allows night to pass when at least one player is sleeping.

In vanilla multiplayer, every player must sleep before the night can be skipped. Now You Sleep changes that requirement so a single sleeping player can trigger the normal sleep-to-morning flow.

In-game multiplayer behavior

  • Server admin (host) has Now You Sleep installed
  • Any player connected to that host goes to sleep
  • All players, wherever they are in the world, will go to sleep too.

Features

  • Allows night to pass when at least one player is in bed
  • Works in single player, peer-hosted multiplayer, and dedicated servers
  • Server-side behavior: only the host/server needs the mod installed
  • Uses Valheim's normal sleep and time-skip system
  • Configurable enable/disable setting
  • Optional debug logging

Multiplayer

This mod should be installed on the host or dedicated server.

Clients do not need the mod installed.

Examples

Scenario Result
Host has mod, clients do not Works
Dedicated server has mod, clients do not Works
Client has mod, host/server does not Does not work

Configuration

Configuration file:

BepInEx/config/hex.nowyousleep.cfg

[General]

## Whether Now You Sleep is enabled.
# Setting type: Boolean
# Default value: true
Enabled = true

## Whether to enable debug logging for Now You Sleep.
# Setting type: Boolean
# Default value: false
DebugMode = false