Project Zomboid

Project Zomboid

Just Sleep
56 Comments
Sturmschütze 5 Aug @ 4:15pm 
The mod that adds blankets seems to have busted this for me.
Ragley 21 Jul @ 10:26am 
I'm having issues getting this to work anymore, I have it at the very bottom of my load order.
odellus 6 Jun @ 9:57am 
can't sleep in vehicles.
k913tardis 27 May @ 9:20pm 
no offense to any other PZ mod creators but I think this is my favorite
Ichinin 2 May @ 2:33pm 
Still works in build 41.78.16 as of 2024-05-02.

This helps passing time when growing crops etc in MP.
That moment then there is no painkillers in PR and you need to sleep. Fuck, finnaly.
Wyatt The Sans 9 Apr @ 1:37am 
Does not work well in 24H Sandbox Settings.
Spider4896 30 Mar @ 6:47am 
Don't think this mod works anymore, tried to get it working by itself but character won't sleep in a bed while in pain or while not tired.
luca 16 Jan @ 10:32am 
doesn't seem to work with a tent, beds will work just fine but the normal conditions still apply to tents
Luko 1 Dec, 2023 @ 3:02pm 
Was so great until it just stopped working after I drank a bourbon
DerKreepero 14 Nov, 2023 @ 5:37am 
You're a lifesaver.
RandomAviator 8 Oct, 2023 @ 7:24pm 
thank you dude i can't find any sleeping pills in Project Russia and my sim is in alot of pain
Huskram 16 Sep, 2023 @ 1:03am 
I love this so much, the only thing is that it doesn't seem to work in cars or tents. Went on a camping trip and now its dark and raining and I cant sleep :c :pillow:
DahakaMVl  [author] 7 Aug, 2023 @ 2:04pm 
@Bliss ¯\_(ツ)_/¯ Will probably update the mod when the next Project Zomboid version releases. Will consider it then.
Bliss ¯\_(ツ)_/¯ 7 Aug, 2023 @ 8:48am 
@DakahamMVI can you make it so that sleeping while offline doesn't make you recover from bad moodles and also doesn't recover health/blood. At least as a sandbox option. Thank you!
xFaZe_bRuTaLx 19 Jul, 2023 @ 10:10am 
any way to make this work in cars?
Bliss ¯\_(ツ)_/¯ 7 Jul, 2023 @ 2:56pm 
Please put bad side effects for people that sleep while feeling pain/stressed/panic/sadness. Like characters get a negative multiplier for the fatigue restoration. :spiffo:
Wyatt The Sans 12 May, 2023 @ 1:58am 
Bro... Sleeping in real time mode...
DreezyMoto 7 May, 2023 @ 2:46am 
What @TheodoreCHill said :( I hate how this game doesnt let you sleep even if you still have fatigue.
Apple Bro 6 May, 2023 @ 8:55am 
Most Realistic Project Zomboid Ever
󠀡󠀡󠀡 23 Apr, 2023 @ 2:22pm 
just a minor nitpick, but somehow incompatible with the True Actions Sit/Sleep mod. As soon as you lie down on the bed, this mod loses its function. Only works while standing.
Sturmschütze 2 Apr, 2023 @ 2:13pm 
Strange. I still get a "Not tired enough to sleep" notif.
darian 1 Feb, 2023 @ 10:17am 
conflicts with stay awake longer mod
魔王ヴィンセント 31 Jan, 2023 @ 9:26pm 
im also having this same issue but hilariously its in SP
魔王ヴィンセント 31 Jan, 2023 @ 9:26pm 
@JF2 think of it as like a nap then it kinda makes sense for those 10-30 min of sleep
魔王ヴィンセント 31 Jan, 2023 @ 8:40pm 
sleep on it works idk what the guy below said and it works for MP
JF2 26 Jan, 2023 @ 4:44pm 
Hey, I'm having a weird issue where it allows me to sleep in my MP game regardless of last slept, but if I'm not tired, only like 10-30 minutes pass before I get woken up automatically. It's still much faster than just waiting when my friends' fatigues aren't lined up with mine but its still kind of odd and cumbersome.

I assume its a mod interaction as I haven't had time to test it just yet. I will test later today but was wondering if someone had already ran into this issue and knew where to start looking for issues.
TimotheoBenjameo 26 Dec, 2022 @ 8:54am 
Can someone make a patch for sleep on it mod?
DahakaMVl  [author] 19 Dec, 2022 @ 1:08pm 
@Timothy Seems to be an incompatibility with the "SleepOnIt" mod
TimotheoBenjameo 19 Dec, 2022 @ 8:16am 
at zombie.gameStates.IngameState.UpdateStuff(IngameState.java:566)
at zombie.gameStates.IngameState.updateInternal(IngameState.java:1623)
at zombie.gameStates.IngameState.update(IngameState.java:1333)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101)
at zombie.GameWindow.logic(GameWindow.java:298)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:667)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
`
TimotheoBenjameo 19 Dec, 2022 @ 8:16am 
`attempted index: isAsleep of non-table: null
function: sleepOnIt -- file: SleepOnIt.lua line # 4 | MOD: Sleep On It
java.lang.RuntimeException: attempted index: isAsleep of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:65)
at zombie.GameTime.update(GameTime.java:671)
TimotheoBenjameo 19 Dec, 2022 @ 8:15am 
I got an error heres the code
PattyRick 10 Dec, 2022 @ 7:14pm 
Any chance on making this mod compatible with Sleep With Friends? would love to use both but they dont work with eachother
Damaskox 15 Nov, 2022 @ 3:40pm 
Could we have this also for the tents and the cars?
Thanks!
DahakaMVl  [author] 14 Nov, 2022 @ 1:09pm 
@YWN In the next update. I'm very busy right now so probably around PZ version 42.
[VG] YWN 14 Nov, 2022 @ 9:58am 
Is there a way to just disable autowake?
DahakaMVl  [author] 14 Nov, 2022 @ 12:23am 
Yes
[VG] YWN 13 Nov, 2022 @ 6:44pm 
Wanted to know about the sp as well
WolfLegend224 29 Oct, 2022 @ 4:41am 
Does it work in SP Sandbox mode?
トミー (Tommy) 7 Oct, 2022 @ 10:52pm 
Ohh gimme gimme patch :)
DahakaMVl  [author] 7 Oct, 2022 @ 4:06am 
@FrogMaster TrueActions can conflict if on a dedicated server. Patch is coming soon
FrogMaster 6 Oct, 2022 @ 10:08pm 
In that case it does not seem to be working for me; My players and I still need to ensure we're no in pain, panicked, and time since last slept, etc...

I'm thinking that perhaps I'm encountering a mod conflict but I'm not 100% sure.

This is the list of mods on my server currently:
https://steamproxy.net/sharedfiles/filedetails/?id=2869002995
DahakaMVl  [author] 4 Oct, 2022 @ 2:14am 
@FrogMaster There's nothing else to do regarding the mod itself. On a dedicated server you need to put the Workshop id in "WorkshopItems=..." and the mod id in "Mods=...". Apart from that there's nothing else.
FrogMaster 3 Oct, 2022 @ 10:13pm 
@DahakaMVl

It's a dedicated server; Normally all I need to do is add the entry. It does show the mod in the server list. Is there something specific that needs to be done to enable it?

Perhaps I'm overlooking the setting, but I cannot seem to find one.
DahakaMVl  [author] 3 Oct, 2022 @ 2:22am 
@FrogMaster Don't forget to enable the mod as well. not only add the workshop entry.
FrogMaster 2 Oct, 2022 @ 11:21pm 
I've added this mod to my server, but it doesn't seem to be working.
Sleeping still seems to function just as it did before.
Bliss ¯\_(ツ)_/¯ 1 Sep, 2022 @ 8:44pm 
A suggestion for the mod (not sure if doable): if the player chooses to sleep while panicked/on pain/stressed he recovers only half his tiredness.
DahakaMVl  [author] 27 Aug, 2022 @ 11:21pm 
@sword game enjoyer Yes
joyce manor enjoyer 27 Aug, 2022 @ 8:23pm 
save game compat?
DahakaMVl  [author] 24 Aug, 2022 @ 10:57pm 
@Ato There are other mods for that: One is "Sleep with Friends".