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

If the minimap volume inherits from unreal’s base AVolume class then you could try selecting the minimap volume => going into it’s collision component and setting the trace segment to ignore. If the minimap has a custom trace channel then you need your weapons to ignore that specific channel on trace.

In the worse case scenario you can create a custom trace channel and trace the weapons only against this newly created channel.