EAGLERCRAFT
ACCOUNTS GUIDE DOWNLOAD

Commands, cheats and keepInventory

Commands start with a slash in chat or a command block. In singleplayer you turn cheats on when you create the world, or open to LAN with cheats. keepInventory, written keep_inventory in later Java game rules, defaults to false. When true, you keep items and experience on death. It has existed since 1.4.2, so 1.5.2, 1.8.8 and 1.12.2 all have the idea of it.

Last reviewed: . By the Eaglercraft Guide editorial team.

The command examples target the legacy 1.5.2, 1.8.8 and 1.12.2 Java-style syntax. Set a rule before it is needed; only the world owner or an authorized server operator can change it.

Op, ban and kick are operator commands. They are explained on the moderation page, not as something every player should run.

Original pixel illustration of a grass field, wooden house, pond and sheep
Original pixel illustration of a torch-lit cave, chest and blue pool

Questions

Why did I lose my items?

The default is to drop them. Turn the game rule on before the fight, in a world you control.

Related: Worlds · Moderation · Seeds

Continue with the relevant guide

These links explain related topics, not a guarantee of compatibility with every build or server.

Sources

Original illustrations on this page are drawn for eaglercraft.pro. They are not official screenshots.

Advertisement