Omnisight docs

Clock Display Reference

Home

Clock Display Reference

Layout and element options for defaultClockDisplay and clockDisplay.

Clock Display Structure (defaultClockDisplay / clockDisplay)

Clock settings are split into layout and elements.

Example structure:

"defaultClockDisplay": {
  "layout": {
    "use24Hour": false,
    "showBackground": true,
    "backgroundStyle": 0,
    "verticalLayout": false,
    "textAlignment": "Left"
  },
  "elements": {
    "time": { "show": true, "color": "#ffffff", "secondRow": false },
    "date": { "show": true, "color": "#ffffff", "secondRow": false }
  }
}

Layout fields

  • use24Hour (boolean): 24-hour clock format.
  • showBackground (boolean): show a background behind the clock.
  • backgroundStyle (number): style index (0 is default).
  • verticalLayout (boolean): stack elements vertically.
  • textAlignment (string): Left, Center, or Right.

Element keys

time, date, biome, weather, coordinates, chunk, moonPhase, timePeriod, zone, clockTier

Each element supports:

  • show (boolean)
  • color (string, hex like #ffffff)
  • secondRow (boolean)

If an element is missing, OmniSight uses its internal defaults.