Loan default, bank not cooperating

Hi all, I defaulted on a loan that I had taken in January 2017. I couldn't make payments after April and bank was pressurizing me to do the same, but I was unemployed and couldn't make the payments. I did not know how to navigate through this so I stopped taking their calls. After a point they stopped contacting me. In June 2018, they sent a legal notice to my email ID asking me to make payment. The notice was sent to me on the date of court hearing, so I could not attend. The bank knew my address and contact details have changed since the loan was taken. After receiving an email with the legal notice, I replied to the bank representatives in order to cooperate with them and solve the issue. But instead, they replied to me with a bailable arrest warrant that has been issued in my name and a second court date has been set. After sending them an elaborate mail stating i want to fully cooperate with them and settle the loan, they are not replying to me. How do I navigate through this and arrange for a settlement between me and the bank, so that court can be avoided? I do not have the finance to immediately repay the entire amount, but can pay a decided amount in installments. I'm working at my second job and do not earn enough money to pay for a lawyer or the entire loan amount at once.