List of server commands/time: Difference between revisions
From Vintage Story Wiki
No edit summary |
(added a warning) |
||
(11 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> | |||
<translate> | |||
{{Messagebox | |||
|title= Warning | |||
|text= Using commands to modify time frequently has unwanted side effects. To avoid losing a world, test time commands in a ''separate'' world, and/or create a ''backup''. | |||
}} | |||
<!--T:1--> | |||
<onlyinclude> | |||
*<code>/time [set|get|speed]</code><br />Time related functions | *<code>/time [set|get|speed]</code><br />Time related functions | ||
**<code>/time</code><br /> Shows current time. | **<code>/time</code><br /> Shows current time. | ||
**<code>/time stop</code><br /> Stop passage of time and time affected processes | |||
**<code>/time resume</code><br /> Resume passage of time and time affected processes | |||
**<code>/time set [lunch|day|night|latenight|morning|latemorning|sunrise|sunset|afternoon|midnight|witchinghour]</code><br /> Sets the clock to the given time of day. | **<code>/time set [lunch|day|night|latenight|morning|latemorning|sunrise|sunset|afternoon|midnight|witchinghour]</code><br /> Sets the clock to the given time of day. | ||
**<code>/time set [time]</code><br /> Sets the | **<code>/time set [time]</code><br /> Sets the clock to the time given in hours, in 24 hour format. E.g. 1.5 is 1:30 AM. | ||
**<code>/time add [hours]:[minutes]</code><br /> Adds given hours and minutes to the | **<code>/time setmonth [jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec]</code><br /> Sets the calendar to the given month of the year | ||
**<code>/time add [hours]:[minutes]</code><br /> Adds given hours and minutes to the calendar. | |||
**<code>/time speed [0-9999]</code><br /> Shows or sets current game time speed (default 60). | **<code>/time speed [0-9999]</code><br /> Shows or sets current game time speed (default 60). | ||
**<code>/time hoursperday [0-9999]</code><br /> Shows or sets the current hours per day (default 24). | **<code>/time hoursperday [0-9999]</code><br /> Shows or sets the current hours per day (default 24). | ||
**<code>/time calendarspeedmul</code><br /> Shows or set the calendar speed multiplier, changing the overall time speed in game (default 0.5, making the hours pass by 50% of normal speed). | **<code>/time calendarspeedmul</code><br /> Shows or set the calendar speed multiplier, changing the overall time speed in game (default 0.5, making the hours pass by 50% of normal speed). | ||
{| class="wikitable" | <!--T:2--> | ||
{| class="wikitable sortable" | |||
|- | |- | ||
! Time name !! Time value | ! Time name !! Time value | ||
Line 35: | Line 49: | ||
| witchinghour || 3 | | witchinghour || 3 | ||
|} | |} | ||
</onlyinclude> | |||
<!--T:3--> | |||
{{ll|List of server commands|List of server commands}} | |||
</translate> |
Latest revision as of 06:31, 2 December 2023
Warning
Using commands to modify time frequently has unwanted side effects. To avoid losing a world, test time commands in a separate world, and/or create a backup.
/time [set|get|speed]
Time related functions/time
Shows current time./time stop
Stop passage of time and time affected processes/time resume
Resume passage of time and time affected processes/time set [lunch|day|night|latenight|morning|latemorning|sunrise|sunset|afternoon|midnight|witchinghour]
Sets the clock to the given time of day./time set [time]
Sets the clock to the time given in hours, in 24 hour format. E.g. 1.5 is 1:30 AM./time setmonth [jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec]
Sets the calendar to the given month of the year/time add [hours]:[minutes]
Adds given hours and minutes to the calendar./time speed [0-9999]
Shows or sets current game time speed (default 60)./time hoursperday [0-9999]
Shows or sets the current hours per day (default 24)./time calendarspeedmul
Shows or set the calendar speed multiplier, changing the overall time speed in game (default 0.5, making the hours pass by 50% of normal speed).
Time name | Time value |
---|---|
lunch | 12 |
day | 12 |
night | 20 |
latenight | 22 |
morning | 8 |
latemorning | 10 |
sunrise | 6.5 |
sunset | 17.5 |
afternoon | 14 |
midnight | 0 |
witchinghour | 3 |