maaarv 1 Posted June 30, 2021 so i want the day night cycle on my server disabled because having a night on a Sandbox Server is stupid and bad! i searched for a while and the only thing i found was people complaining about Servers disabling the cylce but HOW how can i disable the whole time cycle that it´s always like 1 pm on the Server? HELP! Marvin Share this post Link to post Share on other sites
sarogahtyp 1108 Posted June 30, 2021 (edited) Idk if there is an easier eden solution but i doubt it. You could script a server side while loop which skips some hours at a specific time. You ll need date to get the actual time and skipTime to skip some hours. In your while u should use a long sleep maybe for 3600 seconds. If you skip 12 hours at 6 p.m. then u ll have daytime forever Edited June 30, 2021 by sarogahtyp Share this post Link to post Share on other sites
maaarv 1 Posted June 30, 2021 4 hours ago, sarogahtyp said: Idk if there is an easier eden solution but i doubt it. You could script a server side while loop which skips some hours at a specific time. You ll need date to get the actual time and skipTime to skip some hours. In your while u should use a long sleep maybe for 3600 seconds. If you skip 12 hours at 6 p.m. then u ll have daytime forever thanks for you´re help i went with a trigger which loops every 7200 seconds (2h) and set´s the date to 13:30 again 1 Share this post Link to post Share on other sites
pierremgi 4851 Posted June 30, 2021 See also setTimeMultiplier That can be enough for lasting 10 days (so 5 days on server without night, more in summer time) with 0.1 setting. 1 Share this post Link to post Share on other sites
maaarv 1 Posted July 1, 2021 13 hours ago, pierremgi said: See also setTimeMultiplier That can be enough for lasting 10 days (so 5 days on server without night, more in summer time) with 0.1 setting. the server is supposed to run for ever so that would not be very practical Share this post Link to post Share on other sites
beno_83au 1369 Posted July 1, 2021 20 minutes ago, maaarv said: the server is supposed to run for ever so that would not be very practical At some point, likely regularly, you're going to have to do a restart to maintain performance. 1 Share this post Link to post Share on other sites
stanhope 411 Posted July 1, 2021 setTimeMultiplier 0.1 [] spawn { while {true} do { waitUntil {sleep 60; sunOrMoon != 1}; while {sunOrMoon != 1} do { skipTime 1; sleep 1; }; }; }; Put into init server and it'll disable night, adjust values to your liking, untested. 2 Share this post Link to post Share on other sites