One member is being treated at hospital for a fractured eye socket

Staff were injured from objects being hurled from the roof of the centre

It is believed they were demanding KFC, marijuana and computer games

The riot came to an end after 12 hours but the centre is still in lock down

Over 20 inmates have caused a riot at Cleveland Youth Detention Centre

Young inmates involved in a prison riot lasting for 12 hours demanded KFC, marijuana and computer games after

The unrest involving more than 20 inmates at the Cleveland Youth Detention Centre in Townsville, Queensland, have been talked down from the roof of the facility, but it remains in lockdown, reported Nine news.

The inmates had broke into vending machines, set off fire extinguishers and destroyed property as they made their way onto the roof on Thursday night.

At least two staff were hurt, including one who suffered from a fractured eye socket.

Over 20 youths at Cleveland Youth Detention Centre in Townsville, Queensland, caused a 12 hour riot

They damaged parts of the facility and climbed onto the roof where they hurled projectiles at staff and police.

All of the detainees came down from the roof about 6.30am on Friday, about 12 hours after the unrest began but it wasn't clear if all the inmates had returned to their cells, and when lockdown arrangements might be lifted, a corrective services spokesperson said.

Police will conduct a full investigation, alongside a Corrective Services probe to establish the cause of the unrest.

A small contingent of staff remained at the centre overnight, but most were evacuated for their own safety.

'We heard them screaming out that they wanted KFC and wouldn't come down until they got it,' witness, Chris Lynch, who went to the centre to watch the drama unfold told the Townsville Bulletin.

The inmates were demanding KFC, marijuana and computer games after breaking vending machines and setting off fire extinguishers

At least two staff members were injured during the rampage and are being treated at hospital

On Thursday night, a centre spokesman gave a sense of what was unfolding inside the facility.

'They are breaking things, they are accessing various parts of the unit, and they are making implements to throw at police,' he told reporters.

The unrest began just before 7pm on Thursday night, and involved between 20 to 25 youths.

Some centre staff had to lock themselves in a roof for their own safety at the height of the violence after detainees armed themselves with steel poles, the Bulletin said.