Reset a player's data on your server
Reset one player on your Minecraft server: lighter options first, then finding their UUID file, deleting it with a backup in place and what stays behind.
Minecraft saves each player's inventory, ender chest, position, experience and hunger in a file named after their account. Deleting that file resets one player, which suits a player who is stuck inside a block, carrying a corrupt item or starting over by choice. The steps below cover finding the right file and deleting it safely.
Checked against Minecraft 26.1 and 1.21.x player file locations, October 2026.
Try the lighter options first
Deleting data can't be undone without a backup, so check whether one of these does the job:
- Clear inventory empties a player's inventory, armour included, but leaves their ender chest alone. Open the Players tab, open the player's profile from their row, choose Inventory and click Clear inventory. The player must be online.
- Teleport in the same profile moves an online player out of a stuck spot, and Heal restores their health and hunger.
- The
clearcommand andgivecommand in the Console can also remove or return items.
If none of those fit, reset the file.
Before you start
- Open the Backups tab and click Create backup, then wait for it to finish (How to create and restore backups).
- Find the player's UUID. In the Players tab, every row shows a UUID under the player's name once the panel knows it. On a Java account that line is a link to the player's NameMC page, so clicking it leaves the panel. You only need to read the ID, because the file you want is named after it. Find a Minecraft player's UUID has other ways to get it.
- On the Console tab, click Stop and wait for Offline. Work on the files while the server is stopped, so it can't write them back.
Find the file
Open the File Manager and open your world folder. It's world unless you changed it. World folder in the Config Editor shows the name.
The location depends on your Minecraft version:
- Minecraft 1.21.x and earlier:
playerdata/<uuid>.dat - Minecraft 26.1 and newer:
players/data/<uuid>.dat
Mojang moved player files in 26.1, along with the other two per-player files: advancements and stats. Your JAR Manager shows the version you run.
Delete the player's data
- Select
<uuid>.datfor that player. - Optional: click Download first. If you keep a copy you can put it back later with Upload files.
- Click Delete. Because the file is part of your world, the panel may open Delete world data? and ask you to type the file's name. Type it and confirm.
- If a
<uuid>.dat_oldfile sits beside it, delete that one the same way. It is the copy Minecraft keeps of the player's previous save, and the server code checked on 26.3 loads it when<uuid>.datis missing, so leaving it would bring the old data back. - To reset advancements and stats too, delete
<uuid>.jsonfromadvancementsandstats(inplayers/advancementsandplayers/statson 26.1 and newer). Skip this if you only want a clean inventory and position. - Start the server from the Console tab.
Once the file and any <uuid>.dat_old are gone, the server has no saved player data file left for that player.
What isn't reset
Plugins and mods keep their own data in their own folders. Homes, balances, permissions and claims stay as they are. If you want those gone too, that's done in each plugin's settings or folder (How to manage your server files).
Whitelist, operator and ban entries aren't touched either. They live in the server's root folder and are managed from the Players tab (Whitelist players and set operators).
If it went wrong
- The player is still the same after rejoining: check the server was fully stopped when you deleted the file, and that the file is gone from the folder for your version, along with any
<uuid>.dat_oldbeside it. Delete it again if it's back. - You deleted the wrong player: restore the file you downloaded, or restore the backup in the Backups tab.
- You can't find the file: the player may not have saved yet. Their profile in the Players tab says "This server has no saved data for them yet" until they've played and the world has saved.
- The UUID doesn't match any file: Crossplay (Floodgate) and offline-mode players aren't Java accounts, so a lookup on NameMC finds nothing for them. Use the UUID the Players tab shows.
Was this guide helpful?
Related guides
Edit NBT, level.dat and player data
Edit level.dat or a player's NBT file safely: try settings and commands first, then download, edit in an NBT editor, upload and recover if it breaks.
Clear a player's inventory or ender chest
Empty a player's inventory from the Players tab, remove one item type with clear, and handle ender chests and offline players.
View who did what on your Minecraft server
Use the Audit Logs tab to see who ran a command, edited a file or restarted the server, and what a setting changed from and to.
