Skip to content
Sebastian edited this page Sep 16, 2016 · 12 revisions

UUIDMethods - Usage

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!

Get Username

getUsername()

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);

Clone this wiki locally