When I must to use Player:GetUniqueID and Player:GetUUID?
[SOLVED] Player:GetUniqueID vs Player:GetUUID
|
09-19-2015, 11:51 PM
cPlayer:GetUniqueID returns the ID of the entity of the player, while GetUUID returns the (mojang) UUID of the player. The UUID is from the mojang servers if the server is in online mode. Otherwise it is generated.
UniqueID is only valid while the player is logged in. When the server restarts or the player logs of he gets a different Unique ID. Thanks given by: DrMasik
09-19-2015, 11:53 PM
GetUniqueID is a server internal ID, which is unique across entities, This is primarily used for apis that work with entities. UUID returns the player UUID, (which is not necessarily unique) which only players have, and is persistent across multiple logins. It is primarily used for the login apis.
Thanks given by: DrMasik
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)