So I have a hash map of player UUID's and Slime entities. If a player's UUID is mapped to a slime, I want an admin to be able do a remove command on the player and kill the slime. The command would look something like this: /remove <name>. Normally to get the player given in the command's UUID, get the associated slime, and kill it, we could do: Code:java Player p = Bukkit.getPlayerExact(name);UUID playerID = p.getUniqueId();Slime slime = map.get(playerID);slime.setHealth(0.0D); However, the function Bukkit.getPlayer(name) and Bukkit.getPlayerExact(name) are deprecated. Is there any other way to get a user's UUID given the user's name?