How to Edit Player Data with NBTExplorer

Learn how to use NBTExplorer to fix player inventories, locations, and other issues.

NBTExplorer lets you edit individual player data files to fix issues like players stuck in the void, corrupted inventories, or wrong game modes.

Editing Player Data

Find the player's UUID

Go to namemc.com and search for the player's username to find their UUID.

Download the player data file

Access the XGamingServer panel, stop your server, go to Files, navigate to /world/playerdata/, and download [UUID].dat.

Open with NBTExplorer

Install and open NBTExplorer, then open the downloaded .dat file.

Make your edits

Common fixes:

TagDescriptionFix
Pos (list of 3 doubles)Player position X, Y, ZChange Y to 100 to fix stuck-in-void
Inventory (list)Player inventory itemsDelete entries to clear items
EnderItems (list)Ender chest contentsDelete entries to clear ender chest
playerGameTypeGame mode0=Survival, 1=Creative, 2=Adventure
HealthHealth pointsSet to 20.0 for full health
foodLevelHunger levelSet to 20 for full hunger
XpLevelExperience levelChange to desired level
DimensionCurrent dimensionChange to move player to a different dimension

Save and re-upload

Save in NBTExplorer, then upload the modified .dat file back to /world/playerdata/ via Files.

Start your server

⚠️ Warning: The server must be stopped while editing player data. Editing while the server is running will be overwritten.

💡 Tip: If you just need to clear a player's inventory, using /clear [player] in Console is much easier (player must be online).

See also: Reset Player Data | Edit Level Data

If you need help, join our Discord.

How is this guide?

40% Off — Limited TimeGet your Minecraft server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page