Solved How to check if player is premium on a non-premium server

Discussion in 'Spigot Plugin Development' started by HazafiDani, Jul 16, 2021.

Thread Status:
Not open for further replies.
  1. So what I want is that if the player joined using Premium Minecraft and not Cracked.
    I tried using com.mojang.authlib.GameProfile but GameProfile#isLegacy() always returned false.
     
  2. Cracked minecraft servers do not attempt authenticarion with mojang, so there is no way to find it out.

    You can use a plugin like https://www.spigotmc.org/resources/fastlogin.14153/ which can detect premium players and use authentication for them.

    Then you can check if a player is premium by
    their UUID version. 3 means offline, 4 means online
     
  3. Thanks :)
     
Thread Status:
Not open for further replies.