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!
-----------COMMANDS----------------
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.
Format: @kick
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.
Format: @unban
Example: @unban "John Smith"
Restart: Restarts the current level.
Format: @restart
Example: @restart
NextLevel: Changes to the next level, or specified level.
Format: @nextlevel [levelName]
Examples: @nextlevel
@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.
hmm does it works with new patch?
It was tested fully yesterday before uploading, so yes it works with the new patch. Please let me know if you run into any problems and I will fix them ASAP.
Thanks
There is a known issue with the unbanning functionality. It has been addressed and will be fixed in the next minor release in the next day or two.
If there are any features you'd like to see added, or bugs that need to be fixed, please let me know immediately.
Thank you
Version 1.1 is being uploaded
Version 1.1
---------------
-Added configurable welcome message
-Ensured player was in server before banning them
-Added banID primary key to ban table to account for multiple bans
-Linked user to MySQLdb module installers if not found
-Included an example settings file (settings.cfg.example) in case a reference is needed
I would like it to use punkbuster whenever possible, for ban especially. I'd also like be able to force screenshot on someone.
executing a config for matches would also be nice.
Duly noted. I was originally having issues with PunkBuster due to a socket issue that has since been resolved. Perhaps now I can implement PB.
I am not 100% sure what it is you mean by match configs, could you please elaborate?
With the release of the R7 servers, they have also released a newer rcon script that includes two new utility functions that should make packet communication more robust. I will be implementing these new techniques in my next release, along with a few other fixes and features.
Someone else at AwpaholicA.com is working with me on this project on the PHP interface side of things. Once we have a fully working web interface for the admin system, it will be uploaded as 2.0
doesn't work with today's patch >.< ...
PATCH PLZZZZ =)