Page 1 of 1

/settime?

PostPosted: Wed Sep 11, 2013 03:37
by Gambit
What does it do exactly? I thought it would set the time to whatever so that it could stay day for as long as I want, but using it says the Invalid command.

What be?

PostPosted: Wed Sep 11, 2013 04:37
by Menche
'settime' is a priv that allows the use of the command '/time'. The parameter to '/time' is the hour * 1000, so for noon you would use '/time 12000'. Dawn (it starts getting light) is 5000, and full daylight begins at 6000.

To make the time stay at whatever you set it to, use '/set time_speed 0' to stop the day/night cycle.

PostPosted: Wed Sep 11, 2013 04:54
by Gambit
Menche wrote:'settime' is a priv that allows the use of the command '/time'. The parameter to '/time' is the hour * 1000, so for noon you would use '/time 12000'. Dawn (it starts getting light) is 5000, and full daylight begins at 6000.

To make the time stay at whatever you set it to, use '/set time_speed 0' to stop the day/night cycle.


Ah, I see. I typed /help settime and that gave nothing compared to what you mentioned. (Maybe the /help should be updated. So to continue time is it '/set time_speed 1'?

PostPosted: Wed Sep 11, 2013 05:34
by sfan5
Gambit wrote:
Menche wrote:'settime' is a priv that allows the use of the command '/time'. The parameter to '/time' is the hour * 1000, so for noon you would use '/time 12000'. Dawn (it starts getting light) is 5000, and full daylight begins at 6000.

To make the time stay at whatever you set it to, use '/set time_speed 0' to stop the day/night cycle.


Ah, I see. I typed /help settime and that gave nothing compared to what you mentioned. (Maybe the /help should be updated. So to continue time is it '/set time_speed 1'?

As you can see here the default time speed is 72

PostPosted: Wed Sep 11, 2013 05:54
by Gambit
sfan5 wrote:
Gambit wrote:
Menche wrote:'settime' is a priv that allows the use of the command '/time'. The parameter to '/time' is the hour * 1000, so for noon you would use '/time 12000'. Dawn (it starts getting light) is 5000, and full daylight begins at 6000.

To make the time stay at whatever you set it to, use '/set time_speed 0' to stop the day/night cycle.


Ah, I see. I typed /help settime and that gave nothing compared to what you mentioned. (Maybe the /help should be updated. So to continue time is it '/set time_speed 1'?

As you can see here the default time speed is 72


Oh, now that's helpful. Thanks for the info.

PostPosted: Wed Sep 11, 2013 08:24
by rubenwardy
Gambit wrote:Ah, I see. I typed /help settime and that gave nothing compared to what you mentioned. (Maybe the /help should be updated.)


Gambit:
settime is the privilege
/time is the command

PostPosted: Wed Sep 11, 2013 12:08
by PilzAdam
Gambit wrote:
Menche wrote:'settime' is a priv that allows the use of the command '/time'. The parameter to '/time' is the hour * 1000, so for noon you would use '/time 12000'. Dawn (it starts getting light) is 5000, and full daylight begins at 6000.

To make the time stay at whatever you set it to, use '/set time_speed 0' to stop the day/night cycle.


Ah, I see. I typed /help settime and that gave nothing compared to what you mentioned. (Maybe the /help should be updated. So to continue time is it '/set time_speed 1'?

time_speed 1 makes 1 Minetest day an IRL day (i.e. 24 hours).

PostPosted: Wed Sep 11, 2013 12:52
by jojoa1997
PilzAdam wrote:
Gambit wrote:
Menche wrote:'settime' is a priv that allows the use of the command '/time'. The parameter to '/time' is the hour * 1000, so for noon you would use '/time 12000'. Dawn (it starts getting light) is 5000, and full daylight begins at 6000.

To make the time stay at whatever you set it to, use '/set time_speed 0' to stop the day/night cycle.


Ah, I see. I typed /help settime and that gave nothing compared to what you mentioned. (Maybe the /help should be updated. So to continue time is it '/set time_speed 1'?

time_speed 1 makes 1 Minetest day an IRL day (i.e. 24 hours).
now that would make a cool server. Then it would be more realistic.

PostPosted: Wed Sep 11, 2013 19:39
by Gambit
PilzAdam wrote:
Gambit wrote:
Menche wrote:'settime' is a priv that allows the use of the command '/time'. The parameter to '/time' is the hour * 1000, so for noon you would use '/time 12000'. Dawn (it starts getting light) is 5000, and full daylight begins at 6000.

To make the time stay at whatever you set it to, use '/set time_speed 0' to stop the day/night cycle.


Ah, I see. I typed /help settime and that gave nothing compared to what you mentioned. (Maybe the /help should be updated. So to continue time is it '/set time_speed 1'?

time_speed 1 makes 1 Minetest day an IRL day (i.e. 24 hours).


Yeah, I was playing with those recently and I think I broke it. I had '/set time_speed 72' to reset the speed but the moon just kept going up and down, up and down at the horizon which was kinda funny.

PostPosted: Wed Sep 11, 2013 22:50
by Menche
Gambit wrote:
PilzAdam wrote:
Gambit wrote:Ah, I see. I typed /help settime and that gave nothing compared to what you mentioned. (Maybe the /help should be updated. So to continue time is it '/set time_speed 1'?

time_speed 1 makes 1 Minetest day an IRL day (i.e. 24 hours).


Yeah, I was playing with those recently and I think I broke it. I had '/set time_speed 72' to reset the speed but the moon just kept going up and down, up and down at the horizon which was kinda funny.

You may have to restart the server; I've noticed that turning time_speed back up in-game makes the sun/moon just bounce back and forth.

PostPosted: Sun Sep 15, 2013 19:03
by Rhys
Menche wrote:
Gambit wrote:
PilzAdam wrote:time_speed 1 makes 1 Minetest day an IRL day (i.e. 24 hours).


Yeah, I was playing with those recently and I think I broke it. I had '/set time_speed 72' to reset the speed but the moon just kept going up and down, up and down at the horizon which was kinda funny.

You may have to restart the server; I've noticed that turning time_speed back up in-game makes the sun/moon just bounce back and forth.


I think the sun and moon want to stay in the sky. :/

PostPosted: Fri Sep 20, 2013 23:10
by Wuzzy
Slightly related to topic: I wrote a lengthy article on wiki.minetest.com (old wiki), named Time of day, with a lot of example values (so you don’t have to juggle the numbers). You may find it helpful. The article may be copied to the new wiki in the future (hopefully!), as the admin of the old wiki seems to have disappeared.

As for time_speed (day/night cycle speed), you can calculate the needed time_speed value if you know the desired duration of a Minetest day in (real) hours with this formula:

<time_speed> = 24 / <real time in hours>

A special case is time_speed = 0. With this value, the sun and the moon do not move at all and you could have an eternal dusk (for examle).

PostPosted: Thu Jan 09, 2014 17:54
by Azuna
Thanks, this helped me as well

PostPosted: Fri Jan 10, 2014 00:24
by hoodedice
Azuna wrote:Thanks, this helped me as well


Please refrain from bumping old topics unless you have something new, helpful or really important to say.

Thank you.