Does the Widowmaker reward metal when the sentry is actively shooting?

Solution 1:

No it does not. The Widowmaker only awards metal for damage that it does.

The server that you were playing on must have been running a special plugin.

Source