Terraria serverconfig.txt generator
Terraria's config file is simple to write and easy to have ignored, because the server does not look for it unless you tell it to.
Visual Settings
serverconfig.txt
How serverconfig.txt syntax works
Plain key=value lines with no quotes. The values that matter most are the world path and the autocreate setting, and they interact: pointing at a world that does not exist combined with autocreate enabled quietly generates a new one instead of loading the save you meant.
The mistake that costs people hours
The server only reads this file if it is launched with an explicit config argument pointing at it. Started without that, it ignores the file completely and drops into its interactive setup prompts instead — which is why so many people edit the config, restart, and find nothing has changed.