@EventHandler
    public void Nicks(AsyncPlayerChatEvent e) {
    	Player p = e.getPlayer();
    	String name = p.getName();
    	String nick = NicknamesConfig.getNicknames().getString(name);
    	
    	// To avoid an NPE being thrown
    	if(nick != null) p.setDisplayName(nick + ChatColor.RESET);
    }