How to set the Terraria world difficulty of a tModLoader server
The Terraria world difficulty of a tModLoader server is "normal" by default. You can change the difficulty if you want an extra challenge. This guide will show you how in a few simple steps.
Note that the world difficulty must be set before the world is generated. This can be done by deleting the world right after creating a server.
Change the world difficulty
- Start your server
- Pause your server
- Open your server's files
- Edit the
gameserver/serverconfig.txt
file - Change the line starting with
difficulty=
to one of the following:difficulty=0
for Classic difficultydifficulty=1
for Expert difficultydifficulty=2
for Master difficultydifficulty=3
for Journey difficulty
- Save the file
- Go into the
gameserver
folder and delete theWorlds
folder - Restart your server
Example file for Master Mode
Here is an example of what your serverconfig.txt
file could look like
if you want to play Master Mode:
world=Worlds/world1.wld
worldpath=Worlds/
worldname=world1
autocreate=1
difficulty=2
maxplayers=32
port=7777
password=
motd=Yet another Squadnox server
banlist=banlist.txt
secure=1
language=en-US