Skip to content

HUD, scenes and replay ​

This page lists the commands that you use during the broadcast.

HUD panels ​

PanelToggleShow / hide
Scoreboardtoggle_scoreboardshow_scoreboard / hide_scoreboard
Vetotoggle_vetoshow_veto / hide_veto
Player statstoggle_statsshow_stats / hide_stats
HUD overlay windowtoggle_overlayshow_overlay / hide_overlay

The toggle commands do the same as the MyHUD hotkeys. The show and hide commands do nothing if the panel is already in that state. Use them in scripts.

reload_overlay reloads the overlay window.

Stats of a given player ​

show_player_stats shows the stats of one player, by HUD slot:

json
POST /api/actions/show_player_stats
{ "slot": 3, "provider": "faceit", "durationMs": 8000 }
  • slot: 1 to 9, and 0 for the tenth player. These are the numbers shown on the overlay.
  • provider (optional): faceit, leetify or live.
  • durationMs (optional): how long the panel stays open, in milliseconds.

Color presets ​

set_color_preset applies a color preset of the HUD:

json
POST /api/actions/set_color_preset
{ "presetId": "my-preset" }

To get the preset ids, call GET /api/presets. Open the HUD overlay once first, so it can report its presets.

Scenes ​

The scene window shows the full-screen scenes of MyHUD.

json
POST /api/actions/show_sen_scene
{ "scene": "versus" }

Scenes: versus, talents, sponsors, mapRecap. If the window is already open, MyHUD changes the scene. hide_sen_scene closes the window.

TIP

This command drives the scene window of MyHUD. Scenes that you added to OBS as browser sources follow their own URL and do not change.

Scene overlays ​

The sponsor overlay and the event name badge appear on top of the scenes. You can turn them on or off and move them:

json
POST /api/actions/set_sponsor_overlay
{ "enabled": true, "position": "bottom-right" }
json
POST /api/actions/set_event_badge
{ "enabled": false }

Positions: top-left, top-center, top-right, bottom-left, bottom-center, bottom-right. Send enabled, position or both.

These two commands need the main MyHUD window to be open.

Smart Observer ​

json
POST /api/actions/set_smart_observer
{ "enabled": true, "mode": "auto", "cinematicEnabled": false }
  • mode: auto changes the point of view by itself; suggest only highlights the suggested player.
  • cinematicEnabled: turns the cinematic freeze cam on or off.

Send at least one field. To turn the Smart Observer on, you need an active subscription. Without one, MyHUD answers 503 unavailable.

Replay ​

save_replay does the same as the replay hotkey: it saves the OBS replay buffer and plays it on the HUD. OBS must be connected in MyHUD > OBS. If it is not, MyHUD answers 503 unavailable.

Unlike the hotkey, this command works even when CS2 is not in the foreground.

Read the current state ​

bash
curl http://127.0.0.1:44555/api/state

The answer tells which panels are visible, which windows are open, the current scene and the OBS status. See HTTP API.