Terraria server settings and why they only hit new worlds

Terraria world size, difficulty and seed only apply when a world is created. A worked new-world walkthrough, serverconfig.txt keys, and why exit matters.

Omne Team6 min read

Quick answer World size, difficulty and seed are baked in when the world is generated, so editing them later does nothing to an existing world [2]. To change them, back up the old world, set a new World Name with the new values, and start the server [2]. Before the first start, check the difficulty: on OmneHosting’s vanilla Terraria the documented default is 3, which is Journey [3]. To shut down, type exit in the console instead of killing the process [1]. Written against Terraria 1.4.5.8, the newest version on the wiki’s history page on 2026-11-17 [5].

A new world on a panel, start to finish

This walkthrough uses the settings OmneHosting documents for the vanilla edition. The variable names come from the Startup page [3]. If you run the dedicated server yourself, the same ideas map onto serverconfig.txt, covered further down.

  1. Back up first. Stop the server, then download saves/Worlds/world.wld from Files or make a backup from the Backups page [4]. If your World Name is not world, the file is named after it, as <World Name>.wld [2].

  2. Keep the server stopped. Settings are edited with the server off [3].

  3. Open Startup and find Server Variables. Set these [3]:

    Setting Variable Panel default What to pick
    World Name WORLD_NAME world A new name, for example survival2. Write the old one down.
    World Size WORLD_SIZE 1 1 small, 2 medium, 3 large
    Difficulty WORLD_DIFFICULTY 3 0 normal, 1 expert, 2 master, 3 journey
    World Seed WORLD_SEED blank Any text, or blank for random
  4. Save and start. The server creates the world on this first start. Do not stop it while it generates. OmneHosting’s docs say the console fills with tens of thousands of progress lines (for example Finalizing world), which is normal, and that CPU and memory use spike for a short while [4].

  5. Wait for the ready lines. Omne’s docs show this ending for a first start [4]:

    Terraria Server v1.4.5.8
    Listening on port <your port>
    Type 'help' for a list of commands.
    : Server started
  6. Check it. In the console, version prints the version number, and port and maxplayers print those values [1]. Then join through Multiplayer, Join via IP, with the address and port from the Network page [4].

To go back to the old world, set the old World Name again [2]. That implies the old file is kept, but I did not check this on a server, so keep the backup from step 1.

The default that bites: Journey

The panel’s documented difficulty default for vanilla is 3 [3]. In the wiki’s numbering that is Journey, not Normal [1]. If you leave the field alone, that is what you get, and you cannot change it afterwards without making another world [2]. Journey characters can only play in Journey worlds, and the reverse [2], so players with existing characters will care. Set it before the first start. tModLoader’s documented default is 0, so the two editions differ [3].

World size has the same catch: the default is 1, small [3].

Why editing size or difficulty later does nothing

The wiki describes autocreate as creating a world “if none is found” and difficulty as the value used “when using autocreate” [1]. I found no Re-Logic page that says what happens to an existing world. OmneHosting’s docs do: World Size, Difficulty and World Seed apply only when a world is first created, and an existing world keeps what it had [2].

If you run the server yourself: serverconfig.txt

The dedicated server reads a config file passed with -config, one key=value per line, with # for comments [1]. The keys that matter for worlds [1]:

Key What it does Values
world Path of the .wld file to load, and starts the server automatically a file path
autocreate Creates a world if none is found 1 small, 2 medium, 3 large
worldname Name given to a world created with autocreate text
seed Seed used with autocreate text
difficulty Difficulty used with autocreate 0 normal, 1 expert, 2 master, 3 journey
worldpath Folder where world files are stored a folder path
maxplayers Player cap 1 to 255
port Listening port default 7777
password Server password text
motd Message of the day text
secure Extra cheat protection 1 to enable
upnp Automatic port forwarding 1 to enable
npcstream Less enemy skipping at the cost of bandwidth; 0 turns it off number

The wiki lists more (banlist, language, priority, and one journeypermission_* key per Journey power), and notes that mobile servers need 1 added to the difficulty numbers [1].

Example, your values will differ:

# serverconfig.txt
world=/home/terraria/worlds/survival2.wld
autocreate=2
worldname=survival2
seed=OmneExample
difficulty=1
maxplayers=8
port=7777

On OmneHosting you do not edit this by hand. The panel writes your assigned port and address into serverconfig.txt every time the server starts, so a value you change there can revert. Use the Startup settings instead [3].

Why a restart gives you an empty world

If a restart gives you an empty world, the server loaded or created a different file than the one you meant. On OmneHosting it loads the world named in World Name, and if no matching file exists it may create a new one [2]. Open Files and look in saves/Worlds/ (the default world is saves/Worlds/world.wld [4]). Make World Name equal to your .wld file name without the extension [2]. Do not assume the old world is gone; it is most likely sitting next to the new one.

Bringing a world over from singleplayer

The wiki’s Linux instructions put world files in ~/.local/share/Terraria/Worlds/, and on macOS they live in ~/Library/Application Support/Terraria/Worlds [1]. The wiki gives no default Windows folder, only an example worldpath under My Documents\My Games\Terraria\Worlds\ [1]. OmneHosting’s docs say to upload the .wld in Files and set World Name to its name without .wld [2]; the default world sits in saves/Worlds/ [4], which I take to be the folder to use. I have not tested uploading a singleplayer world to an OmneHosting server, so treat the folder choice as an inference, and keep your original file as the backup.

Saving, and what is not worth worrying about

The wiki says the server auto-saves now and then but “will only save on shutdown when using the exit command” [1]. exit saves and shuts down, exit-nosave shuts down without saving, and save writes the world on demand [1]. Since 1.4.5.0 servers also save when the last player leaves [1]. So the habit is: type exit, wait for the console to finish, then let the panel stop the process. I could not confirm what the panel’s Stop button sends to the Terraria process, so do not rely on it for the save.

An empty server is not a problem. The wiki notes that with no players online the server hibernates and time only passes while players are connected [1]. Your world does not age while nobody is on.

Version mismatches

Players see “You are not using the same version as this server” when client and server versions differ [2]. For the modded edition, players must use the tModLoader client, because its base game version can differ from the regular game [2]. Omne’s docs list vanilla 1.4.5.8 and a tModLoader build on Terraria 1.4.4.9 [4]. The wiki’s version history lists 1.4.5.8 as its newest entry as of 2026-11-17 [5].

What this post did not verify

  • What autocreate does when the file named by world already exists. The wiki does not say, and I did not run the server to find out.
  • tModLoader’s own config differences. This post leans on Omne’s docs for that edition.
  • The first-start log above is quoted from Omne’s docs, not from a run for this post.

Questions people ask

I changed world size or difficulty and nothing happened. Why?

Those settings only apply when a world is first created. An existing world keeps the size and difficulty it was made with, so you need to create a new world under a new name to use different values.

What difficulty does a new world get if I never touch the setting?

On OmneHosting's vanilla Terraria Startup page the documented default is 3, which is Journey. World size defaults to 1 (small). Check both before the first start, because you cannot change them afterwards.

What port does a Terraria server use?

The Terraria Wiki says the default is 7777. On OmneHosting, use the address and port shown on your server's Network page instead.

Does a Terraria server save when I just stop it?

The wiki says the server auto-saves now and then but only saves on shutdown when you use the exit command. Type exit in the console and wait for it to finish.

Sources

  1. Server (Terraria Wiki)
  2. Terraria server problems: worlds, versions, and tModLoader mods (OmneHosting Docs)
  3. Terraria server settings and options (OmneHosting Docs)
  4. Set up your Terraria server: Vanilla and tModLoader editions (OmneHosting Docs)
  5. Desktop version history (Terraria Wiki)