Question on offline UUIDs
#2
Yes, the offline UUID is generated based on their username, so it stays the same. The chance of a collision is rather low, it is assumed safe for identification. Internally, MD5 of the lowercased username is used for the offline UUIDs.

The non-blocking MojangAPI has not been implemented yet. There's even no issue for it on GitHub, I just created it:
https://github.com/cuberite/cuberite/issues/3640

Anyway, if you only query UUIDs of players who have already connected to your server, even the synchronous API is kinda safe, because the UUIDs are cached, so it returns the UUID from cache, rather than making a network request.

Theoretically, you could even implement the MojangAPI requests in your plugin using cNetwork or cUrlClient functions, but it's like "preinventing" the wheel Smile
Reply
Thanks given by:


Messages In This Thread
Question on offline UUIDs - by Zee1234 - 03-22-2017, 04:35 AM
RE: Question on offline UUIDs - by xoft - 03-22-2017, 06:45 PM
RE: Question on offline UUIDs - by Zee1234 - 03-23-2017, 05:53 AM
RE: Question on offline UUIDs - by Zee1234 - 03-28-2017, 01:19 AM
RE: Question on offline UUIDs - by NiLSPACE - 03-28-2017, 01:46 AM
RE: Question on offline UUIDs - by Seadragon91 - 03-28-2017, 02:30 AM
RE: Question on offline UUIDs - by xoft - 03-28-2017, 07:47 AM



Users browsing this thread: 1 Guest(s)