Detect if Premium Minecraft or not

Discussion in 'BungeeCord Plugin Development' started by Preodym, Jun 26, 2021.

  1. Hi,

    I would like to have the opportunity to distinguish between premium and not premium players.

    The goal is: On the server only players with bought minecraft.

    But if the session servers are offline, the player should also be able to join "offline / cracked" when the IP etc. is right.

    How can I do that? How can I query if the player has bought.

    Bungeecord has obviously in the offline mode. But how do I get a Boolean if the player has an authorized minecraft. And how do I sit down if he is offline the UUID of his actual accounts?
  2. Why do you want to do this? If you really did implement this, I suspect a malicious actor could find some way of blocking your access to the session server to fool your server into thinking it was down. Then anyone could connect in offline mode and impersonate you.

    IMO the session servers are not down enough for it to be worth the trouble.
  3. If you just want premium players on your server, you can activate online mode in your proxy config
    • Like Like x 1