The government has detailed a range of measures designed to tempt young people into helping their community and away from anti-social behaviour.