It seems like if team mates hit your buildings, you get blocked.

There doesn't seem to be a setting to change this. Exclusions seem to either use the friends or clans plugins. We can't use clans because it is very laggy and unoptimized.