-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
Sebastian edited this page Sep 16, 2016
·
12 revisions
To use UUIDMethods you have to add the jar from Spigot to your Buildpath. After adding the jar you can add the Methods from this wiki to your source.
If you want to prevent Laags, you should load the Methods asynchronous!
Loads Data if Mojang-Servers online from Mojang-Servers. If the servers offline, the data will be loaded from the Database.
Returns if no Data could be found null.
Note: The Data from the Cache will be used! If you dont want to use the Cache, use the getUsernameWithoutCache()-Method.
//uuid as String
String uuid = "988b7701-b82d-453f-8d5f-21519788ad70";
//returns Username as String
String username = UUIDAPI.getUsername(uuid);