List of server commands/time: Difference between revisions
From Vintage Story Wiki
(Marked this version for translation) Tags: Mobile edit Mobile web edit |
(added a warning) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<translate> | <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--> | <!--T:1--> | ||
<onlyinclude> | <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 clock to the time given in hours, in 24 hour format. E.g. 1.5 is 1:30 AM. | **<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. | ||
Line 44: | Line 52: | ||
<!--T:3--> | <!--T:3--> | ||
{{ll|List of server commands|List of server commands}} | |||
</translate> | </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 |