A South West Rocks man was sentenced to an 18-month community corrections order (CCO) for attempting to take matters into his own hands after a home invasion.