How to prevent hitscan guns linetrace from hitting the minimap volume trigger?

It shouldn’t. You are only changing the category in how the minimap is identified for object traces and as you don’t plan on reporting line traces on it, it should be safe.