---
title: How to Delete Playerdata on Your Minecraft Server
description: "Learn how to delete playerdata on your Minecraft server and restore backup playerdata. "
source: "https://nodecraft.com/support/games/minecraft/troubleshooting/how-to-delete-playerdata-on-your-minecraft-server"
image: "https://dynamic-assets.nodecraft.com/signedurl/w7vokBAexMnVlnMZ1Q/image.jpg?modifications=W3sibmFtZSI6ImdhbWVfYmciLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMjAwMHg1NTAvZGNiMGFkNjkzOC9jYXZlcy1hbmQtY2xpZmZzLXB0LTItMS0yLTAucG5nL20vIn0seyJuYW1lIjoiZ2FtZV9sb2dvIiwiaW1hZ2VfdXJsIjoiaHR0cHM6Ly9jbXMtYS5ub2RlY3JhZnQuY29tL2YvMTMzOTMyLzM3NXgxNTAvM2MxZGIyYmFiNS9taW5lY3JhZnQucG5nL20vIn0seyJuYW1lIjoiY3RhX3RleHQiLCJ0ZXh0IjoiQ3JlYXRlIHlvdXIgb3duIHNlcnZlciEifSx7Im5hbWUiOiJ0ZXh0IiwidGV4dCI6IkhvdyB0byBEZWxldGUgUGxheWVyZGF0YSBvbiBZb3VyIE1pbmVjcmFmdCBTZXJ2ZXIifV0&s=56242f73bfa492ee2c44f35f6a1dbe6acaf2ed05f2ee0b6840f156e254a26f38"
published: "2023-02-11T21:58:49.193Z"
updated: "2024-11-24T00:24:29.366Z"
---

# How to Delete Playerdata on Your Minecraft Server

Learn how to delete playerdata on your Minecraft server and restore backup playerdata. 

Occasionally, deleting playerdata files can be useful in resolving bugs or moderating your server. This article will give you instructions on how to both delete playerdata and restore old playerdata.

## Locating the playerdata Files

Playerdata files for Vanilla servers are stored in the folder `/world/playerdata`

![Locating the playerdata files for a Minecraft world](https://cms-a.nodecraft.com/f/133932/1022x825/6f8930992c/mc_playerdatafilelocation.png/m/1000x0/smart)*\*Note that the world folder may have a different name depending on what the world name is set to in the Game Settings section of the panel or in the *`server.properties`*.*

Minecraft’s playerdata system holds two playerdata files which are identified using each player’s Universally Unique Identifier (UUID). These files are formatted as `playerUUID.dat` and `playerUUID.dat_old`. If you don’t know the UUID of the player you are looking to delete playerdata for, you can look it up using your Minecraft in-game username on [mcuuid.net](http://mcuuid.net)

## Making a Backup

Since you will likely end up deleting files in this case, it is advisable to make a backup of your server's data first so you can retrieve those files later if needed. If you're using Nodepanel, you can do this from the Nodepanel Backups tab.

![Making a backup on the backups tab in Nodepanel](https://cms-a.nodecraft.com/f/133932/1030x914/ce4580afbb/mc_makingabackup_nodepanel.png/m/1000x0/smart)If you do not have access to Nodepanel's backups system it is advisable to, at minimal, make a copy of the two playerdata files mentioned or the playerdata folder as an extra redundancy to restore from if needed.

## Deleting the Playerdata File

Once you know the UUID of the player whose playerdata file you are looking to delete, you can delete the playerUUID.dat file within the folder `/world/playerdata` .

![Deleting a playerdata file from the Minecraft server files](https://cms-a.nodecraft.com/f/133932/1024x824/1bd9ea91f5/mc_deletingplayerdatafile.png/m/1000x0/smart)\**Note deleting playerdata files will remove the latest version of that player's inventory, experience levels, last known location, etc.*

## Restoring an Old Playerdata File

As stated before, Minecraft stores two files for each player’s playerdata. A `playerUUID.dat` file and a `playerUUID.dat_old` file. The `playerdata.dat` file holds the information for that player’s most recent session of gameplay on the server. The `playerUUID.dat_old` file holds the information for that player’s second most recent session. If the `playerUUID.dat` file does need to be deleted, you can optionally attempt to restore the second most recent session using the `playerdata.dat_old` file. To do this, first, stop the server. Next, delete the `playerUUID.dat` file. Lastly, rename the `playerUUID.dat_old` file to `playerUUID.dat`.

![Selecting the .dat_old file to rename](https://cms-a.nodecraft.com/f/133932/1020x811/1805f3b8cc/mc_selecttorenamedatold.png/m/1000x0/smart)![Renaming the playerdata file so that the extension is .dat instead of .dat_old](https://cms-a.nodecraft.com/f/133932/1029x823/9b6ac0328c/mc_renamingdatoldfiletodat.png/m/1000x0/smart)
