A Doncaster man has been sentenced after a warrant executed by officers in December led to the discovery and seizure of a huge collection of dangerous weapons.