Skip to content

Offline mode with premium UUIDS #26

@bobhenl

Description

@bobhenl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions