I can feel empathy towards you're situation, I have struggled with similar thoughts and behaviour in the past, and went inpatient voluntarily too, at first it's a bit scary, but it did really help me, so I hope it helps you too, and that you learn some positive coping strategies whilst there. This opportunity could also be used to try medications to see if they can find something that helps, whilst you're in a stable and safe environment.
Good luck, I'm glad you're parents are supportive, and realised that they have to be strong to help you, mine found it hard to realise, the danger they were in, and it took an attempt on my own life and for the Psych Social Workers, and Police as well as doctors to decide, that I needed to be inpatient, and when I agreed, they were upset as they felt like they'd failed, it took me a long time to explain to them they hadn't, and they too are very supportive, despite being upset at the time.
You're very lucky you're parents are so understanding and understand the danders they were in, and did what they needed to help you without the intervention of professionals, going inpatient is a brave move, you should be proud of you're self, for realising that you needed to be in hospital, let us know how you get on, I hope they can help you feel better, and ease the violent and suicidal thoughts, as you deserve to be happy, and I'm sure you're family would love to see you happy too
I'm not sure what you have on the ward, but during my last stay something that helped me was art therapy and talking with OT's in the activity room, maybe there's something similar at you're ward, it's a great way to express you're feelings, and like others have said don't hold anything back, let it out, things can get better, *hugs*
