You are viewing a potentially older version of this package. View all versions.
tarbaby-EepyDeepy-1.0.3 icon

EepyDeepy

Gently — then not so gently — encourages your fellow Vikings to go to bed. Escalating messages broadcast to all players when someone gets into bed.

Date uploaded 2 months ago
Version 1.0.3
Download link tarbaby-EepyDeepy-1.0.3.zip
Downloads 100
Dependency string tarbaby-EepyDeepy-1.0.3

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
ValheimModding-Jotunn-2.28.0 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.28.0

README

EepyDeepy

A server-side Valheim mod that gently — then not so gently — encourages your fellow Vikings to go to bed.

When any player gets into a bed, a sequence of increasingly unhinged messages is broadcast to all players. The sequence resets when everyone successfully sleeps, or when everyone gets out of bed.


Features

  • A lullaby, and an escalating message sequence triggered when a player gets into bed
  • Sequence resets on successful sleep or when all players leave their beds
  • Use the /rest emote to trigger the sequence for testing (no bed required)
  • Fully configurable sequence — edit the messages and timing to your liking
  • Live config reloading — changes take effect immediately without restarting the server

Installation

  1. Install BepInEx 5.x on your Valheim server and clients
  2. Copy EepyDeepy.dll into BepInEx/plugins/ on both server and clients
  3. Copy lullaby.ogg into BepInEx/plugins/ on the client
  4. Copy eepydeepy.cfg into BepInEx/config/
  5. Start the server

This mod must be installed on both the server and all clients.


Configuration

The config file lives at BepInEx/config/eepydeepy.cfg.

Each line is a sequence entry in the format <seconds> <message>:

# seconds to wait before showing this message, then the message text
20  Eepy Deepy?
20  Eepy Deepy Schmeepies?
18  Eepy Deepy Schmeepy Beepy?
10  just... go... to... sleep...
8   please.
4   YOU'RE A MONSTER !!!!
  • Lines starting with # are comments and are ignored
  • The config file is watched for changes — edit and save while the server is running and it reloads automatically

Compatibility

  • Valheim 0.221.12 (network version 36)
  • BepInEx 5.4.23.x
  • Jötunn 2.28.0
  • Required on both server and client

Acknowlegements

soundtrack is "Lullaby Baby Sleep Music" by ikoliks_aj, from Pixabay https://pixabay.com/music/lullabies-lullaby-baby-sleep-music-331777/

Original score is Wiegenlied (Op. 49, No. 4) by Johannes Brahms.

CHANGELOG

Changelog

1.0.3

  • Bundled lullaby.ogg in the package. Earlier releases shipped without it, so the lullaby never played for anyone who installed via Thunderstore — only the chat sequence was audible.
  • Fixed bed-enter/exit detection on dedicated servers — the previous patches on Bed.Interact and Bed.SetOwner never fired in practice, so getting into a bed produced no sequence and no lullaby. Detection now runs from Player.AttachStart / Player.AttachStop on the client and notifies the server via the existing RPC.
  • Fixed a stuck /rest pose in single-player and host games. The StopEmote patch was throwing in single-player (no remote server peer), preventing the original from running and clearing the emote. Patches now self-dispatch when the local player is the server.
  • Fixed lullaby silence on hosts. Jötunn's CustomRPC.SendPackage(Everybody, …) does not self-deliver to the host, so the host now triggers StartMusic / fade-out locally alongside the broadcast.
  • Fixed multiplayer bed tracking. The previous global inBed flag clamped concurrent sleepers to 1 and reset the sequence the moment any player left a bed; now players are tracked individually in a HashSet<long> keyed on network UID so the sequence only resets when the last player leaves.

1.0.2

  • Migrated client→server messaging to Jotunn's CustomRPC for cleaner registration and serialization.