Player inventories reset or items disappear on death away from spawn — how do I fix it?
On this page
Losing items on death or having inventories reset out of nowhere is one of the most upsetting bugs for players. It usually comes down to data not saving, a plugin interfering, or a gamerule that isn't set the way you expect. Here's how to track it down.
Common causes
- Corrupted or unsaved
playerdata— often a crash before the server could save. Make sure the server shuts down cleanly rather than being killed mid-write. - A plugin — an inventory, region, or world-management plugin may be clearing or swapping inventories. Check its config.
- keepInventory turned off when you expected it on — run
/gamerule keepInventory true. - Multiple worlds with a per-world-inventory plugin (such as Multiverse-Inventories) — this is by design; configure it to match what you want.
How to fix it
- Confirm the server is stopping cleanly (use Stop in the Console, or a scheduled restart) so
playerdatasaves. - Review any inventory/region plugins and their configs in the Files tab.
- Set the gamerule you want:
/gamerule keepInventory true(orfalse). - If you run multiple worlds, configure your per-world-inventory plugin deliberately.
- Restore a backup to recover already-lost items if needed (on the Backups page, restore it into a new folder and copy back
world/playerdata, or re-upload it from a saved copy via Files/SFTP).
Tip: Every server is backed up automatically twice a day, and you can make your own with Back up now on the Backups page. Downloading your world via Files or SFTP now and then gives you an extra copy.
Frequently asked questions
Items vanished only after a crash. Coincidence? Likely not — a crash before save can lose the most recent playerdata. Aim for clean shutdowns.
How do I restore just one player's items? Restore a backup into a new folder from the Backups page (or extract your saved copy) and copy back only that player's file from world/playerdata/. See our player-data recovery article.
Could a plugin be to blame even if I didn't touch it? Yes. Inventory-related plugins can wipe or swap items on their own logic — review their configs and the Console for their messages.
More in In-Game Bugs & Symptoms
- I spawn in the void / free-fall and get kicked when joining — how do I fix it?
- A Nether/End portal does nothing ("dimension does not exist") — how do I fix it?
- Broken blocks don't drop / blocks regenerate / actions don't register — is this lag?
- Respawn is broken (respawn at spawn, spectator on death) — how do I fix it?
- /time set night doesn't change the visual time — why?
- Ranks/permissions are lost on relogin or death — how do I fix it?