"During those communications, he told the victim that he loved her and referred to himself as her boyfriend,'' the court heard.
Ufi also requested a photo of the teenager as proof it was not her father he was messaging.
Once he was satisfied of her identity, he twice asked for sex.
The girl indicated she might be agreeable.
She asked him to pick her up that evening but Ufi did not arrive at the specified time.
However, he was in touch again and requested the victim meet him at a nearby supermarket.
At 11.30pm, the teen left her home and walked to the agreed spot but their secret liaison was discovered within minutes.
She had accidentally left her phone behind.
Ufi repeatedly called the girl.
Eventually a member of her family answered the phone. The defendant asked if she was coming to meet him.
When they perused the messages on the girl's phone they soon discovered what was going on and drove out to the meeting place.
While they intercepted the victim, Ufi was not present.
They later found messages from him telling the girl to return.
Ufi told police he was drunk at the time and though he was there, he had no sexual intention
"He advised that he had just wanted to find out what she was like, then take her back to the house in which he had been drinking alcohol so she could hang out with other young 14-year-olds who were present,'' a police summary said.
In a statement before the court, the victim said she felt pressured, manipulated and stupid for going to meet the older man.
Unlike the girl, Judge Michael Crosbie noted, Ufi suffered from a significant lack of family support.
Only weeks after the incident, the defendant was arrested in North Dunedin and found to be carrying a large hunting knife in a leather sheath in the waistband of his pants.
Ufi was convicted of grooming and possessing a weapon and because he was imprisoned he will automatically be placed on the Child Sex Offender Register.