sm1dg3 I too agree that this could be something useful.
AngshuDhar Baritone currently doesn't make use of Fly paths so you can't use it on server where you have insta-break items and flight enabled ( Such as prison servers ) (Fly paths are supported and work nicely on Wurst, so it's just a matter of being able to filter out specific block IDs which you want to ignore.
@Alexander01998 You think this would be possible?
I was thinking about something like this: .excavate <x1> <y1> <z1> <x2> <y2> <z2> [iron_block, obsidian, beacon]
Basically the command syntax would be kept the same, but the values between the  are going to be ignored and not mined.