Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XBox Live

Comments in 'Plugin Development' started by JackboyPlay, Jul 18, 2016.

  1. JackboyPlay
    Offline

    JackboyPlay Active Member

    Joined:
    Apr 25, 2015
    Posts:
    507
    Minecraft User:
    JackboyPlay
    Hi, can someone send me an example how to code it if a player joins that the code checks if he is registered with XBox live or not?
  2. Survingo
    Offline

    Survingo Active Member

    Joined:
    Dec 6, 2015
    Posts:
    221
  3. JackboyPlay
    Offline

    JackboyPlay Active Member

    Joined:
    Apr 25, 2015
    Posts:
    507
    Minecraft User:
    JackboyPlay
  4. Survingo
    Offline

    Survingo Active Member

    Joined:
    Dec 6, 2015
    Posts:
    221
  5. Extreme_Heat
    Offline

    Extreme_Heat Active Member

    Joined:
    Apr 19, 2016
    Posts:
    76
    Minecraft User:
    Extreme_Heat
    The authentication data is sent as a JWT. The signature mechanism is explained here. The game uses ES384 for hashing. So hash the base64 header + "." + base64 body, decrypt the signature using a hardcoded key as explained here and check the signature of what you have with what the server sent with OpenSSL and you can check if the login is legitimate.

    If you need source code, checkout MiNET. I also have a proof of concept that works with PocketMine which I will eventually release.

Share This Page

Advertisement