A drug dealer who exploited vulnerable people – forcing them to sell drugs – has been jailed for more than three years.