sv_legacyGameAPI
TaystJK
Engine-managed. The game maintains this value itself, so it is not a setting to change by hand: it is read-only after registration (CVAR_ROM).
1 when the game module loaded through Raven’s dllEntry/vmMain API, 0 through OpenJK’s GetModuleAPI
At a glance
| Field | Value |
|---|---|
| Default | `` |
| Value type | string |
| Restart | No latch flag is registered. |
| Manually settable | No; the game writes this value. |
| Cheat protected | No |
| Network scope | server-authoritative: Owned or enforced by the server. |
| Category | Server & networking |
| Module | engine-server |
| Renderer | All / not renderer-specific |
| Derivation | documented |
| Confidence | high |
| Added | 2026-09-27 in 6d85dffac (how to compare this against your build) |
| In-game xdocs | No |
| In-game menu | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_ROM: read-only after registrationCVAR_SERVERINFO: published in serverinfo
Provenance
Origin: TaystJK
- Ultimate-origin introduction:
6d85dffacc76in TaystJK (content authored2026-09-26, PR opened2026-09-25, integrated2026-09-26) - Origin pull request: #389
- Upstream registration evidence: codemp/server/sv_gameapi.cpp:2845
- Attribution method:
earliest-authored-project-introduction - Attribution confidence:
high
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 |
|---|---|---|---|---|---|
| TaystJK | 2026-09-26 |
2026-09-25 | 2026-09-26 |
6d85dffacc76 |
Ultimate origin |
Evidence
- registration: codemp/server/sv_gameapi.cpp:2845 (Cvar_Get)
- behavior: codemp/server/sv_gameapi.cpp:2846
- behavior: codemp/cgame/cg_servercmds.c:309
Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.