B3-plugin-weaponrestrict is a project mainly written in ..., it's free.
Restrict weapons in bfbc2 using big brother bot
WARNING: The use of this plugin may violate EA's Rules of Conduct for server administrators, for more info see http://tinyurl.com/eabc2roc
A BFBC2 parser update is required to use this plugin, please see http://github.com/durzo/big-brother-bot/commit/f5e22d38d0f5b456cf3042e5d2c7bda22e7d4a79