FearThe1337
- fearthe1337
- fearthe1337
- Europe/Stockholm
- Yes
- No
FearThe1337, you are using a depreciated API. Please use the correct API calls in the future, to avoid broken responses.
FearThe1337, you are using a depreciated API. Please use the correct API calls in the future, to avoid broken responses.
While using the UUID lookup api for our player uptime tracking system I encountered a user who still has multiple uuids.
Apparently there is a uuid for 'milo00' and for 'Milo00'.
(Only difference is a different capitalization, but minecraft usernames are not case-sensitive?).
Assuming this bug has not been fully fixed yet?
Also, I seem to be having almost 200 names in my database who don't seem to have an uuid at all?
Using the latest api (Which I was already using) the name still returns 2 different uuids for this user if the lookup has more then 1 name specified.
outputs
Same for the php code I was using
<?php function uuidArray($usernames){ $json = json_encode($usernames); $ch = curl_init(); $curlConfig = array( CURLOPT_URL => "https://api.mojang.com/profiles/minecraft", CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => $json, CURLOPT_HTTPHEADER => array( 'Content-Type: application/json', 'Content-Length: ' . strlen($json) ), ); curl_setopt_array($ch, $curlConfig); $json = curl_exec($ch); curl_close($ch); $response = json_decode($json); return $response; } $names = array(); $names[] = 'milo00'; $names[] = 'Notch'; print_r(uuidArray($names)); ?>which yielded the output: