List of server commands/time: Difference between revisions
From Vintage Story Wiki
No edit summary |
(added a warning) |
||
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> |
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 |