Scripts:dc ass
From BF2 Technical Information Wiki
Contents |
Introduction
The DontCamp Administrative Support System is a completely server-side, python based admin system for Battlefield 2 that uses in-game chat commands and cd keyhash authentication to provide easy to use and powerful administrative functions.
Some of the better features of dc_ass are:
- kicking by playername, partial playername, or player ID
- single command multiple kick options against clan tags or team number (only used for evil, I know)
- variable userlevels via a PB style power points system
- allows the general public to vote kick someone without the annoying prompts
- completely an in-game and fast admin system so you can spend your time playing
The code
dc_ass.py
I would like to post code here but the formatting requirements of mediawiki are too much of a pain. The source is viewable and downloadable from here.
The latest release is 1.1 beta as 2006-01-11. Here is the changelog: 1.1 beta:
- added userlevels via a kick points system a la PB power users
- added general public vote kicking
- using keyhash rather than Profile IDs
- moved to more OO codebase
- extensions can now act on anything in the dc_ass object
dc_debug.py
dc_debug.py is required for nearly all DontCamp BF2 python code. It manages the debuging and logging output of our software.
Again, you can click on this link to view/download the code.