UUID Data Restorer is a Minecraft server-side mod that preserves player data when switching your server from online mode to offline mode. It works by renaming existing player data files from the old online UUID to the new offline UUID, ensuring players keep all their items, stats, and progress..
MAKE SURE YOU BACK UP YOUR world/playerdata FOLDER BEFORE USING THIS MOD!
This mod directly renames .dat files and cannot undo changes automatically.
.dat file exists:.dat file is backed up..dat file (from online UUID) to the new offline UUID.Since the Java-based MappingFileManager.java API lookup currently doesn’t function reliably, this must be done via a Python script.
Use the included lookup_players.py.
Create a new folder and place into it:
lookup_players.pyUUID.dat files from your online server's world/playerdata folderOpen a terminal or command prompt in that folder and run:
python lookup_players.py
This will generate a file:
player_uuid_mapping.json
Move player_uuid_mapping.json to your server’s:
/config/
directory.
.dat file is found:
.dat file is found, no action is taken, and the player joins normally.If you find any issues, feel free to Contact me on my Discord Server: https://discord.gg/ddeu3GbP