SleepCall

v1.0.3·Updated 2026-10-06

One player in bed skips the night - after a countdown everyone sees, and only once nobody is fighting or travelling.

About this mod Author’s original text

SleepCall

One player in bed is enough to skip the night - but nobody gets a black screen without

warning.

In vanilla Valheim every player must be in bed before the night can pass. Mods that relax

that to "one player" have a side effect: the moment someone lies down, everyone else fades

to black - mid-fight, mid-voyage, mid-anything. SleepCall keeps the one-player rule and

fixes the surprise.

Inspired by NowYouSleep by

Hex_Viking, which lets the night pass when one player is sleeping. SleepCall is written from

scratch and adds the warning, the countdown and the wait for players who are busy.

What happens

  • A player lies down. Everyone sees "Astrid went to bed. The night will pass in 60

seconds." in the centre of the screen and in the top-left feed, with a note that

fighting or travelling delays it.

  • The centre banner repeats every 10 seconds with the time left ("Astrid is in bed - the

night passes in 40 seconds"), and reminders at 30 and 10 seconds also go to the feed.

  • With 5 seconds left, the server checks every player who is still up:
  • fighting - took damage in the last 15 s, or an alerted monster is within 40 m
  • travelling - moving faster than 3 m/s on average (running, sailing, riding)
  • If anyone is, everyone sees "Waiting to sleep: Bjorn is in combat, Sigrid is travelling",

repeated every 15 s until they are clear. After 5 minutes it gives up and skips anyway,

with a final warning.

  • The last 5 seconds are counted down in the centre of the screen: "Sleeping in 5", 4,

3, 2, 1, "Sleeping now". This always comes straight before the fade, also after a

wait. If someone starts fighting or travelling during it, it goes back to waiting.

  • The night passes exactly as in vanilla (same fade, same morning, same rested buff).

If everyone goes to bed, the night skips immediately, as it always has. If the sleeper gets

up during the countdown, it is cancelled and everyone is told.

Missed a message? The top-left ones are kept in the Compendium's message log.

Install

Server only. Copy SleepCall.dll into BepInEx/plugins on the dedicated server and

restart it. Clients need nothing. Remove any other "one player sleeps" mod first - two mods

answering the same question will fight.

Config

BepInEx/config/liekos47.sleepcall.cfg, created on first start. The file is checked every

30 seconds and re-read when it has changed, so settings apply without a restart.

| Setting | Default | Meaning |

|---|---|---|

| CountdownSeconds | 60 | warning time before the night passes |

| ReminderSeconds | 30,10,5 | when reminders are also posted to the feed; values at or below FinalCountdownSeconds are skipped |

| BannerIntervalSeconds | 10 | how often the centre banner repeats; 0 = start and reminders only |

| FinalCountdownSeconds | 5 | count the last seconds one by one ("Sleeping in 5"... "Sleeping now"); 0 = off |

| TopLeftFeed | true | also post start, reminders, waiting and outcome to the top-left feed |

| ChatAnnounce | false | experimental: also shout the start and outcome in chat |

| WaitForCombat | true | hold while anyone is fighting |

| RecentDamageSeconds | 15 | "fighting" if health dropped this recently |

| AlertedMonsterRange | 40 | "fighting" if an alerted monster is this close |

| WaitForTravel | true | hold while anyone is travelling |

| TravelSpeed | 3 | "travelling" above this m/s (walk ~2, run ~7, sail 4-8) |

| MaxWaitSeconds | 300 | give up waiting after this long; 0 = never |

| WaitReminderSeconds | 15 | how often the waiting message repeats |

| DebugLog | false | log every message sent, not just the decisions |

ChatAnnounce is off because a client checks the platform identity of whoever sent a chat

line before showing it, and a line sent by the server has no such identity. It may simply

not appear. It is harmless to try.

Server log

SleepCall writes a few lines per night to BepInEx/LogOutput.log, whatever DebugLog is

set to:

[Info: SleepCall] countdown started: Astrid in bed, 3 awake (Bjorn, Sigrid and Leif), 6

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_Valheim

File & checksum

Filename
SleepCall-1.0.3.zip
File size
71.1 KiB