For some reason no matter who I ask, no matter what I read, no matter where I go, everyone refuses to tell me what I actually need to do, they don't help me out, they just link me to tutorials that tell me nothing. All I want to know is how to change "Player target = Bukkit.getServer().getPlayer(args[0]);" to UUID And same for "Player player = (Player) sender;" Now, if you aren't going to help me out, don't even bother responding, because I've already delt with enough so far...Thanks for your help to those that do actually provide me with help.
Code:java Player p = /* your player object */;UUID identifier = p.getUniqueId(); Protip: http://jd.bukkit.org/rb/apidocs/org/bukkit/entity/Entity.html#getUniqueId()
Xerfox Chances are you've been linked to this before, which happens to mention exactly how to get a UUID from a Player object.
Xerfox I don't get it. Why didn't you just look at the javadocs? Problem solved by yourself and much faster than waiting for a reply...