svrecord

OpenJK

Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.

Starts a server-side demo of one active client. Without a client number it records the first active client that is not already being recorded, and a client number needs a demo name before it. Without a name it uses a timestamped one. The demo is written to demos/ in the server’s game directory with a .dm_26 extension, replacing an existing demo of the same name.

At a glance

Field Value
Syntax svrecord [<name> [<clientnum>]]
Cheat protected No
Network scope server-authoritative: Owned or enforced by the server.
Category Demos & media
Module engine-server
Renderer All / not renderer-specific
Derivation code-trace
Confidence medium
Added 2014-01-26 in 44d566687 needs review (how to compare this against your build)
In-game xdocs No
In-game menu No

Arguments and gating

Arguments: name, clientnum.

Provenance

Origin: OpenJK

Dated project introductions

Authored dates come from the exact registration’s first content commit, PR dates identify when work was proposed to each project, and integration dates come from each first-parent mainline. A project merging first does not override earlier upstream authorship or submission.

Project Authored PR opened Integrated Commit Relationship
OpenJK 2014-01-27 — 2014-01-27 44d5666875f3 Ultimate origin
EternalJK 2014-01-27 — 2014-01-27 44d5666875f3 Shared integration commit
rend2 2014-01-27 — 2014-01-27 44d5666875f3 Shared integration commit
TaystJK 2014-01-27 — 2014-01-27 44d5666875f3 Shared integration commit
jaPRO 2014-01-27 — 2014-01-27 44d5666875f3 Shared integration commit
NewJK / NewMod 2014-01-27 — 2014-01-27 44d5666875f3 Shared integration commit
Vulkan 2014-01-27 — 2014-01-27 44d5666875f3 Shared integration commit

Later changes

These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.

Date Change source Commit / subject Evidence Confidence
2014-01-27 OpenJK 7395fda4ab6c
[MP] Fixed some unused variable warnings from svdemo merge.
Changed the registered command handler. codemp/server/sv_ccmds.cpp medium
2014-01-27 OpenJK fde9de23e2ad
Merge pull request #481 from dpadgett/svdemo
Changed the registered command handler. codemp/server/sv_ccmds.cpp medium
2014-01-29 OpenJK 43f3802e74f9
[MP] Fix incorrect filesize with SV_DemoFilename.
Changed the registered command handler. codemp/server/sv_ccmds.cpp medium
2014-02-10 OpenJK beadbaa9f0a2
Merge branch ‘master’ of https://github.com/JACoders/OpenJK
Changed the registered command handler. codemp/server/sv_ccmds.cpp high
2016-03-24 EternalJK c9c6ab99fdd2
Merge branch ‘master’ of https://github.com/JACoders/OpenJK into japro
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/server/sv_ccmds.cpp medium
2017-12-28 EternalJK 668821b03696
Merge remote-tracking branch ‘origin/master’
Changed the registered command handler. codemp/server/sv_ccmds.cpp medium
2018-01-01 jaPRO d9d510063ce6
Merge branch ‘japro-ejk’
Changed the registered command handler. codemp/server/sv_ccmds.cpp high
2018-10-10 EternalJK f6882abccd6c
start/stop svrecording msg only if developer
Changed the registered command handler. codemp/server/sv_ccmds.cpp medium
2020-05-15 EternalJK fffc00dab968
Merge pull request #97 from aufau/ratelimiter
Changed the registered command handler. codemp/server/sv_ccmds.cpp medium
2023-06-23 EternalJK 64b8343c85ea · PR #2
Merge pull request #2 from TomArrow/taysternal
Changed the registered command handler. codemp/server/sv_ccmds.cpp medium

Evidence

Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.