Reading UUIDs from file

Discussion in 'Plugin Development' started by Atoxz58, Jun 11, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Atoxz58

    I want to be able to read a UUID off of a config file and compare it to another UUID as part of an economy to check if the player has an account and there's no method like getUUID() so does anyone know how to get it off the file?
     
  2. Offline

    zack6849

    there's no method like getUUID()

    What. player.getUniqueID()
     
  3. Code:java
    1. UUID uuid = UUID.fromString(string);
    2. //And the string is
    3. config.getString("path.to.uuid");
     
Thread Status:
Not open for further replies.

Share This Page