IG Clock
00:00

Clock Widget

The in-game clock widget displays the current RF4 in-game time, synchronized with the game server. Designed as a browser source for streaming tools like OBS Studio.

Usage with OBS Studio

  1. In OBS, add a Browser Source to your scene
  2. Set the URL to:
https://rf4it.sandoramix.dev/clock
  1. Set Width and Height (recommended: 240 × 100)
  2. Enable Refresh browser when scene becomes active

No custom CSS is needed — the widget handles its own background.

URL Parameters

ParameterValuesDefaultDescription
bgtransparent | darkdarkSet to transparent to remove the background
titleany string | 0(locale default)Custom label above the time; set to 0 to hide it

Default (dark background)

https://rf4it.sandoramix.dev/clock

Semi-transparent dark background — visible on any scene.

Transparent background

https://rf4it.sandoramix.dev/clock?bg=transparent

Use when you want to layer the clock over a custom background or scene image.

Customizing the Title Label

The small label above the time can be changed or hidden via the title URL parameter.

Hide the label:

https://rf4it.sandoramix.dev/clock?bg=transparent&title=0

Custom label:

https://rf4it.sandoramix.dev/clock?bg=transparent&title=MyStream

If title is omitted the widget uses the default locale label.

Technical Notes

  • Updates every 2.5 seconds (RF4 minimum time resolution)
  • Uses UTC server time — no local timezone needed
  • Fully static after load — no ongoing server requests
  • @sandoramix credit shown in the bottom-right corner