g_allowVote

Base Jedi Academy

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

Set with toggleVote. Each bit is a separate option, so the command toggles one of them per use and leaves the rest alone. Setting a raw value by hand replaces every option at once.

Controls g_allowVote in the game module. Consult the cited behavior reads before relying on values not listed here.

At a glance

Field Value
Default -1
Value type bitmask
Restart No latch flag is registered.
Manually settable Yes
Cheat protected No
Configure with toggleVote
Network scope server-authoritative: Owned or enforced by the server.
Category Gameplay & combat
Module game
Renderer All / not renderer-specific
Derivation code-trace
Confidence high
Added 2013-04-08 in 14cea1563 (how to compare this against your build)
In-game xdocs No
In-game menu No

Bits

Use toggleVote to toggle one option at a time; see the command page for syntax. The value column is that bit on its own. The labels come from the source table.

| Bit | Value | Meaning | Read by | |:–|:–|:–|:–| | 0 | 1 | Capturelimit | — | | 1 | 2 | Clientkick | — | | 2 | 4 | Forcespec | — | | 3 | 8 | Fraglimit | — | | 4 | 16 | g_doWarmup | — | | 5 | 32 | g_gametype | — | | 6 | 64 | kick | — | | 7 | 128 | map | — | | 8 | 256 | map_restart | — | | 9 | 512 | nextmap | — | | 10 | 1024 | sv_maxteamsize | — | | 11 | 2048 | timelimit | — | | 12 | 4096 | vstr | — | | 13 | 8192 | poll | — | | 14 | 16384 | pause | — | | 15 | 32768 | score_restart | — |

Flags

Provenance

Origin: Base Jedi Academy

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
2013-04-07 OpenJK b319c52fd4ed
Major codemp cleanup. Ported modbase. Restructured VS2010 projects.
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/game/g_cmds.c, codemp/game/g_main.c, codemp/game/g_xcvar.h medium
2013-10-24 OpenJK 872159cb6796
[MP] Rewrote callvote to be far more robust
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/game/g_cmds.c, codemp/game/g_xcvar.h medium
2013-10-25 OpenJK 99f68a293fef
[MP] Fixed a few issues with vote code from previous commits. Tweaked the team vote code to be a simplified but similar version of the new callvote code. Added g_allowTeamVote, defaulted to 1 cvar to toggle team voting.
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c medium
2014-08-07 OpenJK bb3ed393a5fb
[MP] Add toggleallowvote server command for easy toggling of g_allowVote bit options.
Changed an exact bound cvar-variable reference. codemp/game/g_cmds.c medium
2018-01-01 jaPRO d9d510063ce6
Merge branch ‘japro-ejk’
Changed an exact bound cvar-variable reference. codemp/game/g_svcmds.c high

Evidence

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