How to Reset Player Data on Your Minecraft Server
There are times when you might need to reset a player's inventory and progress, either for one person or for the entire server. This guide will show you how to safely delete player data.
CRITICAL: Backup Your Server Before You Begin
Before deleting any files, it is absolutely essential that you take a full backup of your server.
This will serve as your safety net in case you accidentally delete the wrong files. Please follow our guide on How to Create and Restore a Server Backup before proceeding.
Resetting a Single Player's Data
This process will reset the inventory, location, advancements, and stats for one specific player.
- Stop Your Server. This is a crucial first step to prevent file corruption.
- Find the Player's UUID. Every Minecraft account has a unique ID called a UUID. You can find any player's UUID using a tool like NameMC. Just enter their username and copy the UUID string.
- Navigate to your World Folder. In your server's File Manager, open your main world folder (usually named
world
). - Delete the Player's Files. You need to delete two files associated with the player's UUID:
- Go into the
playerdata
folder and delete the
file..dat - Go into the
advancements
folder and delete the
file..json
- Go into the
- Restart Your Server. Once you start the server again, the player's data will be fully reset. When they log in, they will start fresh as if they were a new player.
Resetting All Player Data (Complete Wipe)
This process will completely wipe the inventory, location, advancements, and stats for every player who has ever joined your server.
- Stop Your Server. This is mandatory before deleting entire folders.
- Navigate to your World Folder. In your server's File Manager, open your main world folder (usually
world
). - Delete the Data Folders. To perform a full wipe, delete the following three folders entirely:
- The
playerdata
folder. - The
advancements
folder. - The
stats
folder.
- The
- Restart Your Server. After restarting, every player will have a clean slate when they next join.
Following these steps carefully will ensure your player data is reset cleanly. Remember to always back up your server first!