Terraria World Size: How to Choose & Set on Server
To choose a Terraria world size on a server, you set the worldsize setting in the server configuration file to 1 (small), 2 (medium), or 3 (large) before starting the server. For a dedicated server, you can also pass the size as a command-line argument when the world is first created, but the config file is the most reliable method for existing worlds.
Background: Why World Size Matters
Terraria generates its worlds in three fixed sizes: small (about 4,200 × 1,200 tiles), medium (about 6,400 × 1,800 tiles), and large (about 8,400 × 2,400 tiles). The size you pick affects more than just how long you walk—it determines the number of ore veins, chests, life crystals, and other resources, as well as the spacing of biomes and the length of the Underworld. Small worlds are denser, with less travel time, while large worlds offer more exploration and separation between biomes.
On a server, the world size is set once when the world file is created. You cannot change the size of an existing world without generating a new one. This makes the initial choice important for long-term multiplayer projects.
How to Set World Size on a Dedicated Server
If you run a dedicated Terraria server (the terrariaserver.exe or the Linux/macOS binary), the simplest method is to edit the config.txt file in the server folder. Look for the line worldsize= and set it to one of the following values:
1– Small2– Medium3– Large
If the line does not exist, add it. When you start the server, it will use that size for any newly generated world. If you already have a world file, the size setting is ignored—the server uses the size stored in the world file itself.
Alternatively, when you first launch the server without a config file, it will prompt you to choose a world size interactively. You can also pass the size as a command-line argument: terrariaserver.exe -worldsize 2 (on Windows) or ./terrariaserver -worldsize 2 (on Linux/macOS). This works only when creating a new world; it has no effect on an existing one.
How to Choose the Right Size for Your Server
Choosing the right size depends on your player count, playstyle, and hardware. Here are the key factors to consider:
- Player count: For 1–4 players, a small world is usually enough and keeps everyone close. For 5–10 players, a medium world offers more space to build and explore without feeling empty. For 10+ players or large build projects, a large world provides the most room.
- Resource availability: Large worlds have more ore and chests, but they also spread resources thinner. If you want to find rare items quickly, small worlds are better because everything is closer together.
- Exploration vs. convenience: Large worlds make the map feel like an epic adventure, but traveling between biomes takes longer. Small worlds cut down on travel time, which is handy for PvP or quick co-op sessions.
- Performance: Larger worlds require more RAM and can cause lag on older machines. A small world uses less memory and loads faster, especially for a server with many players.
If you are unsure, start with a medium world. It balances space and convenience for most groups.
Common Problems and Fixes
Players often run into a few issues when setting world size on a server:
- World size not changing: If you edit
config.txtbut the server still generates a small world, make sure the file is saved with the correct encoding (plain text, not UTF-8 with BOM) and that you are not using an existing world file. Delete the old world or specify a new world name. - Server crashes on large worlds: Large worlds can exceed 512 MB of RAM when fully loaded. If your server crashes, reduce the world size or increase the server’s allocated memory.
- Cannot find the config file: On some hosting panels, the config file is named
serverconfig.txtor is located in a different directory. Check your hosting provider’s documentation. - Command-line argument ignored: The
-worldsizeargument only works when the server is creating a new world. If a world file with the same name exists, the server loads it instead.
World Size Comparison: Small vs. Medium vs. Large
Here is a quick comparison to help you decide:
- Small: Fast to explore, dense resources, quick travel. Best for 1–3 players or short sessions. The Underworld is about 1,200 tiles long, so you can reach the edge quickly.
- Medium: A balanced mix of space and convenience. Good for 4–8 players. More room for separate bases but still easy to reach friends.
- Large: Maximum exploration, but long travel times. Ideal for large groups or players who want separate biomes for builds. The map is about twice the width of a small world.
Costs and Hardware Considerations
Running a Terraria server with a large world increases memory usage. A small world typically uses around 200–300 MB of RAM, a medium world 300–500 MB, and a large world 500 MB or more. If you are renting a server, larger worlds may require a higher-tier plan with more RAM. On your own hardware, ensure you have enough free RAM to avoid lag or crashes. CPU usage is not significantly affected by world size, but disk space is—a large world file can be over 100 MB, while small worlds are around 30–50 MB.
Alternatives to Changing World Size
If you already have a world and want more space, you cannot resize it, but you can:
- Create a new world with the desired size and move items via a character that can travel between worlds.
- Use TEdit (a third-party map editor) to copy builds from one world to another, though this is complex and not officially supported.
- Run multiple servers with different world sizes and let players choose.
Frequently Asked Questions
Can I change the world size of an existing server world?
No. The world size is fixed when the world is generated. You must create a new world with the desired size. You can transfer items and buildings using a character, but the world itself cannot be resized.
What is the default world size in Terraria?
In single-player, the default is small. On a dedicated server, the default is also small unless you specify otherwise. The worldsize= setting in config.txt is ignored if you load an existing world.
Does world size affect the number of bosses or events?
No. Bosses and events are the same regardless of world size. However, larger worlds have more space for arenas and more room to spread out during events.
Which world size is best for a Terraria server with 5 players?
A medium world is usually the best choice for 5 players. It offers enough space for separate bases and exploration without making travel tedious. If you plan to build massive structures, a large world gives more room.
How do I set world size on a Terraria server hosted by a provider?
Most hosting providers offer a control panel where you can select world size when creating a new world. If not, you can edit the config.txt file via the file manager. Check your provider’s documentation for the exact location.
Does world size affect server performance?
Yes, larger worlds use more RAM and may cause lag if your server has limited memory. Small worlds are lighter and load faster. For a server with many players, a small or medium world is often more stable.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.