This api takes note of every player who joins the server. It leads a list of all these players with their last known username and their uuid.
- Native Minecraft Version:
- Tested Minecraft Versions:
This api is usable to get the uuid of offline players without connecting to an extern source (e.g. a website or external api).
Code (Java):import org.enterfox.offlineplayerlistapi.utils.get;
UUID uuid = get.getOfflineUniqueId(String player);
//check for a null result
//the player with this uuid never visited your server since the api is installed, so the uuid is null.
//the player with this uuid exists, so do the stuff :D