Each player have button to set spawn point.
In map settings, you can set spawn select cooldown time.
There's also random spawn and unstuck buttons. In map settings you can disable each of these 2 buttons.
Mod that I based upon was 'Spawn Control',
Orginal mod page : https://mods.factorio.com/mod/SpawnControl
changelog :
1.1.0 - added unstuck button. Added option to disable/enable unstuck and random spawn buttons. Re-added time counter for random spawn button.
1.0.2 - removed random spawn time cooldown, changed random spawn from selecting random position about 4k tiles from map center, to selecting map position about 4k tiles from player current location.
1.0.2 - Started making changelog.