Keep Inventory

Keep Inventory allows you to toggle the Keep Inventory gamerule on and off using simple custom commands, all without turning on vanilla cheats or disabling world achievements.