main/Developers Info

Developers Info

<< Back

UUIDCacher is used to cache player UUIDs and names. If your plugin needs to get the UUID for a player name (from for example user input), this plugin efficiently converts the name back to a UUID. UUIDCacher is developed for personal use, but if it is of any use to you, feel free to use it too.

Version list

UUIDCacherAPI versionUUIDCacher version
UUIDCacherAPI v1.0UUIDCacher v1.0+

Getting started

To get started, download UUIDCacherAPI from the Files and add it to your build path.

In your code, obtain UUIDCacherAPI:

UUIDCacherAPI uuidCacherAPI = (UUIDCacherAPI) Bukkit.getServer().getPluginManager().getPlugin("UUIDCacher");

To retrieve the UUID for a player name:

UUID uuid = uuidCacherAPI.getByName(name);

The returned UUID is null if the player is not found.