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
- In OBS, add a Browser Source to your scene
- Set the URL to:
https://rf4it.sandoramix.dev/clock- Set Width and Height (recommended:
240 × 100) - Enable Refresh browser when scene becomes active
No custom CSS is needed — the widget handles its own background.
URL Parameters
| Parameter | Values | Default | Description |
|---|---|---|---|
bg | transparent | dark | dark | Set to transparent to remove the background |
title | any string | 0 | (locale default) | Custom label above the time; set to 0 to hide it |
Default (dark background)
https://rf4it.sandoramix.dev/clockSemi-transparent dark background — visible on any scene.
Transparent background
https://rf4it.sandoramix.dev/clock?bg=transparentUse 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=0Custom label:
https://rf4it.sandoramix.dev/clock?bg=transparent&title=MyStreamIf 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
@sandoramixcredit shown in the bottom-right corner
