How to Change Difficulty on Your Terraria Server

Set the world difficulty (Classic, Expert, Master, Journey) and world size on your Terraria dedicated server.

Terraria has four difficulty modes that affect enemy stats, loot drops, and gameplay mechanics. Difficulty is set when the world is generated and cannot be changed afterward — to switch difficulty, you need a new world.

Difficulty Modes

ValueModeDescription
0ClassicOriginal Terraria experience. Balanced for casual players
1ExpertTougher enemies, better loot, new boss mechanics
2MasterHardest combat. Maximum challenge for experienced players
3JourneyCreative mode — research items, time control, item duplication

Set the Difficulty

Important: Difficulty is locked when the world is created. Changing it on an existing world has no effect. To switch difficulty, you need to generate a new world.

Open Startup

In the XGamingServer Panel, click Startup in the sidebar.

Set Difficulty

Find the Difficulty variable and set it to 0, 1, 2, or 3.

Set a new World Name

Change the World Name to a new value so Terraria creates a fresh world with the new difficulty.

Start

Start from Console. The new world generates with your chosen difficulty.

Open serverconfig.txt

In Files, open serverconfig.txt.

Set difficulty and worldname

difficulty=2
worldname=NewMasterWorld
autocreate=2

The autocreate setting controls world size: 1 = Small, 2 = Medium, 3 = Large.

Save and start

Click Save Content and start the server.

World Size

Set when the world is generated, alongside difficulty:

ValueSizeApproximate dimensions
1Small4200 × 1200 tiles
2Medium6400 × 1800 tiles
3Large8400 × 2400 tiles

World Seed

For reproducible world generation, set a seed:

seed=myCustomSeed

Same seed + same size + same difficulty = same world layout. Use this for shared starting points or speedrun events.

Special "Easter Egg" Seeds

SeedEffect
for the worthyMaster difficulty++ — extra-hard mode
not the beesBees-only world for chaotic gameplay
5162020Don't Starve crossover features
celebrationmk10Anniversary world with rainbow blocks
getfixedboiCombines multiple secret seeds — extreme challenge

How is this guide?

40% Off — Limited TimeGet your Terraria server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page