By the end of this guide your own Terraria world from your PC runs on your rented server, with every house, chest and defeated boss. You upload the .wld file and enter its name in the panel. On the next start the server loads it instead of generating a new world.
Requirements
- A Terraria server in the customer panel. It runs TShock and loads regular Terraria worlds.
- The world file from your PC.
- Access to Files & worlds → Files and Game settings → Server Variables.
Find the world file on your PC
A Terraria world is a single file with the .wld extension. According to the Terraria wiki, worlds on Windows live in %USERPROFILE%\Documents\My Games\Terraria\Worlds. The wiki's server page lists ~/.local/share/Terraria/Worlds/ for Linux and ~/Library/Application Support/Terraria/Worlds for macOS.
If your world is stored in the Steam Cloud, it is not in that folder. In the game's world menu, choose "Move off cloud" for that world. The file then appears in the regular folder.
Rename the file
The World name field in the panel accepts only letters, digits, hyphens and underscores, up to 20 characters. Rename the file before uploading, for example from My World.wld to my-world.wld. Case matters, because the server runs on Linux.
Upload the world
- Create a backup under Backups & recovery so you can return to the old world.
- Stop the server.
- Open Files & worlds → Files. You start in the server's top folder.
- Click Upload and pick your
.wldfile. Put it straight into this folder, not into a subfolder.
Large worlds are easier to upload over SFTP. The panel shows your SFTP credentials in the file manager.
Enter the world name
- Open Game settings → Server Variables.
- Enter the file name without
.wldin World name, in this examplemy-world. - Save and start the server.
The server starts with -world my-world.wld. If it finds the file, it loads your world. If not, the wiki explains that -autocreate generates a new world under that name.
Settings that only affect new worlds
World size and World seed only matter when the server generates a new world. Your uploaded world keeps its size, seed and difficulty. The previous server world stays on disk as its own .wld file. Enter its name again and the server loads it on the next start.
Common errors
| Problem | Cause and fix |
|---|---|
| The server generates a new, empty world | World name and file name do not match. Check spelling and case, and leave .wld out of the field. |
| The World name field rejects the name | It contains spaces or special characters such as dots or brackets, or it is longer than 20 characters. Use only allowed characters in both file and field. |
The world is missing from the Worlds folder on your PC |
It is stored in the Steam Cloud. Use "Move off cloud" in the game. |
| The file sits in a subfolder | The server looks in the top folder. Move the file there. |
| Your old server world is gone | It is still a separate file in the top folder. Enter its name in World name or restore the backup. |
If a problem persists, copy the first console lines after the server start and open a ticket.
Next steps
Give your friends the address from Players & access → Ports and the Join password if you set one. The Terraria order page shows prices and locations.