Terraria serverconfig.txt Generator
Choose world, size, difficulty and player count, read what each option does and copy the finished serverconfig.txt for your Terraria server.
Runs entirely in your browser. Names, passwords and free text never leave your device. For our statistics, we count that the tool was opened and used, plus a few selected options (numbers you enter and results only in broad ranges), without cookies and without any link to you.
How it works
- Pick your operating system so paths get the right format, and enter the world name and the path of the world file.
- Set world size, difficulty and seed. They only apply when the world is newly created.
- Set the player count, port and a password for your server.
- Copy the file or download it, place it next to the server and start it with ./TerrariaServer -config serverconfig.txt.
Frequently asked questions
Where is the serverconfig.txt?
You create it yourself, ideally in the server folder next to the start file. You tell the server which file to read with the start parameter -config serverconfig.txt. Each line holds one setting as key=value, lines starting with # are comments.
When does the server create a new world?
Only if the file given in world does not exist and autocreate is set. Then size (1 small, 2 medium, 3 large), name, difficulty and seed are used for that file. If the world file already exists, it is loaded and these values do not change it.
What do the difficulty levels mean?
0 is Classic, 1 Expert, 2 Master and 3 Journey. The difficulty is fixed when the world is created. The Journey permissions below only take effect in a Journey world.
How many players are possible?
maxplayers accepts 1 to 255, the default is 16. Every additional player needs CPU power and bandwidth, so set it only as high as you really need.
Does the file also work for tModLoader or TShock?
The vanilla server reads this file. tModLoader and TShock bring additional files and settings of their own that this generator does not create.
Related offerYour own Terraria server, ready in a few minutes.
Rent a Terraria server →