Saturday 10 August 2024

How to fix modded Minecraft corrupted player data (NaN health and absoption)

 


This guide will help you resolve any modded Minecraft corrupted player data issues you may be having on your servers such as NaN health and absorption corrupted player data.


(Video source: Ozeki from the GamerPotion discord)

If you are having an issue similar to above video where you are unable to die and your hearts are showing as 0 then it means your player data has gone corrupt somewhere and needs to be fixed. There is a simple process you can follow to resolve this. Read below steps making sure you have full admin access to a server's files and control panel/ftp.

1. Download and install NBT Explorer from - https://github.com/jaquadro/NBTExplorer/releases
If using MacOS or this application does not work for you, then consider using these web versions

2. Go to https://minecraftuuid.com and search for the in-game name of the player

In my case I will search for my user name. Then click and copy the UUID of the player 

3. Go to your server's files via ftp or browser control panel for your Minecraft server's host.

Navigate to world/playerdata  folder and search for the UUID like below example

Download the .dat file to your desktop.

4. Open the NBT Explorer application. Then open the .dat file using the NBT Exploer app.


You will notice for the Absorption and Health it may say "NaN"  which meants "Not a number".  This is where the corruption has taken place.

5. Change Absorption to 0 and change Health to 1



Save and close the file.

6.  Upload the updated file back to your server's host  player data folder.

7.  The affected player should now be able to log in and not have the corrupted data issue. Any issues simply log on to the GamerPotion Discord and ask on there.

Popular Posts