How to Change World Difficulty (New World Generation)
Terraria difficulty settings (Classic, Expert, Master, or Journey) are "baked" into the world file upon generation. To change the difficulty via the control panel, you must generate a new world. This guide explains how to do this correctly without losing your old world files.
Step 1: Adjust Difficulty in Game Settings
First, you need to update the server's configuration so it knows what difficulty to apply to the next world it creates.
- Stop your server from the dashboard.
- Navigate to the Game Settings (or Startup) tab on the left sidebar.
- Locate the Difficulty variable and choose your new setting:
- 0 = Classic
- 1 = Expert
- 2 = Master
- 3 = Journey
Step 2: Assign a New World Name
If you keep the same world name, the server will try to load the existing file, which is still locked to the old difficulty. To trigger a new generation with your new difficulty, you must change the world name.
- In the same Game Settings tab, find the World Name field.
- Change the name to something different (e.g., if it was
World1, change it toWorld1_Expert). - Click Save or ensure the variable is updated.
Step 3: Generate the New World
Now that the settings are updated, you simply need to start the server.
- Go to the Console tab.
- Click Start.
- Watch the logs; the server will see that the new world name does not exist and will begin "Generating World" with the new difficulty you selected.
Why did I have to make a new world?
Because difficulty is a core part of a world's data, the server cannot simply "switch" it on an existing file through basic settings. By changing the World Name, you are essentially telling the server to create a fresh save file with your new rules. Your old world file remains safe in your saves/Worlds folder and can be loaded again at any time by changing the name back.
Note: If you want to change the difficulty of your current world without losing your buildings, please check using TEdit. https://github.com/TEdit/Terraria-Map-Editor/releases