Cooke, of Graham Court, Lansbury Park, Caerphilly, pleaded guilty to wounding and attended anger management courses following the attack.
The court was also told Cooke received a detention and training order in 2012 for grievous bodily harm and has previous convictions for criminal damage and public disorder.
Judge Daniel Williams handed him a one year suspended sentence.
He said: “Without warning and still less provocation, you punched your victim causing him an injury to his lip and he had to have his teeth wired. “It was a mindless punch.”
Cooke was ordered to carry out 120 hours of unpaid work and complete a 15-day rehabilitation activity requirement.
He must also pay Mr Hughes £1,600 in compensation.
Tiela added: “I want others to know the dangers of one-punch attacks and the damage they can do.”
Support us with £3 a month membership and go ad-free. For the last ten years, Caerphilly Observer has provided an award-winning, balanced, and independent news service to the people of Caerphilly County Borough.
However, running a professional news service comes at a financial cost. Caerphilly Observer is predominantly funded through advertising and while this has supported us in the past, the future economic outlook in light of the coronavirus outbreak looks bleak.
We believe the public should be informed about their community, coherently and with context. We also believe that public interest journalism should not be put behind a paywall.
We are asking readers for their support to help us develop and grow our service.
Our membership costs just £3 a month and in return, you can use our website without adverts.