Sydney - Asylum seekers and refugees held in a remote Pacific camp were Wednesday awarded Aus$70 million ($56 million) for being illegally detained and treated negligently, in Australia's largest human rights class action settlement.Canberra sends asylum-seekers who try to reach Australia by boat to facilities on Nauru in the Pacific and Papua New Guinea's Manus Island, where they are blocked from resettlement in Australia.But conditions in the camps have been widely criticised by doctors and refugee advocates, who say some asylum-seekers have suffered mental health problems due to their prolonged detention.A deal was struck in June to avoid a trial, more than three years after lawyers mounted the class action against the government and two service providers operating at Manus, claiming they breached their duty of care.The compensation package was approved by Victoria's Supreme Court on Wednesday. Nauru was not involved in the legal case.Justice Cameron Macaulay told the court the settlement was "fair and reasonable".The Manus centre is due to shut next month after a PNG Supreme Court ruling last year declared that holding people there was unconstitutional.Lawyers for the group participating in the settlement said they hoped to get the compensation to them before the closure."These detainees came to Australia seeking refuge, compassion and protection, which were all denied to them by successive Commonwealth governments," said Rory Walsh of law firm Slater and Gordon."Today, the group has finally been delivered justice through the Australian legal system and the Supreme Court of Victoria."The result that has been achieved in this case -- against significant odds -- will allow meaningful compensation to be paid to group members much more quickly than would otherwise have been the case."Money 'not the issue'Distribution of the settlement will be supervised by the court, with a further hearing in October to determine when payments will start.Some 72%, or 1 383, of the 1 923 detainees held at the centre from November 2012 to December 2014 joined the class action, with the court approving a two-and-half-week extension, allowing others to register if they chose.While lawyers said most detainees were happy with the outcome, some opted out of the agreement, including Iranian refugee Amir Taghinia who said money was not the most important factor for him."Getting that money is not the issue," he told the Australian Broadcasting Corporation Wednesday, adding that little had changed regarding his situation on Manus."We are still in the same situation, we are still suffering from the same conditions. It is absolutely not in favour of any of the detainees in here, but it is in favour of the law firm and the defendant."The government had no immediate comment Wednesday, but has said previously that the payout was not an admission of liability, but to avoid a costly six-month trial.Canberra has said it will move the asylum-seekers and refugees from the Manus camp by October when it closes. Some will be relocated to third countries, or resettled elsewhere in PNG.