The second thing with the guns does not happen with Death Modifier, my code only gives the weapon back exactly as it was when you died with it
( so if the weapon had no ammo it would give it back without it ), That is happening from your other plugin givening the players the items / weapons.
The first one is a 3rd party plugin support issue, I currently support NTeleportation & kits because they have hooks for me to use to prevent that from happening.
So if that plugin, "RealPVE" has a hook for me to use to prevent that then I could add support for it as well like i did with kits & nteleportation.