How do you do keepInventory?
Matthew Perez
Updated on June 01, 2026
In the chat window, type the /gamerule keepInventory true command and press the Enter key. The command will display in the game bottom-left corner as you type. You need to remember the game rule command is case-sensitive. After hitting the Enter button, the game rule applies to your world.
How do you use keepInventory command?
The Command for the Keep Inventory CheatThe command for activating the Keep Inventory cheat is /gamerule keepInventory true . You must enter this command into the chat window to activate the cheat that lets you keep your inventory when you die.
How do you play keepInventory rules?
How to Keep Your Inventory When You Die in Minecraft on PS4 and Xbox
- Press on the D-Pad (right) on your controller.
- Type “/gamerule keepInventory true.”
- Press “Enter” to change the game rule in your world.
Is keepInventory cheating in Minecraft?
Yes it is. Most Minecraft servers have anti cheat walls inplace for a reason. Read the rules of a server, if hacking and mods are allowed, then using killaura is ok.How do you activate the keepInventory in the nether?
Description
- Do "/gamerule keepInventory true"
- Go in the Nether or End.
- Use "/kill" command.
- Notice that your inventory is now empty unlike in Overworld.