With the right configuration, you can turn your Vintage Story game server into exactly the server you have in mind: a custom name in the server list, a password for your friends, the right game version, and a world with your rules. In this guide, we'll show you which settings are available, where to find them in ZapX, and what else you can adjust in serverconfig.json or through the console.
Vintage Story reads its server settings from the serverconfig.json file. It's located directly in your server's main directory, and you can find it in the Files tab. However, you don't need to change the most important values there by hand: you'll find them in ZapX under Configuration in the Startup parameters tab.
Each time your server starts, it writes the values from the startup parameters to serverconfig.json: server name, description, password, maximum number of players, visibility in the server list, port, world name, and seed. All other entries in the file, such as PvP, welcome message, or roles, remain unchanged.
Always change values that are available as startup parameters in the Startup Parameters tab, not directly in serverconfig.json. Any changes made in the file will be overwritten with the value from the startup parameters the next time the server starts.
After you save, ZapX will offer to restart the server. Your changes will only take effect after the restart.
| Startup parameter | Description |
|---|---|
| Game version | The version of Vintage Story installed on your server. latest (default) installs the latest stable version. Otherwise, enter a specific version number. |
| Server name | Your server's name in the public server list. Default: ZapX Vintage Story Server |
| Server description | A short description of your server in the server list. Default: empty |
| World name | The save file name in the Saves folder, without .vcdbs. Default: world |
| World seed | The starting value used to generate the world. Only applies to a new world. Leave it empty for a random seed. |
| Server password | The password required to join. Leave it empty for a server without a password. |
| Max. players | How many players can play on your server at the same time, from 1 to 100. Default: 16 |
| Publicly visible | Makes your server visible in the public Vintage Story server list. Default: on (true) |
For instructions on connecting to your server using its address, port, and password, see Connect to the server.
Use Game version to choose which version of Vintage Story your server runs. If it's set to latest, your server downloads the latest stable version each time it starts. To stay on a specific version, for example because your mods aren't ready for the new version yet, enter the version number as shown in Vintage Story's official version list, such as 1.21.6.
If you change the version, your server will download the selected version the next time it starts and replace the server files in the server folder. Your worlds in the Saves folder, your mods, and serverconfig.json will remain unchanged.
You and your fellow players must use the same version as your server. If the version number you entered isn't available as a stable version, your server won't start and will display an error message in the Console. Enter a valid version or switch back to latest.
Create a backup of your world before changing versions. See Manage save games for instructions.
Your server uses the World name as the save file name: with the default world, your world is saved as Saves/world.vcdbs. If you enter a different name, your server will load the world with that name the next time it starts. If that world doesn't exist yet, it will create a new one. Your previous world remains saved under its old name, so you can switch back at any time.
Vintage Story only reads the World seed and the other world generation settings when creating a new world. Changing the seed for an existing world won't do anything after a restart.
- Stop your server.
- In the Files tab, open
serverconfig.jsonand, if needed, adjustPlayStylein theWorldConfigsection, for example, tosurviveandbuild(default),wildernesssurvival,exploration,homosapiens, orcreativebuilding. Save the file. - In the Configuration tab, under Startup parameters, enter a new World name and, optionally, a World seed.
- Save and start your server. It will now create a new world with your settings.
PlayStyle, WorldType, world size (MapSizeX, MapSizeY, MapSizeZ), and the entries under WorldConfiguration only apply when creating a new world. To change these settings for an existing world, use the /worldconfig command as described below.
Many settings aren't available as startup parameters. You can change these directly in serverconfig.json, for example:
| Entry | Description |
|---|---|
WelcomeMessage | The message players see when they join. {0} is replaced with the player's name. |
AllowPvP | Whether players can damage each other (true or false) |
AllowFireSpread | Whether fire spreads from block to block |
AllowFallingBlocks | Whether unsupported blocks such as gravel and sand fall |
PassTimeWhenEmpty | Whether in-game time continues to pass when nobody is online |
MaxClientsInQueue | How many players can wait when your server is full. Default: 20 |
KickClientsAfterAfkSeconds | How many seconds a player can be inactive before being kicked. Set to 0 to disable this. |
Vintage Story saves its current settings to serverconfig.json when it shuts down. If you edit the file while the server is running, your changes will be lost the next time it stops. Always follow this order: stop the server, edit and save the file, then start the server.
You can also change some server settings while the server is running with the /serverconfig command in the Console or as an admin in-game, for example, /serverconfig allowpvp false. To see the current value of a setting, enter /serverconfig followed by the setting name. However, your server will reset values that are available as startup parameters, such as the password or maximum number of players, to the values in Startup Parameters the next time it starts.
Vintage Story stores your world rules, such as the game mode, temporal storms, or what happens to your inventory when you die, in the world itself. You can change most of these settings in an existing world with /worldconfig <einstellung> <wert>, for example:
| Setting | Description |
|---|---|
gameMode | Game mode: survival (default) or creative |
deathPunishment | drop (default) drops your inventory when you die; keep keeps it |
temporalStorms | How often temporal storms occur: off, veryrare, rare, sometimes (default), often, veryoften |
creatureHostility | Creature behavior: aggressive (default), passive, or off |
playerlives | How many times a player can be revived. -1 means unlimited (default). |
allowMap | Whether players can use the world map (true or false) |
Example:
/worldconfig temporalStorms rare
Restart your server after making a change to make sure it takes effect. Some settings, such as the world climate (worldClimate) and world size, can only be set when creating a world.
- Admin rights: Use
/op <spieler>in the Console to give a player admin rights. Use/deop <spieler>to remove them. - Whitelist: Your server disables whitelist mode each time it starts. See Whitelist to learn how to use the whitelist anyway.
- Mods: Add mods to the
Modsfolder. After the first start, their settings are saved in theModConfigfolder. Make sure your mods are compatible with your server's Game version. Learn more in Install mods. - Automated messages: Set up schedules to send regular messages to your players. See Automated server messages.
Your Vintage Story server is now set up just the way you want it. For instructions on backing up and restoring your worlds, see Manage save games. If something isn't working as expected, our guide to Common issues can help. If you have any other questions, our support team is available every day! 🙂
