Omnisight docs

Global Config Reference

Home

Global Config Reference

Server-wide defaults, ranges, and feature toggles.

Global Config Reference

File: mods/OMNISIGHT/config.json

Raycast Settings

FieldTypeDefaultRangeDescription
eyeHeightnumber1.620.0 - 10.0Player eye height for raycasting
maxReachnumber10.01.0 - 100.0Max distance for block/entity lookups
rayStartOffsetnumber0.40.0 - 5.0Offset from eyes to raycast start

Tick Intervals

FieldTypeDefaultRangeDescription
lookUpdateIntervalTicksnumber31 - 100Look-at data update frequency
clockUpdateIntervalTicksnumber201 - 100Clock display update frequency

Default Player Settings

FieldTypeDefaultDescription
defaultHudModestring"OFF"OFF, SIMPLE, FULL, or CLOCK
defaultHudSizestring"medium"small, medium, or large
defaultInfoPositionstring"top_right"Info panel screen position
defaultClockPositionstring"top_right"Clock screen position
defaultClockVisiblebooleantrueClock visibility for new players
defaultClockDisplayobject-Clock layout config (see Clock Display page)
defaultSimpleDisplayobject-Info panel config (see Simple Display page)

Server-Wide Feature Toggles (guiElements)

Controls which HUD components are available server-wide. When a component is disabled, its settings are hidden from the GUI.

"guiElements": {
  "infoPanelEnabled": true,
  "clockEnabled": true,
  "equipmentEnabled": true
}
FieldTypeDefaultDescription
infoPanelEnabledbooleantrueEnables/disables the info panel server-wide
clockEnabledbooleantrueEnables/disables the clock server-wide
equipmentEnabledbooleantrueEnables/disables the equipment display server-wide

Legacy migration: if flat clockEnabled or equipmentEnabled fields are found at the config root, they are automatically migrated into the guiElements object and removed.

Permissions

FieldTypeDefaultDescription
permissionModestring"none""none", "op", or "custom" (see Permissions page)

Legacy migration: if requiresOp: true is found in config, it is automatically migrated to permissionMode: "op" and requiresOp is removed.

Supported Positions

OmniSight accepts flexible input (like TopRight, top-right, top right) and normalizes to snake_case.

  • Info panel: top_left, top_center, top_right
  • Clock: top_left, top_center, top_right, bottom_left, bottom_center, bottom_right
  • Equipment HUD: top_left, top_right, bottom_left, bottom_right

Example config.json

{
  "eyeHeight": 1.62,
  "maxReach": 10.0,
  "rayStartOffset": 0.4,
  "lookUpdateIntervalTicks": 3,
  "clockUpdateIntervalTicks": 20,
  "defaultHudMode": "OFF",
  "defaultHudSize": "medium",
  "defaultInfoPosition": "top_right",
  "defaultClockPosition": "top_right",
  "defaultClockVisible": true,
  "permissionMode": "none",
  "guiElements": {
    "infoPanelEnabled": true,
    "clockEnabled": true,
    "equipmentEnabled": true
  }
}