This article covers setting up a Vintage Story dedicated server: requirements, port, the important serverconfig.json keys, permissions, mods and typical problems. We used the official Vintage Story wiki's dedicated-server guide and its server config page.
Checked 2026-11-17. There are differences between game versions (for example the 1.20 changes), so always check the current wiki too.
1. Requirements and port
The wiki's conservative recommendation: 1 GB base RAM plus 300 MB per player, 4 CPU threads, 1 GHz base plus 100 MHz per player. The server runs on Windows and Linux (x64); ARM64 is experimental. On Linux a .NET runtime is needed: .NET 10 from 1.22.0, .NET 8 from 1.21.0, .NET 7 before that. On Linux procps (pgrep) and screen are also required.
| Port | Protokoll | Purpose |
|---|---|---|
| 42420 | TCP | Game port |
| 42420 | UDP | Game port from version 1.20 |
2. First start and configuration
- Settings are in serverconfig.json in the data folder (on Linux data/serverconfig.json). Changes take effect after a restart.
- Before shutting down run /autosavenow, then /stop, and only then edit.
- Important keys: Port (default 42420), Password (default null; from the console: /serverconfig password PASSWORD, no spaces), MaxClients (default 16), MaxChunkRadius (default 12), WhitelistMode, AdvertiseServer, DefaultRoleCode, ModPaths.
- WorldConfig.SaveFileLocation points to the .vcdbs world file; if it does not exist the server creates it. Settings for a new world go in the WorldConfig section (for example WorldName, Seed, PlayStyle, WorldType).
- The Linux server.sh commands: start, stop, status, update, restart and command. You can attach to the console with screen; detach with Ctrl+A, then D.
3. Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| The console closes immediately | Another Vintage Story server instance is already running | Stop the other instance, or use a separate data folder and port. |
| Players cannot connect | 42420 TCP or, since 1.20, UDP is not open, a firewall, or the public IP changed | Open both protocols, check the firewall and the address. |
| The server does not show in the public list | AdvertiseServer defaults to false from 1.20 | Set it to true in serverconfig.json, or from the console /serverconfig advertise true. |
| A new player can only look around | A DefaultRoleCode suvisitor | Set it to suplayer, or grant a role: /player NAME role suplayer. |
| Whitelist error on an older server | Before 1.20 the key was OnlyWhitelisted, afterwards WhitelistMode | Use the key that matches your version; /serverconfig WhitelistMode on|off|default also works. |
| Client mods are missing | Players must install client-side mods manually | Joining players receive server-side and universal mods automatically; client-side ones go in the ModsByServer folder. |
| A mod does not load on Linux | The default Mods entry was dropped from ModPaths, or your own folder was not added | Keep the default Mods entry and add the new folder as an absolute path. |
| Linuxon nem indul a szerver | Wrong .NET version | Install the .NET runtime for your version (.NET 10 from 1.22.0). |
| The password does not work | The password contains a space | Use a password without spaces with the /serverconfig password command. |
4. Saves and updates
- The world is the .vcdbs file (default location: data/Saves/default.vcdbs). To upload your own world, copy it into the Saves folder with the server stopped and rename it to default.vcdbs, or change SaveFileLocation.
- The autosave interval is ServerAutoSave in servermagicnumbers.json (default 300 seconds).
- The wiki describes no separate backup procedure, so use the client-area backup feature, especially before updates or mod changes.
- Update on Linux: server.sh update; on Windows download the new version. After updating check mod compatibility.
5. Mods, whitelist and admin
- Mods: put the mod zip files in the Mods folder with the server stopped; they load after a restart. The /moddb commands from the console can also be used.
- Whitelist: on by default on a dedicated server (WhitelistMode default). For a player: /player NAME whitelist on; per the Linux guide /whitelist add NAME.
- Admin: the suplayer role cannot manage privileges. Grant admin from the console or by editing serverconfig.json; per the Linux guide /op NAME.
- VerifyPlayerAuth is true by default: only logged-in, registered players can join.
6. Choosing a plan
Load grows with the number of players (MaxClients, default 16) and view distance (MaxChunkRadius, default 12): per the wiki higher values need more RAM and CPU. Mods add load too. The DieAboveMemoryUsageMb setting (default 50000) shuts the server down if memory use passes a limit.



