How to Enable Keep Inventory in Minecraft
Keep your hard-earned items safe after death by enabling the Keep Inventory game rule. This guide shows you how to set it up across all dimensions of your Minecraft server.
Prerequisites
Before enabling Keep Inventory, ensure you have operator (OP) privileges on your server. If you haven't set this up yet, follow our guide on How to OP Yourself on Your Minecraft Server.
Enable Keep Inventory Command
To enable Keep Inventory, use this command in-game:
/gamerule keepInventory true
Important: The command is case-sensitive! Type it exactly as shown above.
Setting Keep Inventory in All Dimensions
You need to enable Keep Inventory separately for each dimension:
- Overworld
- Join your server
- Type the command in the chat
- Confirm with success message
- The Nether
- Enter the Nether portal
- Type the same command
- Verify it's enabled
- The End
- Travel to The End
- Enter the command again
- Check for confirmation
Verify Keep Inventory Status
To check if Keep Inventory is enabled:
- Type:
/gamerule keepInventory
- The server will respond with the current setting
- It should show
true
if properly enabled
Common Issues and Solutions
- Command not working:
- Verify you have operator privileges
- Check command spelling
- Ensure proper capitalization
- Settings reset after restart:
- Check server properties
- Verify world saves correctly
- Confirm permissions
Additional Tips
- Enable before starting major projects
- Inform players about the setting
- Consider enabling for new players
- Great for peaceful gameplay
- Perfect for building-focused servers
Need help with server settings? Contact our support team for assistance.