spigot get player from UUID

Java
Bukkit.getPlayer(UUID.fromString(yourString);
Source

Also in Java: