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

Xbox login system

Comments in 'Plugin Development' started by jasonwynn10, Jul 9, 2016.

  1. jasonwynn10
    Offline

    jasonwynn10 Active Member

    Joined:
    Dec 20, 2015
    Posts:
    87
    Minecraft User:
    jasonwynn10
    Is there a way to check if the client is or isn't connected to Xbox? If so, how? I would like to make a simple login system to check and make sure all players that join are connected to Xbox for the surest way to make sure all players have different names.
  2. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    applqpak, jasonwynn10 and Survingo like this.
  3. jasonwynn10
    Offline

    jasonwynn10 Active Member

    Joined:
    Dec 20, 2015
    Posts:
    87
    Minecraft User:
    jasonwynn10
    Thanks!
  4. Extreme_Heat
    Offline

    Extreme_Heat Active Member

    Joined:
    Apr 19, 2016
    Posts:
    76
    Minecraft User:
    Extreme_Heat
    No need to use the Xbox API, the authentication data that is sent if the player is using Xbox Live is already signed with Mojang's private key. All you have to do is decode the data with the Mojang public key -- if you're able to do so then you can verify that they are actually authenticated. You need to also verify the login time and the login expiration time to ensure that the client isn't using an expired session.

    https://confluence.yawk.at/display/PEPROTOCOL/Game Packets
    applqpak, Primus and Survingo like this.
  5. jasonwynn10
    Offline

    jasonwynn10 Active Member

    Joined:
    Dec 20, 2015
    Posts:
    87
    Minecraft User:
    jasonwynn10
    that's even better! Thanks!

Share This Page

Advertisement