~/paste/15751
~/paste/15751
~/paste/15751

  1.     public UUID getUUID(Player p) {
  2.         UUID uuid = p.getUniqueId(); //Gives a UUID object.
  3.         return uuid;
  4.     }
  5.  
  6.     public String getUUIDString(Player p) {
  7.         String uuid = p.getUniqueId().toString(); //Returns the user's UUID as a string.
  8.         return uuid;
  9.     }
Language: java
Posted by weeskilz at 02 Dec 2014, 09:46:09 UTC