Simple and lightweight. Block certain commands from a list from being run if you're standing in a town you're not in. There are permission bypasses, as well.
Certain uses include blocking /sethome or /setwarp in enemy towns, or blocking warp commands used to teleport out during a fight.
Obviously, towny advanced.
xpcb.reload - reload the config.
xpcb.bypass - bypass the blocker.
/xpcb reload - reload the config.
blocked-cmds is a list of commands you want blocked.
restricted-message is the message that displays if your command was blocked.
no-embassy-message is not currently used ATM.
embassy-bypass allows embassy owners to bypass command restrictions in their own plots.