tModLoader runs Terraria with its own mod runtime. Launch tModLoader on your computer too; the regular Terraria client is not the right entry point for this session.

Prepare a world in the panel

Open Game settings → Server Variables. General server settings contains the values for the next startup:

  • World name selects the world file. Another name loads or creates another world; it does not rename the existing file.
  • World size applies when creating a new world. An existing world keeps its size.
  • World seed also applies only to initial creation. An empty field lets the game choose a random seed.
  • Server password protects joining. An empty value means no join password is set.
  • Greeting (MOTD) is the in-game message. Game language sets the server language.

Player limit is read-only and follows your plan’s limit. Click Save startup variables, then restart the server. When generating a world, wait for completed startup in the Console.

Set difficulty for a new world

An existing world keeps its difficulty. For a new world, choose Difficulty under Server Variables: Normal, Expert, Master or Journey. On every start the panel writes this value to the difficulty=0, 1, 2 or 3 line in serverconfig.txt. If you only edit that line by hand, the next start resets it to the panel value. A line starting with # is a comment and is not applied.

Back up the world under Backups & recovery first. Choose the difficulty, enter a new World name and click Save startup variables. Before restarting, open serverconfig.txt in the root directory under Files & worlds → Files. If it has no difficulty= line without a leading #, add one with the same value. Then restart the server. Your previous world stays in place, so you can enter its name again later.

Agree on mods with your players

Everyone needs a compatible tModLoader release and the mods required by the server. The Workshop server variant uses Mods and Worlds in the root directory. Change mods while the server is stopped and back up an existing world before removing content mods. Without those mods, items or world content may be missing.

Share the address

Copy the Server address at the top, including its port, and share the server password if you set one. When joining, enter the address and then the port in the game; the port need not be 7777.

Continue with tModLoader: Join Your Server.