Those breaching a range of sanctions aimed at cutting rising violence could face two years in prison.