Bedtime

版本 v1.1.0·更新於 2026-10-08

Server-only bed announcements for vanilla and modded clients. Shows how many players are in bed. Keeps vanilla sleep rules.

截圖 共 1 張

模組介紹 作者原文

A dedicated-server Valheim mod that shows how many players are in bed. Players can use vanilla clients, including consoles.

Valheim still decides when everyone can sleep. Sitting does not count, there is

no voting, and the mod never starts sleep or skips time.

Behavior

  • Shows a top-left notification with the bed count and a bulleted list of players

not in bed. Names appear in alphabetical order; the list disappears when everyone is in bed.

  • Updates when the count or awake-player list changes, including bed swaps,

joins, and disconnects. With the list disabled, only count changes trigger announcements.

  • Uses Valheim's existing sleep-update pass, currently every two seconds.

Bedtime adds no timer or per-frame update loop.

  • Counts the same active player characters as vanilla's sleep check. Characters

still loading or respawning may not be counted until the game registers them.

  • Does not repeat unchanged announcements, and stays quiet during sleep.

The list uses the normal notification fade time, so large groups may be hard to read.

  • No client installation or configuration is required.

Installation

  • Install BepInExPack_Valheim 5.4.2350 or newer on the dedicated server.
  • Extract plugins/Bedtime.dll from the release ZIP into

BepInEx/plugins/Bedtime/ on the server, then restart it.

  • Remove or disable JustSleep or any other mod that changes sleep requirements

if you want vanilla sleeping. Bedtime does not undo other mods' gameplay changes.

For the community-valheim-tools container, place the DLL in the persistent

/config/bepinex/plugins/Bedtime/ directory so it survives updates.

Installing Bedtime on a client has no effect. To uninstall, remove its DLL and

restart the server. It writes no world or player data.

Configuration

After the first start, edit BepInEx/config/augusdogus.mods.Bedtime.cfg on the server:

[Announcements]

ShowAwakePlayers = true

Set ShowAwakePlayers = false to hide the Not Sleeping: heading and player list.

Only the count remains, for example 1 out of 3 players are in bed.

The list is enabled by default. Restart the server after changing the setting.

Build and verification

bun install --frozen-lockfile

dotnet build src/Bedtime/Bedtime.csproj -c Release -t:Package \

-p:GameDir="/path/to/Valheim" \

-p:BepInExDir="/path/to/profile/BepInEx"

MANAGED_DIR="/path/to/Valheim/valheim_Data/Managed" \

BEPINEX_DIR="/path/to/profile/BepInEx" bash scripts/check.sh

bun run typecheck

bun test tests/

Requires.NET SDK 8 and Bun 1.4.1+. Output: artifacts/Bedtime-1.0.0.zip.

Tests cover announcement transitions and the installed game's bed/HUD contracts.

See manual multiplayer checks for verification with real clients.

Built from ValheimModTemplate.

Inspired by the server announcements in

ServersideQoL, with an

independent implementation and no dependency on its code or plugins.

Development and releases · Repository layout

License

MIT. Copyright (c) 2026 AugusDogus.

Banner font notices are retained in FONT-LICENSE.txt.

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
Bedtime-1.1.0.zip
檔案大小
786.4 KiB