/time Command

Changes or queries the world's game time. See more in the Popular Commands documentation.

Permission Level Game Directors
Requires Cheats? Yes

Usage

Add time, integer

/time add <amount: int>

Add an integer amount of time in-game.

Set time, integer

/time set <amount: int>

Set an integer amount of time in-game.

Set time spec

/time set <time: TimeSpec>

Set a time spec time in-game.

Query time

/time query <time: TimeQuery>

Query a time in time query.

Arguments

  • amount: int An integer of the time to add or set. Default: 0.

  • time: TimeSpec

  • time: TimeQuery

Enums

TimeQuery

Enum of Time Queries

Values

  • daytime Daytime
  • gametime Gametime
  • day Day

TimeSpec

Enum of Time Specs

Values

  • day Day
  • sunrise Sunrise
  • noon Noon
  • sunset Sunset
  • night Night
  • midnight Midnight