Mods / Day and Night Cycles
Author: BillyGalbreath
Side: Server
Created: Oct 27th 2023 at 10:42 PM
Last modified: Jan 28th at 1:33 AM
Downloads: 722
Follow Unfollow 31
Latest file for Various v1.19.x:
DayNightCycles-1.0.1.zip
1-click install
Control how long days and nights last, separately, in real-life minutes. I made this so I could set long days and short nights on my server.
Default config is set to 24 minutes for both days and nights, which is equivalent to the default vanilla 48 minute day and night cycle.
daynightcycles.yml:
Speed:
# Number of IRL minutes should days last.
# Vanilla default is 24 minutes.
Day: 24
# Number of IRL minutes should nights last.
# Vanilla default is 24 minutes.
Night: 24
This mod will automatically override both the calendarSpeedMul (default 0.5) and timeSpeedModifier (default 60) and make adjustments to get your the desired length of day/night that you set in the config.
Unfortunately, the mod is not smart enough to know seasons or latitude differences. Time is a global thing, so it has to tick equally for everyone everywhere all the time. Because of this, I made it simple and set daytime from 06:00-18:00 and night time 18:00-06:00.
-------------------------------------------------------------------------------------------------------------
Remember, I build these mods for myself and my family. Not you. I owe you nothing. I just like sharing what I've built with others for free. You will receive minimal to no support when using any of my mods.
-------------------------------------------------------------------------------------------------------------
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v1.0.1 | 310 | Jan 28th at 1:33 AM | Show | DayNightCycles-1.0.1.zip | Install now | |
v1.0.0 | 412 | Oct 27th 2023 at 10:50 PM | Show | DayNightCycles-1.0.0.zip | Install now |
The_True_Goo, I can assure you the config file is there. But to answer your question, you can copy the text from the description above (all 7 lines of it) and put it into a file named "daynightcycles.yml" and place that file in "VintagestoryData/ModConfig/" directory.
Hi there. I downloaded this both for my client and server. It doesn't seem to give me any config. is there anyway that I can get a config file for it manually?
CrusadingPriest
They all already are. Only one of them needed to be updated (Sharable Waypoints). All the others work just fine as-is ;)
Hello, I was wondering if you would be updating your mods for 1.19.0 Stable? I love just about all of your mods so I hope you will.
Thanks!
Atari2600 The daynightcycles.yml is located in \AppData\Roaming\VintagestoryData\ModConfig That's where you can make changes.
Hey, might need more coffee, but can you explain how to get to the config? When opening the .zip I can't find, and don't see any keys ingame. I went through the .json file and can't see where to tweak the cycles. Are we supposed to add via copy/paste the daynightcycles.yml above? Thanks.
Thanks for the clarification. I also did some testing and it works perfectly and mostly preserves the natural day lengths during the height of summer and winter. In summer, it can still kick into "night mode" while the sun is still up on the horizon, and conversely kicks in a little while after night has fully set in during the winter. Overall still does exactly what I want, which is to have shorter nights and longer days-- and set to meaningful values, the discrepancy during those last hours of the day won't be noticed.
Fantastic mod. I think this will be a great middleground for those in my server that don't really appreciate the full cycle being twice as long.
Chumber
This mod overrides both calendarSpeedMul (this gets adjusted depending on day/night and what you have set in the config) and timeSpeedModifier (forces 60 to make equations easier on calculating calendarSpeedMul)
It's not smart enough to know seasons or latitude differences. Time is a global thing, so it has to tick equally for everyone everywhere all the time. Because of this, I made it simple and set daytime from 06:00-18:00 and night time 18:00-06:00.
I updated the decsription with this information since it was unclear ^_^
Billy lives in my brain and makes the mods that I can't.
Does this conflict with calendarspeedMul, or override it? I have that set on my server so that 2 IRL hours = 24 hours in-game, so if this allows me to tune that while keeping vanilla speedMul, that'd be absolutely perfect.
Also curious how this works in the late seasons, when the night cycle naturually gets longer. Does it override that as well? So many questions. Time to do some testing I suppose.