[SCRIPT] Endless Day

The next update will be available on Wednesday, December 18, in the early evening (GMT+1).

This update will not yet replace the Java version, instead it is the actual content update. We'll provide more information about the transition together with the update.
  • About:
    It's a very basic script that sets time to 9am and starts a timer with a 1200 seconds(20 real minutes) interval or 12 in-game hours
    If you need to check how your world looks at night, just use console 'tod <time>' or 'settime <time>' commands, the timer will continue working anyway and once in 20 real minutes it will set time to 9 o'clock.


    Installation:
    unzip and place endlessday folder in your server's scripts folder (or game scripts folder in case of singleplayer).
    It will run automatically on server start and doesn't use any chat commands.


    P.S.:
    Why not to set timer to 2 seconds delay = 1 in-game minute(or even 1 sec) and freeze the in-game time this way?
    Well I've tried that and it totally failed, because the method LuaServer:setGameTime() broadcasts the message that server set time bla-bla and with 2 seconds delay it spams it quick enough :) I guess that it would be a request to developers to remove the message broadcasting or implement "freeze time" option in-game (or in console), what do you think, @red51 ?


    lol the description is much bigger than the script itself, but hope it'll be useful for someone.

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!