Project Zomboid

Project Zomboid

1,294 ratings
Sleep With Friends v1.3
2
2
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
508.512 KB
18 Dec, 2021 @ 7:01pm
7 Jun @ 6:55am
10 Change Notes ( view )

Subscribe to download
Sleep With Friends v1.3

Description
Sleep With Friends v1.3 - Sleeping Solution for Multiplayer.

Get a full nights rest in multiplayer in a fraction of the time! No more 20+ minute sleep times! No more fatigue-less games! No more organizing a server bedtime!




v1.3 CHANGES
  • Updated mod structure for use in Build 42




Sleep With Friends' settings can be found under Time in your Sandbox Settings.

You must also have the mod enabled to see the options in the UI!



+++WORKS ON ANY vanilla DAY LENGTH SETTING+++


Being that the mod is just a formula, certain sleep time lengths combined with certain day lengths will produce decimals (ex, it could calculate 6.45 in-game minutes).
As a result, you may sleep a bit less or more than the time you set.




BE SURE YOUR (servername)_SandboxVars.lua HAS THESE 4 VALUES.

}, SleepWithFriends = { RTorIG = 1, SleepLength = "2.0", EndurMulti = "2.0", AutoWake = 1, }, }

Default settings:
  • Real-Time minutes (Real-Time minutes = 1, In-Game hours = 2)
  • 2 of above setting
  • Endurance recover 2x speed of fatigue recovery
  • Auto wake enabled (on = 1, off = 2)

Make sure your server also has the mod's Workshop ID# and Mod ID name in the (servername).ini
Mods=SleepWithFriends; WorkshopItems=2686624983;



NOTICE:

This mod does not modify the vanilla sleep system.
It records your stats when you start sleeping, reduces the recorded stats according to the mods formula to suit the time desired, then applies them as your stats after one in-game minute.
Time will fast-forward still if you are the only player online or everyone is also sleeping.



Workshop ID: 2686624983
Mod ID: SleepWithFriends
126 Comments
Cyan_Cabbage 9 Jul @ 12:46pm 
Mod was working fine, i spent days sleeping the desired amount on MP, then out of nowhere it stopped working, all characters would just sleep 20 in-game minutes always. Tried changing the sandbox options and even using the mod that lets you change sandbox options in-game but nothing worked.
SilverVixen 20 Jun @ 5:49am 
alright thank you
Snuggles  [author] 19 Jun @ 8:23pm 
@SilverVixen

"SleepLength" is how many of the set units (Real time minutes or In game hours) you will sleep for if you are fully fatigued.


EXAMPLE 1
RTorIG = 1,
SleepTime = "5.0"

These settings would have you sleep for a full 5 minutes IRL if your character is fully fatigued.


EXAMPLE 2
RTorIG = 2,
SleepTime = "2.0"

These settings would have you sleep for 2 in-game hours if your character is fully fatigued.
SilverVixen 19 Jun @ 3:19pm 
for sleep length is it the multiplier for fatigue recovered? for example higher numbers mean faster sleep?
Snuggles  [author] 11 Jun @ 1:42pm 
@marshmallow_justice Please unsub and resub.

I remember the original .png was corrupted on first upload of v1.3 and I had to open and resave the file in an editor. I find the file and get no issue now when using the workshop version.

Feel free to DM on Steam or Discord if the issue persists. I use the same username on discord and I am in Zomboid server.
marshmallow justice 10 Jun @ 11:22pm 
I got an error opening my Mods after the update regarding the .png

ERROR: General , 1749622679562> ExceptionLogger.logException> Exception thrown java.util.concurrent.ExecutionException: java.io.IOException: Not a valid PNG file at FutureTask.report. Message: D:\SteamLibrary\steamapps\workshop\content\108600\2686624983\mods\SleepWithFriends\icon.png

It seems to be the small px size thumbnail icon missing, as when I click it the sleeping picture of the people shows up on the right side.
Snuggles  [author] 8 Jun @ 7:10pm 
I have re-opened comments just in case issues arise from the mod structure update.
Usage should not have changed at all, just that the mod now works in both Build 41 and 42.
Snuggles  [author] 11 Jan, 2022 @ 12:04pm 
Eyyy thats awesome!
Zantimer 11 Jan, 2022 @ 4:40am 
Circled back to say we've found a modder with ready and about to be published tools fixing the issues with mod versions on dedicated server, rendering modpacks pointless, leading me to announce we won't be robbing your mods off of subscribers! lol
Zantimer 11 Jan, 2022 @ 3:39am 
Thank you, certainly will note that down!