OfflinePlayerListAPI 1.0.0

api for some of my plugins

  1. RaceShafter
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    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.

    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
    if(uuid==null){
      //the player with this uuid never visited your server since the api is installed, so the uuid is null.
    }else{
      //the player with this uuid exists, so do the stuff :D
    }