I was wondering if there was a way to restore a colony to exactly as it was before it deciv'd using commands.
I have a very specific issue with this: usually a planet can just be restored by recolonizing it and giving it back to the original owners, which gives all the proper characters/bosses/etc for that planet including unique ones.
However stations that act as markets cannot be recolonized and using the mod that allows it to be recolonized gives a completely random list of people in charge of the station instead of the original ones, even if given back to the right faction.
Example: UAF adds a station marketplace called Nur Processing, which has a unique NPC as the boss who can also act as your contact. You get a special ship when you eventually reach maxed relationship with that contact. However if the station decivs or gets sat bombed by other factions there is no way, even with mods, to restore and get that NPC contact back. Looking at other mods that have station marketplaces I realized this could happen to any of them and quests/contacts for those mods may break or be lost for the rest of that campaign.
If that's not possible, is there a command that completely disables the ability for all colonies to become deciv'd? I noticed that my heavily modded playthroughs tend to have tons of places get absolutely blasted and deciv really quickly, and sometimes that breaks or ruins certain quests. I really don't care for deciv anyways so I don't see it as a huge loss nor will it ruin my fun.