Space Engineers

Space Engineers

951 ratings
Sleep Mod
7
6
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script
File Size
Posted
Updated
6.871 MB
Jun 24, 2019 @ 9:15pm
Jul 25, 2020 @ 11:29pm
3 Change Notes ( view )

Subscribe to download
Sleep Mod

Description
This mod lets you sleep through the night in Cryo Pods, that’s really about all you need to know.

How It Works
If it’s between 6pm and 7am (my HUD Compass mod has a clock, if you want to know the time), all players are in Cryo Prods, all players are within 10km of each other and you’re on a planet, you’ll sleep through the night :)

You get a little message whenever you’re in a Cryo Pod telling you why you can’t sleep, if there’s a problem.

The mod also has a little alarm noise for when you wake up, it’s disabled by default and can be enabled or disabled at any time using the following chat command:

/SleepMod EnableNoises [True/False]

Note that the noise is a placeholder until I can be bothered getting a better one.

Notes:
Your settings (EnableNoises) are stored in global storage, that is they are in a xml file in your Space Engineers AppData. This means your settings apply between worlds/servers.

Any block that extends from IMyCryoChamber is a valid Cryo Pod for sleeping, this includes beds and modded beds/Cryo Pods.
Popular Discussions View All (1)
1
Apr 7 @ 2:09pm
Crash on Load
SeeJayEmm
196 Comments
[82DK] wyomingwolf May 16 @ 6:46pm 
Nvm, does change the time yet no message of sleeping.
[82DK] wyomingwolf May 16 @ 5:36pm 
Think recent update broke the mod, not able to sleep through night
Meya Mar 23 @ 4:36pm 
This game used to do this without a mod or maybe that had a mod I remember going into cryopod in first survival world and it'd do that with the sun was so nice
Zen_Man Dec 27, 2023 @ 11:37am 
Useless for me as time does not progress (devices do not continue to work).
ButtKraken Oct 31, 2023 @ 1:26pm 
The world loads fine on the next game load, first load in does this.
ButtKraken Oct 31, 2023 @ 1:25pm 
Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.
at Zkillerproxy.SleepMod.CryoCommunication.occupiedCryoCount()
at Zkillerproxy.SleepMod.Server.sleep()
at Zkillerproxy.SleepMod.Server.UpdateBeforeSimulation()
Crowigor Sep 4, 2023 @ 5:16am 
Great mod. It would be nice to add a question when the character lies down. "Do you want to skip time? Yes/No"
Patrick Jul 27, 2023 @ 6:22pm 
Had a random crash. Here's the stack trace. Oddly enough, I don't have any cryopods in the world. About 15 minutes prior I deleted a bunch of MES entities, so it's possible there were cryopods on some of them. Regardless, just fyi, this occurred. Feel free to visit my discord if you want to troubleshoot.
[code]
Exception occurred: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at Zkillerproxy.SleepMod.CryoCommunication.occupiedCryoCount()
at Zkillerproxy.SleepMod.Server.sleep()
at Zkillerproxy.SleepMod.Server.UpdateBeforeSimulation()
[\code]
-DF- Ashley Vargrand Jul 18, 2023 @ 3:15pm 
hi, its a nice mod.

can i change the 10km range from other players? so i can serverwide go sleep?
KagedDaemon Jun 27, 2023 @ 11:56am 
@knight it advances time by uping the timescale while the player(s) are in Cryopods