Keep your inventory on death without altering gamerules — configurable XP, percentage durability, anti-suicide hunger, and respawn debuff penalties.