BF2.US bf2-rsdeveloper wiki Parity Discord bf2.us
generated from the code

sv

BF22142Heroes

108 commands. A game cell holds the argument types (and the return type after ->) that game registers; empty: the game does not have the command. Back to the console reference.

Scope badges
serveronly the server reads it: a mod on the server alone takes effect, players need nothingclientonly the game client reads it (drawing, sound, HUD): every player who should see it needs the modsharedthe server and every client read it: both need the same files, or the clients' view jumpsyesthe game has it; nobody has classified its scope yet
BF22142HeroesA game column holds that game's badge and the argument types its program registers; an empty cell means the game does not know the name. The Notes column gives the reason (how the scopes are worked out).
NameBF22142HeroesNotes
sv.addExcludeMapTagyes std::stringmethod
sv.adminScriptyes std::string -> std::stringyes std::string -> std::stringyes std::string -> std::stringproperty
sv.allowExternalViewsserver bool -> boolserver bool -> boolserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server)
sv.allowFreeCamserver bool -> boolserver bool -> boolserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server, bfh-server)
sv.allowNATNegotiationyes bool -> boolyes bool -> boolyes bool -> boolproperty
sv.allowNoseCamserver bool -> boolserver bool -> boolserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server)
sv.allowSpectatorsserver bool -> std::stringserver bool -> std::stringmethod; 2142, Heroes: bf2-rs handles it on the server only (bf2-runtime)
sv.allowTitanMovementserver bool -> boolproperty; 2142: bf2-rs handles it on the server only (bf2-runtime)
sv.autoBalanceTeamyes bool -> boolyes bool -> boolyes bool -> boolproperty
sv.autoDemoHookyes std::string -> std::stringyes std::string -> std::stringyes std::string -> std::stringproperty
sv.autoRecordyes bool -> boolyes bool -> boolyes bool -> boolproperty
sv.bandwidthChokeyes int -> intyes int -> intproperty
sv.bannerURLserver std::string -> std::stringproperty; Heroes: bf2-rs handles it on the server only (bfh-server)
sv.botSkillserver float -> floatserver float -> floatproperty; 2142, Heroes: bf2-rs handles it on the server only (bf2-runtime)
sv.classLimitVipsserver bool -> boolproperty; Heroes: bf2-rs handles it on the server only (bfh-server)
sv.communityLogoURLserver std::string -> std::stringserver std::string -> std::stringserver std::string -> std::stringproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.configFileyes std::string -> std::stringyes std::string -> std::stringyes std::string -> std::stringproperty
sv.coopBotCountyes int -> intproperty
sv.coopBotDifficultyyes float -> floatproperty
sv.coopBotRatioyes float -> floatproperty
sv.customMapURLserver std::string -> std::stringserver std::string -> std::stringproperty; 2142, Heroes: bf2-rs handles it on the server only (bf2-runtime)
sv.demoDownloadURLyes std::string -> std::stringyes std::string -> std::stringyes std::string -> std::stringproperty
sv.demoIndexURLyes std::string -> std::stringyes std::string -> std::stringyes std::string -> std::stringproperty
sv.demoQualityserver int -> intserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server)
sv.endDelayserver int -> intserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.endOfRoundDelayserver int -> intserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.friendlyFireWithMinesserver bool -> boolserver bool -> boolserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server)
sv.gameSpyPortyes int -> intyes int -> intproperty
sv.getClassLimitserver int -> size_tmethod; Heroes: bf2-rs handles it on the server only (bfh-server)
sv.hitIndicatorserver bool -> boolserver bool -> boolserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server)
sv.interfaceIPyes std::string -> std::stringyes std::string -> std::stringyes std::string -> std::stringproperty
sv.internetserver bool -> std::stringserver bool -> std::stringserver bool -> std::stringmethod; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server)
sv.killAssistThresholdyes float -> floatproperty
sv.loadserver -> boolserver -> boolserver -> boolmethod; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server, bfh-server)
sv.manDownTimeyes float -> floatyes float -> floatyes float -> floatproperty
sv.maxConnectionTypeserver ConnectionType -> ConnectionTypeserver ConnectionType -> ConnectionTypeserver ConnectionType -> ConnectionTypeproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server)
sv.maxPlayersserver int -> std::stringserver int -> std::stringserver int -> std::stringmethod; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.maxPlayersSaveserver int -> std::stringmethod; Heroes: bf2-rs handles it on the server only (bf2-runtime, bfh-server)
sv.maxRankserver bool -> std::stringmethod; 2142: bf2-rs handles it on the server only (bf2-runtime)
sv.maxUnlockLevelserver int -> std::stringmethod; 2142: bf2-rs handles it on the server only (bf2-runtime)
sv.minPlayersForVotingyes int -> intyes int -> intyes int -> intproperty
sv.minUnlockLevelserver int -> std::stringmethod; 2142: bf2-rs handles it on the server only (bf2-runtime)
sv.newbieServeryes bool -> boolproperty
sv.notEnoughPlayersRestartDelayserver float -> floatserver float -> floatserver float -> floatproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.noVehiclesserver float -> floatproperty; BF2: only the dedicated server registers it; BF2: bf2-rs handles it on the server only (bf2-runtime)
sv.numPlayersNeededToStartserver int -> intserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.numReservedSlotsserver int -> std::stringserver int -> std::stringserver int -> std::stringmethod; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server)
sv.passwordserver std::string -> std::stringserver std::string -> std::stringserver std::string -> std::stringmethod; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server, bfh-server)
sv.passwordSaveserver std::string -> std::stringmethod; Heroes: bf2-rs handles it on the server only (bf2-runtime, bfh-server)
sv.prodDataCenteryes std::string -> std::stringproperty
sv.punkBusterserver bool -> boolserver bool -> boolserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.radioBlockedDurationTimeserver int -> intserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server, bfh-server)
sv.radioMaxSpamFlagCountserver int -> intserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server, bfh-server)
sv.radioSpamIntervalserver int -> intserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server, bfh-server)
sv.rankedserver bool -> boolserver bool -> boolserver bool -> std::stringproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.rankedSaveserver bool -> boolproperty; Heroes: bf2-rs handles it on the server only (bf2-runtime, bfh-server)
sv.roundsPerMapserver int -> intserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.saveserver -> boolserver -> boolserver -> boolmethod; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.saveSaveserver -> boolmethod; Heroes: bf2-rs handles it on the server only (bf2-runtime, bfh-server)
sv.scoreLimityes int -> intyes int -> intyes int -> intproperty
sv.serverCommunityserver std::string -> std::stringproperty; Heroes: bf2-rs handles it on the server only (bfh-server)
sv.serverIPyes std::string -> std::stringyes std::string -> std::stringyes std::string -> std::stringproperty
sv.serverNameyes std::string -> std::stringyes std::string -> std::stringyes std::string -> std::stringproperty
sv.serverPortserver int -> std::stringserver int -> std::stringserver int -> std::stringmethod; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server, bfh-server)
sv.serverTypeserver std::string -> std::stringproperty; Heroes: bf2-rs handles it on the server only (bfh-server)
sv.setClassLimitserver int, size_tmethod; Heroes: bf2-rs handles it on the server only (bfh-server)
sv.setRoundsPerMapSaveserver intmethod; Heroes: bf2-rs handles it on the server only (bf2-runtime, bfh-server)
sv.setServerNameSaveserver std::stringmethod; Heroes: bf2-rs handles it on the server only (bf2-runtime, bfh-server)
sv.setTicketRatioSaveserver intmethod; Heroes: bf2-rs handles it on the server only (bf2-runtime, bfh-server)
sv.setVipSlotsTeam1Saveserver intmethod; Heroes: bf2-rs handles it on the server only (bf2-runtime, bfh-server)
sv.setVipSlotsTeam2Saveserver intmethod; Heroes: bf2-rs handles it on the server only (bf2-runtime, bfh-server)
sv.setWelcomeMessageSaveserver std::stringmethod; Heroes: bf2-rs handles it on the server only (bf2-runtime, bfh-server)
sv.soldierFriendlyFireyes int -> intyes int -> intyes int -> intproperty
sv.soldierSplashFriendlyFireyes int -> intyes int -> intyes int -> intproperty
sv.spawnTimeserver float -> floatserver float -> floatserver float -> floatproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.sponsorLogoURLserver std::string -> std::stringserver std::string -> std::stringserver std::string -> std::stringproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.sponsorTextserver std::string -> std::stringserver std::string -> std::stringserver std::string -> std::stringproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.startDelayserver int -> intserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.stestDataCenteryes std::string -> std::stringproperty
sv.teamRatioPercentyes float -> floatyes float -> floatyes float -> floatproperty
sv.teamVoteOnlyserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2: bf2-rs handles it on the server only (bf2-server)
sv.ticketRatioserver int -> intserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.timeBeforeRestartMapserver float -> floatserver float -> floatserver float -> floatproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bfh-server)
sv.timeLimitserver int -> intserver int -> intserver int -> intproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server)
sv.tkNumPunishToKickyes int -> intyes int -> intyes int -> intproperty
sv.tkPunishByDefaultserver bool -> boolserver bool -> boolserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server)
sv.tkPunishEnabledyes bool -> boolyes bool -> boolyes bool -> boolproperty
sv.useGlobalRankyes bool -> boolyes bool -> boolproperty
sv.useGlobalUnlocksyes bool -> boolyes bool -> boolproperty
sv.useSpawnVehicleWhenPlayerSpawnsyes bool -> boolproperty
sv.valorPointsForLossyes int -> intproperty
sv.valorPointsForWinyes int -> intproperty
sv.valorPointsOnLevelUpyes int -> intproperty
sv.vehicleFriendlyFireyes int -> intyes int -> intyes int -> intproperty
sv.vehicleSplashFriendlyFireyes int -> intyes int -> intyes int -> intproperty
sv.vipSlotsTeam1server int -> intproperty; Heroes: bf2-rs handles it on the server only (bfh-server)
sv.vipSlotsTeam2server int -> intproperty; Heroes: bf2-rs handles it on the server only (bfh-server)
sv.voipBFClientPortyes int -> intyes int -> intproperty
sv.voipBFServerPortyes int -> intyes int -> intproperty
sv.voipEnabledyes bool -> boolyes bool -> boolproperty
sv.voipQualityyes int -> intyes int -> intproperty
sv.voipServerPortyes int -> intyes int -> intproperty
sv.voipServerRemoteyes bool -> boolyes bool -> boolproperty
sv.voipServerRemoteIPyes std::string -> std::stringyes std::string -> std::stringproperty
sv.voipSharedPasswordyes std::string -> std::stringyes std::string -> std::stringproperty
sv.voteTimeyes int -> intyes int -> intyes int -> intproperty
sv.votingEnabledserver bool -> boolserver bool -> boolserver bool -> boolproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server)
sv.welcomeMessageserver std::string -> std::stringserver std::string -> std::stringserver std::string -> std::stringproperty; BF2: only the dedicated server registers it; BF2, 2142, Heroes: bf2-rs handles it on the server only (bf2-server, bfh-server)
Source: tools/devwiki/refs_console.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.