resettlement_mod
This mod resettles pops across all owned planets. It is suitable to move all types of pops, including robots, slaves, bio-trophies and pops from awoken fallen empires. The script handles all players (AI and human) and there is no need for manual pop movement to other planets until late game overcrowding. It should work in combination with all mods, which are not using other resettlement scripts and it does not interfere with the ingame resettlement. Have fun using the mod, since it is a QOL feature and reduces pop micro a lot. I use it myself in single and multiplayer games without desyncs. This does not modify game files and should be compatible with almost every other mod, not changing vanilla jobs. It is not compatible with achievements.
With Nemesis 3.0 Stellaris now has an ingame resettlement feature. It works quite good. Pops have a certain chance to move, which can be increased by transit hubs on starbases. Nevertheless I will keep this mod updated, since it includes several beneficial features: Monthly resettlement of a large variety of pops before demotion, exchanging of slaves with normal pops, bio-trophy resettlement and fallen empire pop resettlement. In addition AI empires get emergency features to save planets without rulers and specialists. Finally it can be helpful, if you are going to increase growth again ingame or by other mods.
How does it work: The mod resettles unemployed pops to planets with a job and good habitability. Clerk or maintenance-drone jobs are not preferred until they are needed on a planet. By setting migration controls on a species, the pop from this species is excluded from the script. If you have slaves or robotic workers, the script will exchange them with a suitable pop or just resettle them to a planet with a job. You can exclude a planet from resettlement to it and from it, by setting a special planetary decision. The mod looks for suitable jobs for each pop type, which implies that you need to take care of building them before.
Restrictions: The script runs in background monthly at no costs for any empire. Depending on the amount of owned planets (once for each multiple of 7 planets), it will be repeated up to three times per month. Each run it can resettle up to one worker, one specialist, one ruler, slave, robot-servant, bio-trophy, one pop to a habitat or one awoken-FE-pop. The script stops moving pops to planets with less than 50% stability. The AI is able to resettle below this limit, to save the planets from crashing. Planets, which are occupied, have devastation, have land appropriation or are under bombardment, cannot be target or source of a pop. Resettlement is switched off below 10 pops on a planet or on planets with a construction. A pop is not resettled to a planet below 50% habitability.
Please try out my other mods in my workshop (e.g. sector AI). Special thanks to Glavius, he inspired me to start modding. The basis of this script was originally taken from his script, but is now changed significantly.
Revisions:
Old revisions of this mod are available below. Click the link to download.