Reading DAW Bus Information

Hey all

I am currently working on a spectral analyzer plug-in in JUCE, however I’m dealing with a little problem.
Plug-ins in DAWs are (often) pre-fader, so when the bus on which the plug-in sits in a DAW is adjusted in volume or even muted, the plug-in will still receive the full-volume data from the DAW.
Without getting in too much detail, it is rather important that changing stated parameters affects the loudness of my visualization.
Does anyone have an idea on how to read information from the parent bus in the DAW like gain, mute, solo etc.? (Other solutions are also more than welcome by the way.)

Greetings,
Kev