CanaryModTeam / CanaryLib

The CanaryMod API Library
http://canarymod.net
28 stars 22 forks source link

Mojang UUID API #128

Open WWOL opened 9 years ago

WWOL commented 9 years ago

Per here it appears UUID translation is not working. From what I can gather "https://api.mojang.com/profiles/page/1" is returning 204 No Content even on valid requests and this empty body is causing NPE when tring to extract the UUID (will be confirmed if someone posts a stack trace in the forum post).

I have gotten a responce from POST to https://api.mojang.com/profiles/minecraft with a body of ["WWOL"] which returns [{"id":"e5cd015d2d894c9b8d1f3cd5144e8ed2","name":"WWOL","legacy":true}]

Is this a problem for anyone else (there where a few people on the forums)? Does this need to change?

WWOL commented 9 years ago

Nutmegan posted this error report. The line is ToolBox.java:596 with the call to next() with no input returned from the input stream.

jamierocks commented 9 years ago

sk89q/SquirrelID is good for this.

darkdiplomat commented 9 years ago

I'm guessing Mojang changed something in their API's It may be a more viable option to implement SquirrelID rather than engineering things in house (considering how little time the team seems to have anymore to try and maintain things...)

jamierocks commented 9 years ago

Perhaps you should expand your dev team?

Nutmegan commented 9 years ago

I installed your data collection plugin, but it seems the problem has suddenly evaporated? I tested yesterday and again today. I can't recreate the issue. So perhaps the problem was on Mojang's side and they did something?

Sammi4 commented 9 years ago

Nutmegan, now the Canary website is closed, can you give me a link to this data collection plugin, if it might solve my problem converting username to UUID. e-mail stefansam@islandia.is