chmod
11-29-2003, 12:36 AM
Hello all, I wanted to let the server admins here know that I have just released version 0.3 of the UDPB-COD admin bot.
The bot makes it nice and easy to run your servers, and also tracks player stats at a central location. Below is a list of changes leading to version 0.3..
OK, after much hacking. 0.3 is ready for download. You can get it at http://www.udpviper.com/html/downloads.php
Among the new stuff...
* !help command shows general help for the bot, and can be combined with other commands for detailed help. like '!help kick'.
* The bot now traps signals, like SIGINT and SIGTERM for clean shutdowns
* The bot now writes its proccess ID to a file called run.pid. This makes it easy to write scripts for monitoring/restarting the bot from the shell. It also serves to prevent duplicate copies from running
* The bot now has an extensive team damage system. The admin can set an ammount of teamdamage that will kick players. All the admin needs to do is edit the config file and set a team damage limit. Default is 200. If users do more team damage than the limit, they are automatically kicked.
* Players can use the command !forgive to clear someone of these TK points. So if it was an accident, the victim can forgive the TKer and keep him from being kicked.
* The command !clearpoints allows an admin to clear TK points from any user.
* The admin can set a ping limit in the config file, and the bot will kick any players whose ping is over this limit.
* Time alive per round is now tracked for stats.
* Fixed the !setlevel command to work on existing IP addresses, and to gracefully handle wrong arguments.
* All command configuration is now in the file command_list.cfg. This file can be edited with a simple text editor. Each command's help message can be edited/translated to the admin's liking. Also command levels may be set without having to poke around in the code.
* An extensive logging system has been added. The admin can start the bot with the -d flag to enable debug logging (which will make very large log files). Default logging is much less noisy.
* The bot now can be started with a -v flag, to print the version and exit
* Admins can now not kick/ban admins of a higher level
* The admin can now set a protected level in the configuration file. Any user at or above the protected level, will not be autokicked. For example on my server I have several level 1 admins who can use no extra commands, but are protected from autokicking. They are regulars I know, and do not intentionally TK. You can do the same for your server quite easily.
* There is now a zero-tolerance time period setting. The admin can change this time period in the config file. If a player does *ANY* teamdamage in this window of time, they will be autokicked.
* There is now a detailed installation document that ships with the bot.
* The bot now attempts to reconnect to the stats server every so often. If the stats server is down, or can not be reached, the bot will buffer stats locally, until the server is up again. This ensures your stats will not be lost, even if the stats server is down.
One last thing... If you plan on running the stats portion, you need to register your server at http://codstats.udpviper.com/html/signup.php
The stats server will not accept stats from your bot until your IP is registered. You can also check out your stats at the above address by searching for a name. Try "chmod" if you're bored. The stats site is not yet complete, so please do not make it public to your players. But feel free to poke around in the mean-time.
Whew. OK. If you have any questions, please post to this thread, or find me in the udpviper.com forums. I appreciate everyone giving the bot a chance!
-chmod
The bot makes it nice and easy to run your servers, and also tracks player stats at a central location. Below is a list of changes leading to version 0.3..
OK, after much hacking. 0.3 is ready for download. You can get it at http://www.udpviper.com/html/downloads.php
Among the new stuff...
* !help command shows general help for the bot, and can be combined with other commands for detailed help. like '!help kick'.
* The bot now traps signals, like SIGINT and SIGTERM for clean shutdowns
* The bot now writes its proccess ID to a file called run.pid. This makes it easy to write scripts for monitoring/restarting the bot from the shell. It also serves to prevent duplicate copies from running
* The bot now has an extensive team damage system. The admin can set an ammount of teamdamage that will kick players. All the admin needs to do is edit the config file and set a team damage limit. Default is 200. If users do more team damage than the limit, they are automatically kicked.
* Players can use the command !forgive to clear someone of these TK points. So if it was an accident, the victim can forgive the TKer and keep him from being kicked.
* The command !clearpoints allows an admin to clear TK points from any user.
* The admin can set a ping limit in the config file, and the bot will kick any players whose ping is over this limit.
* Time alive per round is now tracked for stats.
* Fixed the !setlevel command to work on existing IP addresses, and to gracefully handle wrong arguments.
* All command configuration is now in the file command_list.cfg. This file can be edited with a simple text editor. Each command's help message can be edited/translated to the admin's liking. Also command levels may be set without having to poke around in the code.
* An extensive logging system has been added. The admin can start the bot with the -d flag to enable debug logging (which will make very large log files). Default logging is much less noisy.
* The bot now can be started with a -v flag, to print the version and exit
* Admins can now not kick/ban admins of a higher level
* The admin can now set a protected level in the configuration file. Any user at or above the protected level, will not be autokicked. For example on my server I have several level 1 admins who can use no extra commands, but are protected from autokicking. They are regulars I know, and do not intentionally TK. You can do the same for your server quite easily.
* There is now a zero-tolerance time period setting. The admin can change this time period in the config file. If a player does *ANY* teamdamage in this window of time, they will be autokicked.
* There is now a detailed installation document that ships with the bot.
* The bot now attempts to reconnect to the stats server every so often. If the stats server is down, or can not be reached, the bot will buffer stats locally, until the server is up again. This ensures your stats will not be lost, even if the stats server is down.
One last thing... If you plan on running the stats portion, you need to register your server at http://codstats.udpviper.com/html/signup.php
The stats server will not accept stats from your bot until your IP is registered. You can also check out your stats at the above address by searching for a name. Try "chmod" if you're bored. The stats site is not yet complete, so please do not make it public to your players. But feel free to poke around in the mean-time.
Whew. OK. If you have any questions, please post to this thread, or find me in the udpviper.com forums. I appreciate everyone giving the bot a chance!
-chmod