/settime?

User avatar
Gambit
Member
 
Posts: 452
Joined: Sat Oct 29, 2011 19:31

/settime?

by Gambit » Wed Sep 11, 2013 03:37

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?
Current Projects: MineToon | PixelBOX
Gambit's Checkmate Server - 43.65.296.232 - port: 30001
 

User avatar
Menche
Member
 
Posts: 994
Joined: Sat Jul 02, 2011 00:43

by Menche » Wed Sep 11, 2013 04:37

'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.
Last edited by Menche on Wed Sep 11, 2013 04:40, edited 1 time in total.
An innocent kitten dies every time you top-post.
I am on the Voxelands Forums more often than here.
Try Voxelands (forked from Minetest 0.3) by darkrose
 

User avatar
Gambit
Member
 
Posts: 452
Joined: Sat Oct 29, 2011 19:31

by Gambit » Wed Sep 11, 2013 04:54

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'?
Current Projects: MineToon | PixelBOX
Gambit's Checkmate Server - 43.65.296.232 - port: 30001
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Wed Sep 11, 2013 05:34

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
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Gambit
Member
 
Posts: 452
Joined: Sat Oct 29, 2011 19:31

by Gambit » Wed Sep 11, 2013 05:54

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.
Current Projects: MineToon | PixelBOX
Gambit's Checkmate Server - 43.65.296.232 - port: 30001
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Sep 11, 2013 08:24

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
Last edited by rubenwardy on Wed Sep 11, 2013 08:24, edited 1 time in total.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Sep 11, 2013 12:08

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).
Last edited by PilzAdam on Wed Sep 11, 2013 12:08, edited 1 time in total.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Sep 11, 2013 12:52

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.
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
Gambit
Member
 
Posts: 452
Joined: Sat Oct 29, 2011 19:31

by Gambit » Wed Sep 11, 2013 19:39

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.
Current Projects: MineToon | PixelBOX
Gambit's Checkmate Server - 43.65.296.232 - port: 30001
 

User avatar
Menche
Member
 
Posts: 994
Joined: Sat Jul 02, 2011 00:43

by Menche » Wed Sep 11, 2013 22:50

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.
An innocent kitten dies every time you top-post.
I am on the Voxelands Forums more often than here.
Try Voxelands (forked from Minetest 0.3) by darkrose
 

Rhys
Member
 
Posts: 379
Joined: Wed May 22, 2013 15:22

by Rhys » Sun Sep 15, 2013 19:03

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. :/
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

by Wuzzy » Fri Sep 20, 2013 23:10

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).
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

Azuna
Member
 
Posts: 89
Joined: Fri Sep 27, 2013 22:50

by Azuna » Thu Jan 09, 2014 17:54

Thanks, this helped me as well
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33

by hoodedice » Fri Jan 10, 2014 00:24

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.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 20 guests

cron