Automatic and Manual Name Migration - kyngs/LibreLogin GitHub Wiki
Migrating data from one player to another has never been easier
LibreLogin detects when a player with enabled auto login changes their name and migrates their data automatically (items, plugin data)
You can use the /librelogin user migrate <oldName> <newName>
command to migrate player's data from one name to another, if the player had auto-login enabled, this command also disables it.