You are viewing a potentially older version of this package. View all versions.
Vapok-BetterSleepBruh-1.0.2 icon

BetterSleepBruh

A Valheim Mod that Sleeps Like Enshrouded! Sleep on your own terms! Sleep the night away faster without everyone having to be in a bed! Get Better Sleep, Bruh!

Date uploaded 2 months ago
Version 1.0.2
Download link Vapok-BetterSleepBruh-1.0.2.zip
Downloads 1115
Dependency string Vapok-BetterSleepBruh-1.0.2

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
ValheimModding-YamlDotNet-16.3.1 icon
ValheimModding-YamlDotNet

Shared version 16.3.0 of YamlDotNet from Antoine Aubry and contributors, net47 package for use in Valheim mods. Maintained by the ValheimModding team.

Preferred version: 16.3.1

README

Better Sleep Bruh! by Vapok

Get Better Sleep, Bruh! No longer do you have to ask "Are you near a bed, bruh?", with BetterSleepBruh by Vapok, you can now quickly sleep the night away, even if your night owl friends aren't near a bed.

Simply jump in a bed and sleep. Depending on how many people are on the server, you can increase the speed that night passes without everyone in the bed by up to 60%. This allows even just one person on a server of 10, feel like they are helping sleep the night away.

INSTALLATION: This is a server side (required) and client side (optional) mod. Must be installed on servers in order for it to work, for user interface, install on clients as well.

Current Patch Notes

Github Patchnotes

1.0.0 - Better Sleep Bruh! Initial Release

Gone are the days of asking for everyone to run to a bed, or to log off, just to make night go away faster. Get Better Sleep Bruh! The mod that allows players on a server help make night go faster without completely eliminating night. This allows players to still enjoy benefits of night but also not have to run to a bed to make morning come faster!

  • Provides the following Configurations:
    • Adjusts when players are allowed to sleep. Default vanilla is Noon.
    • Adjust the maximum Bonus Multiplier provided when some players are sleeping.
      • Here's an Example:
        • Let's say you have 5 players on your server. And Maximum Bonus Multiplier is 60% of the time speed if everyone was sleeping.
          • If 5 players jump into bed, then you fall into a dark dream state and hope you can read your dream fast enough before it goes away.
          • If 4 players are in bed, but one player is stuck on a boat, the Bonus Multipler of 60% is applied.
          • If 3 players are in bed, but two players are stuck on a boat, the Bonus Multipler of 45% is applied.
          • If 2 players are in bed, but one player is stuck in a boat, one player is stuck in a mine, and another player is AFK, the Bonus Multiplier of 30% is applied.
          • If 1 player are in bed, and they've been abandoned by all of the other players who went AFK to look at TikTok video, the Bonus Multiplier of 15% is applied.
          • If 0 players are in bed, night passes like normally, with no speed bonus, and clearly no dreams. You'll be tired tomorrow. I'm sure of it.
      • If you've ever played Enshrouded and wished "Man, I wish I could sleep like in Enshrouded!" This mod is for you.
  • Pillow Icons are displayed for each player on the server. As players jump into bed, pillows highlight showing you the number of players in bed.
    • To be clear, this not been tested on very large servers. So if you complain about why this doesn't work with 100 players, I'm just going to wrinkle my eyebrow at you.

Mod Author Details

Vapok Gaming

Author: Vapok

Source: Github

Discord: Vapok's Mod's Community

Patch notes: Thunderstore Changelog

CHANGELOG

Better Sleep Bruh! Changelog

1.0.2 - Client Gui Display Fix

  • Fixed: Sometimes the Better Sleep UI would not appear on initial load and then never appear.
  • Note: This mod does NOT require connect clients to install the mod. But if they want the user interface, the mod must be installed client side.
    • All functions of sleep are managed on the server and controlled through vanilla actions.

1.0.1 - Bug Fixes and Sleep Calculation Refactor

  • Refactored Sleep Calculations
  • Refactored Mod Load and Initializers
  • Added "Use Vanilla Start Sleep" config to not change Valheim's Start Sleep calucation.
  • Added Additional Bonus Configuration Variables
    • Bonus Increment Scale - Default: 20x
      • Adjust the scale factor of benefit of the sleep bonus. This allows server admins to adjust the overall sleep benefit to their liking.
    • Boost Fade (in Second) - Default 3 seconds
      • Adjusts when the boosting will scale down prior to morning, this allows a smooth ramp down to normal speed as morning approaches.
  • Added Testing Capabilities
    • All New Settings Override Server Values for this Mod ONLY. Doesn't actually affect number of players on server or in bed. Used for testing the GUI and Timepseed on the server.
    • Testing Configuration Settings:
      • Enable Testing Mode - Default: false
        • You should NOT enable this on a real public server without warning players.
        • Used for testing settings and making sure you have the right speed for your server.
      • Fake Total Players
        • Spoofs the total number of players on the server that the mod sees.
      • Simulate Players In Bed
        • Spoofs number of players in bed. Does NOT count number of REAL players in bed.
  • Fixed Bug: Not All Players would Register as Players. This caused incorrect max percentages.
  • Fixed Bug: When Player logs out (but not quit Valheim game) mod would not reload.

1.0.0 - Better Sleep Bruh! Initial Release

Gone are the days of asking for everyone to run to a bed, or to log off, just to make night go away faster. Get Better Sleep Bruh! The mod that allows players on a server help make night go faster without completely eliminating night. This allows players to still enjoy benefits of night but also not have to run to a bed to make morning come faster!

  • Provides the following Configurations:
    • Adjusts when players are allowed to sleep. Default vanilla is Noon.
    • Adjust the maximum Bonus Multiplier provided when some players are sleeping.
      • Here's an Example:
        • Let's say you have 5 players on your server. And Maximum Bonus Multiplier is 60% of the time speed if everyone was sleeping.
          • If 5 players jump into bed, then you fall into a dark dream state and hope you can read your dream fast enough before it goes away.
          • If 4 players are in bed, but one player is stuck on a boat, the Bonus Multipler of 60% is applied.
          • If 3 players are in bed, but two players are stuck on a boat, the Bonus Multipler of 45% is applied.
          • If 2 players are in bed, but one player is stuck in a boat, one player is stuck in a mine, and another player is AFK, the Bonus Multiplier of 30% is applied.
          • If 1 player are in bed, and they've been abandoned by all of the other players who went AFK to look at TikTok video, the Bonus Multiplier of 15% is applied.
          • If 0 players are in bed, night passes like normally, with no speed bonus, and clearly no dreams. You'll be tired tomorrow. I'm sure of it.
      • If you've ever played Enshrouded and wished "Man, I wish I could sleep like in Enshrouded!" This mod is for you.
  • Pillow Icons are displayed for each player on the server. As players jump into bed, pillows highlight showing you the number of players in bed.
    • To be clear, this not been tested on very large servers. So if you complain about why this doesn't work with 100 players, I'm just going to wrinkle my eyebrow at you.