NowYouSleep

版本 v1.0.3·更新於 2026-09-09

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

模組介紹 作者原文

NowYouSleep

Similar to Enshrouded's sleep mechanic, NowYouSleep allows night to pass when at least one player is sleeping in Valheim multiplayer.

In vanilla multiplayer, every player must sleep before the night can be skipped.

NowYouSleep changes that behavior so a single sleeping player can trigger Valheim's normal sleep-to-morning transition.

Features

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

Multiplayer

NowYouSleep is designed to be server-authoritative.

This means the sleep check only runs on the world host or dedicated server.

Installing the mod on a regular client does nothing by itself.

Installation Requirements

| Environment | Install Required |

|---|---|

| Single Player | Player |

| Peer-Hosted Multiplayer | Host |

| Dedicated Server | Dedicated Server |

| Regular Clients | Not Required |

Compatibility 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 |

In-Game Behavior

When the host or dedicated server has NowYouSleep installed:

  • Any connected player can enter a bed
  • The server detects at least one sleeping player
  • All connected players enter the normal sleep transition
  • Night passes normally using Valheim's built-in morning skip system

This mod does not create a custom sleep system or force custom RPC behavior.

It simply changes the vanilla sleep requirement from:

Everyone must be sleeping

to:

At least one player must be sleeping

Requirements

  • denikson-BepInExPack_Valheim-5.4.2333

Configuration

Config file location:

BepInEx/config/hex.nowyousleep.cfg

Example configuration:

[General]

Enable or disable the mod

Setting type: Boolean

Default value: true

Enabled = true

Enable debug logging

Setting type: Boolean

Default value: false

DebugMode = false

Support and Feedback

Report bugs, request features, or provide feedback:

  • Discord:

Github

  • Source code:

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
NowYouSleep-1.0.3.zip
檔案大小
120.7 KiB