I really have to wonder how you managed that, especially the part where you had to have floated unprotected within the sun long enough to set up a base and then set faction home. Or did you...
I can think of 2 ways that this might be possible. Both require a command from the admin.
Firstly, build your base elsewhere (likely in the center of a sector), enter build mode of that base, and then /change_sector to the sun. Suppose that might do it. Otherwise, would setting the sun as a protected sector stop you from taking solar damage? It\'s meant to stop all, so I\'d assume so, though I think in both instances you\'d still get the popup spam from being there.