Note that the boundaries of what the plugin considers "fair" are changeable without recomplilation. See the readme for details and instructions.During a CTF game, don't you hate it when someone keeps capturing the flag after teams have become very uneven? No more.
fairCTF is a plugin that continually checks team sizes to ensure that they are fair. If the plugin decides that the teams aren't even enough, CTF is disabled and players are notified; team flags will be dropped instantly when picked up. Once the teams even up again, CTF is re-enabled and the game can continue.
I don't know if the .so will work under mac or not. If it doesn't, I'd greatly appreciate it if someone posted a mac build.
Have fun.
----
UPDATE: Version 1.1
I realized today that it would be very convenient to have commands to override the plugin. I went ahead and implemented them, since it was cake.
Thus, the plugin will now add a /ctf command to the game. More specifically, /ctf on, /ctf off, and /ctf auto. Read the updated readme for details.
----
UPDATE: Version 1.2
At the recommendation of A Temporal Distraction, I've altered the plugin command to give a little usage blurb when the command is issued incorrectly.
The switch delay has also been increased to five seconds.
----
UPDATE: Version 2.0
fairCTF has been added to the BZFlag source tree at the request of Bullet Catcher. Get the plugin there from now on.
I've also taken the opportunity to rewrite most of it to use more logical events. Flag drop delay is now configureable; see readme.