Chainline on a Rohloff, I assume this is on a frame with conventional 135mm dropout spacing, not an extra wide hub for a fat bike.
I am not sure the numbers, so I will only talk concepts.
The Rohloff has two different splined sprocket carriers available, one is slim and one is normal. Thus, there are two options you have for chainline, depending on which you use.
You said 24mm bottom bracket spindle. I am guessing that is 124mm square taper bottom bracket.
Cranksets are generally much more expensive than bottom bracket spindles, so it might be more affordable to pick a crankset you like and then buy the bottom bracket that has the spindle length you need. Finding a crankset that works with your bottom bracket might cost more in the end.
It is easy to buy cranksets for double chainrings. If you get one of those, you can use the chainring in the outer position, or you can use the chainring on the inner position and use a bashguard in the outer position. I have my chainring on the inner position, bashguard on outer position, photo attached.
Make sure your bottom bracket works with the frame you have, for example my Rohloff is on a frame that has a 73mm bottom bracket shell, not the more common 68mm. Thus, I had to shop for a 73mm bottom bracket with the spindle length I needed.
Rohloff hubs work with 8 speed chains, but if you have a 9 or 10 speed crankset, that will work with an 8 speed chain. I have built up several bikes, both derailleur and Rohloff. And a couple have 10 speed cranksets and 8 speed chains. On a Rohloff, no problem with that at all. (That is a minor incompatibility if a front derailleur is used with an 8 speed chain and 10 speed crank, but that is not your situation.)
I am running a chainline that is about 5mm off of ideal on my Rohloff bike. This is by choice. I wanted my Rohloff bike to have the same Q factor (pedal width spacing) that my derailleur bikes have, thus I wanted a bottom bracket spindle that was 10mm narrower than I was supposed to have for the ideal Rohloff hub chainline. I could have used a spacer to push the bottom bracket off center, but chose not to, that would have reduced my chainline error.
That 5mm chainline error is not a problem at all. I do have greater wear on one side of my sprocket teeth than the other side, likely the same with chainring, but it is not a bid deal. When you consider that it does not really matter what gear a derailleur bike is in, they will always have some chainline error, I decided not to worry about a 5mm error when I built up my Rohloff bike a decade ago.
I know I did not specifically give you an answer on what to buy, but instead laid out the concepts. Good luck with your build.