- effect add_district = district_city
This command will add the 'City District' to the selected celestial body.
- effect add_district = district_hive
This command will add the 'Hive District' to the selected celestial body.
Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in Stellaris.