Terraria world size is controlled by the autocreate value in serverconfig.txt. The size only applies when Terraria generates a new world; it will not resize an existing world file.
World size values
| Value | World size |
|---|---|
1 | Small |
2 | Medium |
3 | Large |
Change the value with the text editor
- Open your Terraria server in the control panel.
- Click Configuration Files.
- Open
serverconfig.txtwith Text Editor. - Find the
autocreateline and set the size you want, for example:autocreate=3 - Save the file.
- Generate a new world, then restart the server.
Change the value with the configuration editor
- Open
serverconfig.txtwith Configuration Editor. - Enable the auto-create world option.
- Select the world size from the dropdown.
- Save the configuration.
- Generate a new world, then restart the server.
For the matching world generation steps, use Generating a Terraria world.
Verify the change
Restart the server after saving, then join and confirm the world, difficulty, location, message, or playlist now matches the value you set. If players are online, warn them before restarting.
Common causes
If the old value is still shown, check that you edited the active configuration file and saved it before restarting. For world or difficulty changes, you may need a new world file before the setting takes effect.