LuckPerms

LuckPerms

41.4k Downloads

Add username set to migration

voodootje0 opened this issue ยท 5 comments

commented

Currently, I'm transferring, migration and importing lots of different servers from group manager into one global luckperms database. For this 9/10 times I'm using phpmyadmin to bulk edit lots of wrong permissions, rename groups, set server names etc. However I'm missing one thing that I cannot do myself, and that is also transferring the uuid <-> username data
image
after an migration being done, the listmembers will almost be filled with uuids only. It would be really nice if there will be an migration option/command available where the username will be set on migration import.

The use-server-uuid-cache won't work for me since I am dealing with offline uuids, so the mojang lookup won't work.

If you have any other idea how to fix this, maybe even without any modify towards the plugin, that would be really amazing.

commented

Sorry, I don't mean migration. Migration works perfectly with usernames and GroupManager. I meant exporting so that an export will also contain the username and not only use the uuid.

commented

Oh right, yeah it's not easily possible for that data to be included in the imports/exports, as there is no command to initialise a new user with a uuid/username.

commented

Ah, I will try to figure something out with MySQL instead.

commented

^^ may help.