I have developed an automatic train system using minecarts and redstone circuits to let the minecarts travel between stations. It worked so far for lines in the near environment. But I noticed that it fails for longer distances, because the chunks are not loaded - therefore the minecart will stop and never come back, until the chunks were loaded by a passing player.
I am using a 1.9 Vanilla server, and I have full access to the server.
The Chunks don't need to be loaded when no player is on the server. But if there are players, the chunks containing the stations and the line should always be loaded when players are online.
How can I achieve this?
I am willing to install server mods, if necessary, but I only found a mod for MC 1.7. For some tutorials, I am confused about "Lazy Load chunks" and "entity chunks", and I do not know which type I need for my scenario. I also read that it might be possible using command block chains, but I do not know exactly how this works (and if it actually works for this scenario).
I do not understand why you think it is a duplicate. Once again, if the end station is set to a spawn point, then the whole track in the middle (the powered rail) won't work. So the linked question doesn't fit the problem situation.