I recently had a supply hose to my toilet break. Luckily I was home at the time and stopped it before any damage occurred. I replaced the supply hose with a plastic fitting but am thinking of switching to a metal fitting supply hose instead. Is it worth it?

Also, and most importantly...does anyone know anything about an auto water shutoff system? One where the system shuts the main water off when there's a water leak?

I am interested in all feedback, suggestions and help!

Thank you!