Hello! I have been trying to develop a whitelist plugin and I am running into a problem. You see, I have a source populating a Java arraylist, with some usernames. However, when I do player.setWhitelist(true); I get an error that player needs to be a Player object (while it is a String). Then, I tried converting the string to Player using Player p = Bukkit.getServer().getPlayer(player); and then continuing with the above setWhitelist, but I am getting a null exception. I have no idea what to do next, and after a lot of searching, Google knows nothing either. Any help appreciated! Thanks in advance!