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

admin

BF22142Heroes

22 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
admin.addAccountIdToBanListyes S64, std::stringmethod
admin.addAccountIdToBanListForcedyes S64, std::stringmethod
admin.addAddressToBanListyes std::string, std::stringyes std::string, std::stringmethod
admin.addKeyToBanListyes std::string, std::stringyes std::string, std::stringyes S64, std::stringmethod
admin.banPlayeryes std::string, std::string -> std::stringyes std::string, std::string -> std::stringyes std::string, std::string -> std::stringmethod
admin.banPlayerKeyyes std::string, std::string -> std::stringyes std::string, std::string -> std::stringmethod
admin.clearBanListyesyesyesmethod
admin.currentLevelyes -> intyes -> intyes -> intmethod
admin.kickPlayeryes std::string -> std::stringyes std::string -> std::stringyes std::string -> std::stringmethod
admin.kickPlayerDelayedyes std::string -> std::stringmethod
admin.listBannedAccountIdsyes -> std::stringmethod
admin.listBannedAddressesyes -> std::stringyes -> std::stringmethod
admin.listBannedKeysyes -> std::stringyes -> std::stringyes -> std::stringmethod
admin.listPlayersyes -> std::stringyes -> std::stringyes -> std::stringmethod
admin.nextLevelyes int -> intyes int -> intyes int -> intproperty
admin.removeAccountIdFromBanListyes S64method
admin.removeAddressFromBanListyes std::stringyes std::stringmethod
admin.removeKeyFromBanListyes std::stringyes std::stringyes S64method
admin.restartMapyesyesyesmethod
admin.runLevelyes std::string, std::string, intyes std::string, std::string, intmethod
admin.runNextLevelyesyesyesmethod
admin.toggleSocketCompressionyes int -> intmethod
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.