Bad Company 2 brings the award-winning Battlefield gameplay to the forefront of PC gaming with best-in-class vehicular combat and unexpected "Battlefield moments". New vehicles like the ATV and a transport helicopter allow for all-new multiplayer tactics on the Battlefield, and with the Frostbite Destruction 2.0 system, you can take down entire buildings and create your own fire points by blasting holes through cover.
This script was created in order to provide in-game admin capabilities for Battlefield: Bad Company 2 servers. It allows for a variety of chat commands, prefixed with @, to authorized players.
Provides support for MySQL, but lacks a web interface at this point.
It is strongly recommended to disable MySQL support and use the simple text files.
This script can be run as a Windows service, or used with a service manager like FireDaemon or Guardian Gnome. It has no user-interface, just communicates with the game server to provide in-game admin.
Command documentation, changelog and install guide included.
Please support AwpaholicA.com by donating!
Parameters in <> denotes mandatory parameters.
Parameters in  denotes optional parameters.
Parameters with spaces, like the name John Smith, must be inside single or double quotes.
Commands are not case sensitive, player names are.
The pipe symbol | denotes or.
As of now, playerNames must match exactly, but future support for wildcards or partial matches may be implemented.
Yell: Prints a message in the center of the screen for 10 seconds.
Format: @yell [|]
Examples: @yell "John Smith" "Quit camping!"
@yell "Quit camping!"
Note: Team parameter may be RU, US, Attackers, Defenders
Kick: Disconnects a player from the server.
Example: @kick "John Smith"
Ban: Bans a player from the server.
Format: @ban [|round]
Exampes: @ban "John Smith""Being a douche"
@ban "John Smith" round "Being a douche"
@ban "John Smith" 3600 "Being a douche"
Unban: Unbans a player from the server.
Example: @unban "John Smith"
Restart: Restarts the current level.
NextLevel: Changes to the next level, or specified level.
Format: @nextlevel [levelName]
@nextlevel Levels/MP_002 *NOT SUPPORTED YET*
Note: May provide alias' for maps in future for easier use.
Mode: Changes the game-mode that the server is running on.
Format: @mode [conquest|rush|sqdm|sqrush]
Example: @mode conquest
Note: Will make list of game-modes configurable in the future.