A Java implementation of the mc-api.net API.
Usage examples:
Username to UUID
UUID uuid = UUIDAPI.getUUID("AeroPvP");
Would return the UUID object for AeroPvP.
You can also get a string alternative (which does not contain hyphens)
String uuid = UUIDAPI.getUUIDString("AeroPvP");
UUID to Username
String playerName = UUIDAPI.getUsername("a8889e3068b84ce8963f4ea259c3ebe3");
Would return:
njb_said
Errors
If the given username or UUID is invalid, NULL
would be returned!
To compile just run mvn clean package
or download the latest build from build.mc-api.net
Prerequisites: