8.7.2007 04:20
Requirements: Apache webserver with PHP5 support.
This script guards keeping the rules you may have set. It is designed to be run via crontab. Each minute it parses "rcon status".
Functions:
1) If you choose, it can warn and then kick players with no nick (or Unknown Soldiers) - for those, who like neat statistics.
2) Next, it guards ping. Eg. the default settings does this: if a player has ping over 250, he gets warned. If his ping gets over 300 in next minute, he gets warned again and kicked. If it doesn't exceed 300, he gets warned again, or if the ping is lower than 250, the warning is cancelled.
3) Current time is announced by console to all players everytime minute digit matches preset. Once an hour, half an hour, etc. This might make your players more aware of reality and they could change more often one with another on your server.
4) IP logging feature. If enabled, players and their IP addresses are logged. You can keep track of players from the same IP and also you can ban bad guys, who try to steal admins' nicknames.
5) Gametype change on low number of present players. Let's say the vote ends up in SD and all players go away, maybe two or three remain. The game can be set to automatically change the gametype to DM if not playing already.
6) Scheduler. You can plan executing a command or more if current hour and minute match your preset - scheduled commands can include anything including exec of another config file. Maybe you could use it to disable a map or two in your vote system.
[attachment=23]
Changelog (1.5)
Added: Scheduled commands. (thx. for idea goes to leonpadi)
This script guards keeping the rules you may have set. It is designed to be run via crontab. Each minute it parses "rcon status".
Functions:
1) If you choose, it can warn and then kick players with no nick (or Unknown Soldiers) - for those, who like neat statistics.
2) Next, it guards ping. Eg. the default settings does this: if a player has ping over 250, he gets warned. If his ping gets over 300 in next minute, he gets warned again and kicked. If it doesn't exceed 300, he gets warned again, or if the ping is lower than 250, the warning is cancelled.
3) Current time is announced by console to all players everytime minute digit matches preset. Once an hour, half an hour, etc. This might make your players more aware of reality and they could change more often one with another on your server.
4) IP logging feature. If enabled, players and their IP addresses are logged. You can keep track of players from the same IP and also you can ban bad guys, who try to steal admins' nicknames.
5) Gametype change on low number of present players. Let's say the vote ends up in SD and all players go away, maybe two or three remain. The game can be set to automatically change the gametype to DM if not playing already.
6) Scheduler. You can plan executing a command or more if current hour and minute match your preset - scheduled commands can include anything including exec of another config file. Maybe you could use it to disable a map or two in your vote system.
[attachment=23]
Changelog (1.5)
Added: Scheduled commands. (thx. for idea goes to leonpadi)