Privacy notice This website only uses technically necessary cookies. Statistics, marketing and external services are not loaded without JavaScript. Learn more in our Privacy Policy.
Privacy notice This website uses only technically necessary cookies. Statistics, marketing and external services are not loaded without JavaScript. Read more in our Privacy Policy.
Informacja o prywatności Ta strona używa wyłącznie technicznie niezbędnych plików cookie. Statystyka, marketing i usługi zewnętrzne nie są ładowane bez JavaScript. Więcej w naszej Polityce prywatności.
Information sur la confidentialité Ce site n’utilise que des cookies techniquement nécessaires. Les services de statistiques, de marketing et les services externes ne sont pas chargés sans JavaScript. Plus d’informations dans notre Politique de confidentialité.
Avviso sulla privacy Questo sito usa solo cookie tecnicamente necessari. I servizi statistici, di marketing ed esterni non vengono caricati senza JavaScript. Maggiori informazioni nella nostra Informativa sulla privacy.
Aviso de privacidad Este sitio web solo usa cookies técnicamente necesarias. Los servicios de estadística, marketing y externos no se cargan sin JavaScript. Más información en nuestra Política de privacidad.
Privacymelding Deze website gebruikt alleen technisch noodzakelijke cookies. Statistiek-, marketing- en externe diensten worden zonder JavaScript niet geladen. Meer hierover in onze Privacyverklaring.
Privatlivsinformation Denne hjemmeside bruger kun teknisk nødvendige cookies. Statistik-, marketing- og eksterne tjenester indlæses ikke uden JavaScript. Læs mere i vores Privatlivspolitik.

Black Friday Up to 15% off game serversUp to 15% – until November 30 Claim discount

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.

Free, no sign-up Game Server Configs

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

  1. Pick your operating system so paths get the right format, and enter the world name and the path of the world file.
  2. Set world size, difficulty and seed. They only apply when the world is newly created.
  3. Set the player count, port and a password for your server.
  4. 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.