You could remove the conditional statements altogether, as sender.getName() should return the correct name for each sender in CraftBukkit. See: https://github.com/Bukkit/CraftBukkit/tree/master/src/main/java/org/bukkit/craftbukkit/command