You are viewing a potentially older version of this package. View all versions.
Hex_Viking-NowYouSleep-1.0.0 icon

NowYouSleep

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

Date uploaded 2 months ago
Version 1.0.0
Download link Hex_Viking-NowYouSleep-1.0.0.zip
Downloads 321
Dependency string Hex_Viking-NowYouSleep-1.0.0

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

CHANGELOG

Changelog

v1.0.2

  • Add Discord support link

v1.0.1

  • Improved multiplayer architecture with explicit server-authoritative sleep handling
  • Added safeguards to prevent client-only installations from affecting dedicated servers
  • Reduced unnecessary debug log spam
  • General code cleanup and stability improvements

v1.0.0

  • Initial release