Tally

Your OBS replay buffer in your HUD. Save clips on a key, auto-clip your kills and control recording from the game. Client-side, no mixins.
Link Tally to OBS on your own PC with the built-in WebSocket server (host, port and password). Auto-connect quietly retries in the background, and Tally only ever talks to that address.

Link Tally to OBS on your own PC with the built-in WebSocket server (host, port and password). Auto-connect quietly retries in the background, and Tally only ever talks to that address.

Description

Tally

Your OBS replay buffer, in your HUD. Tally is a client-side Fabric mod for Minecraft 1.21.11 that links the game to OBS Studio, so you can see your replay buffer and save clips without leaving the game. It talks to OBS through OBS's own built-in WebSocket server and never sends anything to a Minecraft server.

The name comes from a studio tally light: the small red lamp on a camera that tells everyone it is live. Tally puts that lamp in your HUD.

Works with OBS Studio 28+. Tally is an independent project, not affiliated with or endorsed by the OBS Project.

What it does at a glance

  • Shows your replay buffer state in a small viewfinder-style HUD: REPLAY ON, OFF, QUEUED (a clip is about to save) or SAVED (a clip just landed).
  • Saves clips on a key (F8 by default) from the replay buffer.
  • Auto-clips your kills. It reads the server's kill messages and saves a clip a few seconds after you get a kill. Kills close together merge into one clip.
  • Controls OBS from the game: start or stop recording, pause, arm the replay buffer, switch scenes.
  • Tells you what happened with small corner notifications, and every type can be switched off.
  • Has its own settings screen (Right Control) and a drag-and-drop HUD editor where you pull a corner to resize.

How it works

Tally sits between two things: the chat the server sends you, and OBS running on your own PC. Its only network connection is to OBS.

Part Role
Minecraft server Sends chat and kill messages to the game. Gets nothing from Tally.
Tally (in your game) Reads kill messages, draws the HUD and listens for your keys. Sends commands to OBS.
OBS Studio WebSocket server on localhost:4455. Owns the replay buffer and recordings, and answers with status events.

The OBS link. OBS 28 and newer has a WebSocket server built in (protocol v5). Tally connects to it at the address you set, localhost:4455 by default. If OBS has a password, Tally proves it knows it by sending a salted SHA-256 hash, which is how OBS's protocol works. The password itself is never sent.

It never slows the game. Connecting, sending and reconnecting all run on two small background threads. If OBS is closed or crashes, Tally retries quietly every 2 to 10 seconds and links up again as soon as OBS opens. A wrong password stops the retries until you fix it, so it never spams OBS.

What it listens to. Tally subscribes to OBS events for recording, replay buffer, streaming, scene changes and "replay saved". When OBS confirms a clip was written, Tally shows the green SAVED flash and a notification with the file name. The REC timer runs locally between updates and re-syncs with OBS every 5 seconds while recording.

How auto-clip finds your kills. Tally only reads system messages from the server (the kind that announce deaths), never other players' chat. It strips colour codes, then checks each message against your kill patterns, where {player} is filled in with your own username.


Features in detail

The HUD

A small widget styled like a camera viewfinder: a dark box, floating corner marks, and a coloured bar on its left edge that carries the current state. By default it shows one line, the replay buffer:

You see Colour Meaning
REPLAY ON Green The replay buffer is running, so a clip can be saved
REPLAY QUEUED Amber, blinking You got a kill and an auto-clip is waiting for its delay
REPLAY SAVED Green flash, about 2.5 s OBS confirmed the clip was written to disk
REPLAY OFF Grey The replay buffer is off, so nothing can be saved
OBS OFFLINE Grey OBS isn't running or isn't reachable
LINKING Amber Tally is connecting to OBS
AUTH FAILED Red The OBS password is wrong

Optional lines you can switch on in the HUD tab:

  • Recording timer: a REC lamp that blinks while recording, a running HH:MM:SS timecode with fixed-width digits so it never jitters, and PAUSED in amber with blinking colons.
  • On-air badge: a red LIVE block, shown only while you are streaming.
  • Program scene: the name of the scene OBS is showing.

The HUD hides with F1 like the rest of the game's HUD.

Saving clips

Press F8 and Tally tells OBS to save the replay buffer. OBS writes the last stretch of gameplay (however long you set in OBS, for example 30 seconds) to your recordings folder. If the replay buffer is off, Tally tells you instead of failing silently.

Auto-clip on kill

When a server message matches one of your kill patterns, Tally waits for the after-kill delay (3 s by default), then saves a clip. The delay means the clip includes the finish, not just the hit.

  • Streaks merge. If you get another kill while a clip is waiting, the wait extends to cover it, so a triple kill becomes one clip labelled "3-kill streak" instead of three overlapping files. A streak can keep extending for up to 12 seconds.
  • Cooldown. After a clip saves, new kills are ignored for 5 s by default, so OBS isn't flooded.
  • Your deaths never trigger it. A message where the victim is you is skipped, and a name like "YourName2" doesn't count as you.

Kill patterns use three tokens: {player} is you, {victim} is the other player's name, and {any} matches any text. The defaults cover vanilla death messages and the common {player} killed {victim}. The Test a message box shows whether a pasted kill message matches, and which victim name it found. Colour codes and rank prefixes like [VIP] are handled.

Notifications

Small cards ("slates") slide in at the top right, each with a coloured edge and a bar that shrinks as it expires. If the HUD sits in the top-right corner, they stack underneath it instead of covering it. Every type has its own switch; see the settings reference below.

Keys

Action Default key
Save clip F8
Start / stop replay buffer Not set
Start / stop recording F9
Pause / resume recording F10
Next / previous scene Not set
Open Tally settings Right Control
Edit HUD layout Not set

Keys are rebound in Tally's Keys tab or in Options › Controls › Tally. Mouse side buttons work. An amber lamp warns when another bind uses the same key. Right Control is the default because Lunar Client uses Right Shift for its own menu.

Settings screen

Press Right Control (or use Mod Menu's Configure button). The screen has four numbered tabs on the left: 01 Connection, 02 Auto-clip, 03 HUD, 04 Keys. A pill at the top right always shows the link state, or REC and the timecode while recording. Number keys 1–4 switch tabs, Tab moves between text boxes, and Esc closes it. Changes save automatically.

HUD editor

Open it from EDIT HUD in the settings screen, or bind the Edit HUD layout key.

  • Drag the widget to move it. It snaps to the screen edges and the centre lines, which light up when they catch.
  • Pull a corner handle to resize. The opposite corner stays fixed, like Lunar's editor. Scrolling also resizes, from 0.5× to 2.0×.
  • Arrow keys nudge by 1 pixel, or 10 with Shift. R resets the position and size.
  • The position is stored relative to the screen edges, so it stays in the same corner when you change window size or GUI scale.

Setup

Setup takes about five minutes: two switches in OBS, then the jar in your mods, then one connect in game.

1. OBS (once)

  1. Open Tools › WebSocket Server Settings. Tick Enable WebSocket server, keep the port at 4455, tick Enable Authentication and set a password. Show Connect Info lets you copy it.
  2. Open Settings › Output. In Simple mode tick Enable Replay Buffer and set Maximum Replay Time (30 s suits PvP). In Advanced mode use the Replay Buffer tab.
  3. Clips are saved to your normal Recording Path, also under Settings › Output.

2. Install the mod

You need Minecraft 1.21.11, Fabric Loader 0.18.1 or newer, and Fabric API for 1.21.11. Mod Menu is optional.

  • Lunar Client: in the launcher's version selector pick the Fabric version of 1.21.11, then add Tally as one of your own mods. Add Fabric API too if Lunar doesn't already include it.
  • Any other Fabric launcher (CurseForge app, Modrinth App, Prism, the official launcher with the Fabric installer): add Tally and Fabric API to your 1.21.11 profile.

3. Connect

  1. Start OBS, then the game.
  2. Press Right Control and stay on 01 Connection.
  3. Type the OBS password and press CONNECT. The status card and the header pill turn green and read LINKED.
  4. Join a world. With Arm replay on join on (the default), Tally starts the replay buffer and the HUD reads REPLAY ON.
  5. Press F8 to test: the HUD flashes SAVED and a "Clip saved" notification names the file.

Settings reference

Every option, by tab, with its default. All of it is saved in config/tally.json.

Tab Setting Default What it does
01 Connection Host localhost Where OBS runs. Keep localhost when OBS is on the same PC.
01 Connection Port 4455 OBS WebSocket port
01 Connection Password empty OBS WebSocket password. SHOW reveals it.
01 Connection Auto-connect On Keeps retrying in the background until OBS answers
01 Connection CONNECT / DISCONNECT — Saves and reconnects, or stays disconnected until you press CONNECT
02 Auto-clip Auto-clip on kill On Saves a clip after your kills
02 Auto-clip After-kill delay 3.0 s (0–10) Wait before saving; kills inside it share a clip
02 Auto-clip Cooldown 5.0 s (0–30) Ignores kills for this long after a clip
02 Auto-clip Read the action bar Off Also checks messages above the hotbar, for servers that announce kills there
02 Auto-clip Arm replay on join On Starts the replay buffer when you join a world or server
02 Auto-clip Kill patterns 5 vanilla-style patterns Add, remove, test or reset them
03 HUD Show HUD On The widget itself
03 HUD Replay buffer On The REPLAY ON / OFF / QUEUED / SAVED line
03 HUD Recording timer Off REC lamp and running time
03 HUD On-air badge Off LIVE block while streaming
03 HUD Program scene Off Current OBS scene name
03 HUD Show when offline On A small badge while OBS isn't linked
03 HUD Size 1.00× (0.5–2.0) Also set by corner handles in the editor
03 HUD Backdrop 60% How dark the box behind the HUD is
03 HUD Accent Tally (red) Colour of controls and highlights. REC always stays red.
03 HUD Notifications On Master switch for every slate
03 HUD Clips On Clip saved, or why it couldn't save
03 HUD Replay buffer On When the replay buffer turns on or off
03 HUD Recording Off Recording started or stopped
03 HUD Streaming Off On air, off air
03 HUD Connection Off OBS linked or lost
03 HUD Sounds On A soft chime when a clip saves, a low note on a warning
04 Keys All binds See the Keys table Click a keycap, press a key. Backspace clears, Esc cancels.

Warnings that answer a key you pressed, such as "Replay buffer off" after F8, always show while the master switch is on, so a key never seems to do nothing.


Fair play, privacy and rules

Tally gives no gameplay advantage: it changes nothing about how Minecraft plays and only ever acts on OBS.

  • No mixins. It doesn't modify any game code, rendering of the world, movement, combat or networking. It only adds a HUD element, keybinds and its own screens through Fabric API.
  • Nothing goes to Minecraft servers. Tally sends no packets. Its only connection is to the OBS address you set.
  • Automation only touches OBS. It saves a clip or starts the replay buffer. It never presses keys, clicks or acts for the player.
  • It reads only system messages, the server's own death and kill announcements, never other players' chat.
  • Your password stays local. It is stored in plain text in config/tally.json on your PC and is only ever sent to OBS, as a salted hash.
  • No data collection. No analytics, no update checks, no other connections.

Every server sets its own rules. Check a server's allowed-mods list before using any mod there.


Troubleshooting

You see Likely cause Fix
OBS OFFLINE, "OBS isn't answering" OBS is closed, its WebSocket server is off, or the port is wrong Open OBS, enable Tools › WebSocket Server Settings, check the port is 4455
"That port answered, but it isn't OBS WebSocket" Another program is on that port Set the port OBS actually shows in Show Connect Info
AUTH FAILED / "OBS rejected the password" Wrong password Copy it again from Show Connect Info, then CONNECT
"OBS needs a password" Authentication is on in OBS but the box in Tally is empty Type the password, then CONNECT
REPLAY BUFFER OFF when pressing F8 The replay buffer isn't running Turn it on in OBS or bind Start / stop replay buffer
"Enable it in OBS: Settings › Output › Replay Buffer" The replay buffer isn't enabled in OBS settings at all Tick Enable Replay Buffer in Settings › Output
Kills don't clip The server words kills differently Paste a kill message into Test a message and add a matching pattern, or switch on Read the action bar
Tally's menu and Lunar's menu open together Both are on Right Shift Rebind Open Tally settings in the Keys tab
No HUD at all Show HUD is off, everything on it is switched off, or F1 hid the HUD Check the HUD tab, press F1

Technical reference

Part Version
Minecraft 1.21.11
Fabric Loader 0.18.1+
Fabric API 0.141.3+1.21.11
Java 21
Mappings Mojang official
OBS 28 or newer (WebSocket protocol v5)

Checks done: the OBS password hash matches an independent implementation; 14 kill-pattern tests pass (colour codes, rank prefixes, look-alike names, your own deaths); the mod builds cleanly against Minecraft 1.21.11.


Made by muskfv · MIT license

Tally Team

profile avatar
Owner
  • 1
    Projects
  • 6
    Downloads