How to create a world automatically on a Terraria server
Set autocreate=2 in serverconfig.txt for a medium world (1 small, 3 large), with world= naming the file to create.
autocreate
Creates a new world if the world file is missing: 1 small, 2 medium, 3 large.
autocreate=<1|2|3> Examples
autocreate=3 Make a large world.
-autocreate 2 As a launch option: medium.
Values
| Value | What it does |
|---|---|
| 1 | Small |
| 2 | Medium |
| 3 | Large |
Arguments
1|2|3Required- World size.
What it does
Use it with world, worldname, seed and difficulty to make a world without the setup prompts.
Good to know
- SLASHPLAY starts the server on
Worlds/World.wld: a medium world named World, made on the first start and kept with your server. - A line in the server config file (serverconfig.txt), read when the server starts with
-config. SLASHPLAY starts Terraria without a config file, so the line has no effect there.
Run it on your server
On SLASHPLAY, Terraria's server can't take commands from the dashboard: the Console tab only shows what it prints. SLASHPLAY sets the world, the 8-player limit and the join password at each start, and the chat commands work for every player in game. New to this? Start a Terraria server first.
Your own
Terraria server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.