A relationship ended abruptly after an Auckland man dished out some vigilante revenge then found out his partner's claims of being date raped were a lie, a court heard this week.

Regan Scott Derrick, 27, was sentenced to five months' community detention and ordered to pay reparation of $1000 for two convictions of injuring with intent when he appeared in the Hamilton District Court this week over a violent incident in September last year.

His then girlfriend returned to Auckland after a Saturday night out in Hamilton with some of her friends.

As a result of the night's festivities, she was vomiting and crying and complained to Derrick about being date raped and having some of her belongings stolen by some men.

But the story was completely fabricated by his ex-partner, who had actually willingly taken drugs with the men and not been date raped as she had claimed.

Upset by the story, Derrick gathered a group of three mates to travel to Hamilton to repossess the items and deal out some vigilante justice.

When the group of Auckland men got to the property where they believed the offending had taken place, they knocked on the door and asked the man who answered whether the girls had been there the previous night.

After getting confirmation, they barged into the house and a violent altercation took place.

When he later found out his girlfriend's story was untrue he was "shocked and horrified" and broke up with the woman, who he said he had previously seen as a potential long-term partner.

Judge Arthur Tompkins gave him credit for seeking counselling after the event and the sentence of community detention would allow the 27-year-old to take over the family business.