Skip to content

tModLoader: Server Configuration

Learn how to configure the world, size, difficulty, password, and mods for your tModLoader game server, and how to switch worlds → Learn more now

10 November 20264 min read0 Views0 helpful

Introduction

With the right configuration, you can make your tModLoader game server exactly the way you want it: your own world with the right size and difficulty, a password, a welcome message, and the mods you want to play with. In this guide, we’ll show you which settings are available, where to find them in ZapX, and how to switch worlds.

Startup parameters at a glance

Startup parameterDescription
World file nameName of the world file in the worlds folder, without .wld. Default: world
World nameName of the world in the game. Only used when a new world is created. Default: ZapX tModLoader World
Automatic world creationSize of a new world if the world file doesn’t exist yet: 1 = small, 2 = medium, 3 = large, 0 = off. Default: 2
Max. playersMaximum number of players online at the same time. Default: 10
Message of the day (MOTD)Message players see when they join. Default: A ZapX tModLoader Server
Server passwordPassword required to join. Leave blank for an open server.
DifficultyDifficulty of a new world: 0 = Classic, 1 = Expert, 2 = Master, 3 = Journey. Default: 0
LanguageLanguage of the server output, for example en-US or de-DE. Default: en-US
Secure mode1 enables Terraria’s additional cheat protection, while 0 disables it. Default: 1
World seedSeed for a new world. Leave blank for a random seed.
Additional startup parametersOptional additional parameters for starting the server. Only use these if you know exactly what a parameter does.
Info

World name, Automatic world creation, Difficulty, and World seed only apply when a new world is created. An existing world keeps its size, difficulty, and seed, even after a restart.

Tip

You can only enter a Journey world (3) with a Journey character. Classic, Expert, and Master worlds can only be entered with regular characters.

ZapX sets the port, mod folder, and world folder for your server, so you don’t need to change these values.

FAQ

Frequently asked questions

Your server rewrites serverconfig.txt from the startup parameters every time it starts. Change your settings in ZapX under Configuration > Startup Parameters.
Set the size and difficulty, and optionally a seed, then enter a new name under World file name. The server creates the world after restarting, and your old world remains available.
Difficulty, world size, world name, and seed only apply when creating a new world. Existing worlds keep their current settings.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.