List of server commands/time: Difference between revisions

From Vintage Story Wiki
m (remove passtimewhenempty from this page, it should not be here)
No edit summary
Line 2: Line 2:
**<code>/time</code><br /> Shows current time.
**<code>/time</code><br /> Shows current time.
**<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 internal calendar to the time given in hours, 1.5 is 1:30 AM.
**<code>/time set [time]</code><br /> Sets the calendar to the time given in hours, 1.5 is 1:30 AM.
**<code>/time setmonth [jan|feb|mar|apr|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 internal calendar.
**<code>/time add [hours]:[minutes]</code><br /> Adds given hours and minutes to the internal 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).

Revision as of 19:22, 5 October 2021

  • /time [set|get|speed]
    Time related functions
    • /time
      Shows current time.
    • /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 calendar to the time given in hours, 1.5 is 1:30 AM.
    • /time setmonth [jan|feb|mar|apr|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 internal 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