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).
| Name | BF2 | 2142 | Heroes | Notes |
|---|---|---|---|---|
admin.addAccountIdToBanList | yes S64, std::string | method | ||
admin.addAccountIdToBanListForced | yes S64, std::string | method | ||
admin.addAddressToBanList | yes std::string, std::string | yes std::string, std::string | method | |
admin.addKeyToBanList | yes std::string, std::string | yes std::string, std::string | yes S64, std::string | method |
admin.banPlayer | yes std::string, std::string -> std::string | yes std::string, std::string -> std::string | yes std::string, std::string -> std::string | method |
admin.banPlayerKey | yes std::string, std::string -> std::string | yes std::string, std::string -> std::string | method | |
admin.clearBanList | yes | yes | yes | method |
admin.currentLevel | yes -> int | yes -> int | yes -> int | method |
admin.kickPlayer | yes std::string -> std::string | yes std::string -> std::string | yes std::string -> std::string | method |
admin.kickPlayerDelayed | yes std::string -> std::string | method | ||
admin.listBannedAccountIds | yes -> std::string | method | ||
admin.listBannedAddresses | yes -> std::string | yes -> std::string | method | |
admin.listBannedKeys | yes -> std::string | yes -> std::string | yes -> std::string | method |
admin.listPlayers | yes -> std::string | yes -> std::string | yes -> std::string | method |
admin.nextLevel | yes int -> int | yes int -> int | yes int -> int | property |
admin.removeAccountIdFromBanList | yes S64 | method | ||
admin.removeAddressFromBanList | yes std::string | yes std::string | method | |
admin.removeKeyFromBanList | yes std::string | yes std::string | yes S64 | method |
admin.restartMap | yes | yes | yes | method |
admin.runLevel | yes std::string, std::string, int | yes std::string, std::string, int | method | |
admin.runNextLevel | yes | yes | yes | method |
admin.toggleSocketCompression | yes int -> int | method |
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.