TeamBans

Jailbreak is a roleplaying gamemode in Team Fortress 2 with the teams acting as prisoners and guards. A fundamental rule of Jailbreak is the guards must have microphones. As such, administrators can sanction players with a teamban, preventing them from joining the guard team.

TeamBans is an administrative tool for Jailbreak servers with extended use for normal players:
• MySQL backend saves a player's ban, for persisting across other servers and maps.
• Self ban checking allows players to check if they are teambanned, and the details such as reasoning and time.
• Admin ban checking allows admins to check any player's teamban. The command uses regex to differentiate inputs. Admins can search for any pure Steam ID in the database, or the name of any player on the server.