Man gets 18 years over drug, violence charges