UUID comparing trouble

Discussion in 'Bukkit Help' started by tbytepro, Jun 17, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    tbytepro

    in my code i'm using UUID from this:
    https://api.mojang.com/users/profiles/minecraft/NICKNAME

    and

    Bukkit.getPlayer("NICKNAME").getUniqueId().toString().replace("-", "");

    but when i'm joining on premium acount, this giving me a 2 another UUID's strings

    what is a good solution to comparing UUIDS?
     
  2. Online

    timtower Administrator Administrator Moderator

    @tbytepro Why do you need this? And the only reason that they are not the same that I can come up with is that you are running a cracked server.
     
  3. Offline

    tbytepro

    i'm need to know if Player is premium or cracked. what did you mean with the server is cracked? is this online-mode changed to false?
     
  4. Online

    timtower Administrator Administrator Moderator

    @tbytepro Correct.
    Because if it was set to true then you would never need to make this check.
     
  5. Offline

    tbytepro

    so is a solution to literally check if player is cracked or premium with online mode to false?
     
  6. Online

    timtower Administrator Administrator Moderator

    As you are so keen on keeoing it to false:
    Locked
    Offline mode is not supported by Bukkit
     
Thread Status:
Not open for further replies.

Share This Page