Switch leader if They die & Make Knocked out people not show on map (Yanfly Plugins)

I've tried to find something that could help. If I could get help on Switching leaders when they die and make them unplayable(Until being revived), also not showing on the map, that would be great! (If you need my plugin list just ask) (I have yanfly party system)

Original thread: https://forums.rpgmakerweb.com/threads/switch-leader-if-they-die-make-knocked-out-people-not-show-on-map-yanfly-plugins.110561/