To change the view distance where trains spawn to players, edit `spigot.yml` entity-tracking-range "misc" category.
entity-tracking-range