Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline mode with premium UUIDS #26

Open
bobhenl opened this issue Sep 9, 2024 · 2 comments
Open

Offline mode with premium UUIDS #26

bobhenl opened this issue Sep 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@bobhenl
Copy link

bobhenl commented Sep 9, 2024

Describe the bug
Hello, there's issue that I noticed in a few other plugins as well. When the server is in offline mode, but uses the Mojang UUIDs for the premium users, then the cmds like: /lifestealz hearts get PrDeath
doesn't work when the player is offline, because it's trying player's offline UUID instead the online one. Do you think there can be fix for this, please?

To Reproduce

  1. Set online-mode: false
  2. Use plugin that corrects the UUIDs, or just don't use it, only imagine it - libmoauth / fastlogin (premiumUUID: enabled in conf) & authme, jpremium, etc.
  3. Join the game, then from console check /lifestealz hearts get
  4. then leave and do this again and you'll see: the player is offline

Expected behavior
It should save the UUID with the name, so it can correctly use the premium UUIDS in case we use "hybrid" mode, it's recommended, see this article: https://github.com/Jakubson/JPremiumCleared/wiki#fixed-unique-ids
it's to allow name change for premium users, etc.

Server Setup

  • Server Software: Purpur
  • Minecraft Version 1.21.1
  • Plugin Version 1.1.28

Additional context
This issue was part of the specializedcrates plugin, where the dev fixed it by saying this:
image
and I reported it to the enderchest plugin as well, they're working on fix, too

Ticket on Discord: https://discord.com/channels/990295419005333554/1280549546732028088/1280549583122075689

@bobhenl bobhenl added the bug Something isn't working label Sep 9, 2024
@abb3v
Copy link
Contributor

abb3v commented Sep 11, 2024

@bobhenl I have attempted to fix this issue, await maintainer approval.

KartoffelChipss added a commit that referenced this issue Sep 11, 2024
Potential fix for issue #26
@bobhenl
Copy link
Author

bobhenl commented Sep 14, 2024

Still seems to be issue unfortunately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants