There are two account kinds available on Spotify: Free and Premium. The server-side nature of features like offline listening, music, and album downloads is closely related to the sort of Spotify account you have.
You won't be able to download any music if you have a free Spotify account but use the Spotify mod app as a workaround to access premium features. A Spotify Premium account is also required to enable offline listening and downloading.