games647 / FastLogin

Checks if a minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)
https://www.spigotmc.org/resources/fastlogin.14153
MIT License
494 stars 121 forks source link

Switch premiumUuid: false to true #364

Open JavituRec opened 4 years ago

JavituRec commented 4 years ago

Hello,

I was wondering if there is a way to switch premiumUuid: false to true without users losing inventory.

This is because I need premium users to be able to change their nicks without losing anything.

Thank you.

games647 commented 4 years ago

No there isn't currently. Converting inventory, player attributes (i.e. health), etc is manageable, because it's one consistent format though still complicated. However, there are so many permissions, multi world inventories and more plugins that manage user data based on the UUID. It would be very complicated to support all of them.

JavituRec commented 4 years ago

Okay. And a more complicated question, since we're using Fastlogin's self-registration, premium users have their accounts protected. My question is, how do I remove Fastlogin without premium users losing their inventory, etc...? Fastlogin assigns premium users a different UUID which is not the official mojang one, but one created by Fastlogin. By removing Fastlogin everyone will be logged in as non-premium so I understand that only the premium uuids would change and this is exactly what I want to avoid.

games647 commented 4 years ago

Fastlogin assigns premium users a different UUID which is not the official mojang one, but one created by Fastlogin.

It's the standard offline mode UUID.

By removing Fastlogin everyone will be logged in as non-premium so I understand that only the premium uuids would change and this is exactly what I want to avoid.

There will be no premium uuids if you deactivate premiumUUID