How to host a Vintage Story server for your community
Set up a Vintage Story dedicated server, edit serverconfig.json, manage roles and mods, and keep a long-running world backed up and updated.
A Vintage Story world is something a group builds together over weeks or months. Hosting it on a dedicated server means the world stays up when the friend who used to host goes to bed, everyone can play on their own schedule, and you get proper tools for roles, mods and backups. This guide covers the practical side: installing the server, the config file that controls almost everything, roles and moderation, mods, backups, updates and performance.
If you are looking at Vintage Story as a product to sell, read starting a Vintage Story hosting business instead.
What you need
- The dedicated server download for your platform from the official site, vintagestory.at. It is free; every player still needs their own game account.
- A machine that runs the .NET runtime version that your game release requires. The release notes and server download page say which one.
- One open port. The default game port is 42420.
The server and every player must run the same game version. That rule explains most connection problems you will ever see.
Installing the server
On Linux, the usual approach is to unpack the server archive into its own folder and keep the world data in a separate data folder, so updates never touch your saves:
mkdir -p /srv/vintagestory/server /srv/vintagestory/data
tar -xzf vs_server_linux-x64.tar.gz -C /srv/vintagestory/server
cd /srv/vintagestory/server
./VintagestoryServer --dataPath /srv/vintagestory/data
The archive name depends on the version you downloaded. On first start, the server creates the data folder layout:
serverconfig.json: the main settings file.Saves/: world saves, stored as.vcdbsfiles.Mods/: mods the server loads.Logs/: server logs, the first place to look when something goes wrong.Backups/: backups made with the server's backup command.
Keeping --dataPath outside the install folder is the single best habit here. When a new version comes out you replace the server folder and leave the data alone.
serverconfig.json
Most settings live in serverconfig.json. Stop the server before editing it, because a running server can write its own values back on shutdown. Some of the keys you will touch:
ServerName: the name shown in the server list.WelcomeMessage: what players see on join.Port: the port to listen on (42420 by default).MaxClients: the player limit.Password: a join password for private servers. Leave empty for none.AdvertiseServer: whether the server appears in the public server list.DefaultRoleCode: the role new players get.WorldConfig: world settings such as the seed, the world name, the save file to load and the play style.
The world settings in WorldConfig apply when a new world is created. Changing them later does not reshape a world that already exists, so decide on the play style and world options before your group starts.
Roles, privileges and moderation
Vintage Story uses roles. Each role has a set of privileges (build, use blocks, chat, use commands and so on), and the role list is defined in serverconfig.json. New players get the DefaultRoleCode role.
Day to day you will mostly use commands from the server console or in game:
/op PlayerName
/player PlayerName role admin
/help
/op gives a player admin rights. /player with a role name sets a specific role. /help lists the commands available to you, which is the most reliable reference because commands are occasionally reworked between versions.
For a private group, the simplest setup is a password plus a default role that can build. For a public server, keep the default role limited, promote players once they have shown they are trustworthy, and use land claims so newcomers cannot wreck established bases. Whitelisting is also available if you want only approved players to join; check /help on your version for the exact command.
Write down your rules where players will see them. The welcome message is a good place to link them.
Mods
Vintage Story mods are usually .zip files from the official mod database at mods.vintagestory.at. To install one on the server, stop the server, place the file in Mods/ inside your data folder, and start again. The log shows whether each mod loaded.
Things to know before you build a mod list:
- Version matters. Each mod release targets specific game versions. After a game update, some mods need a new release before they load. Check every mod before updating the server.
- Client and server. Some mods only need to be on the server; others must be on every player's client too. The mod page says which. When a mod is needed on both sides, give your players the exact list and versions.
- Add one at a time. If a new mod breaks the world or crashes the server, you will know which one it was.
- Removing content mods is risky. Taking out a mod that added blocks or items to a world in progress can leave missing blocks behind. Back up first, and test on a copy.
Backups
For a world your group spends months on, backups are the most important thing you set up.
The server has a built-in backup command:
/genbackup
It writes a copy of the current world to the Backups/ folder. You can also stop the server and copy the save file from Saves/, which is the safest way to get a clean copy.
A sensible routine:
- Back up automatically at least once a day.
- Back up by hand before every game update, mod change and world setting change.
- Keep several older copies, not just the last one. Corruption or griefing is sometimes noticed days later.
- Keep at least one copy on a different machine from the server.
Updates
Game updates are announced on the official site. When one lands:
- Tell your players the server will update, so nobody updates their client and gets locked out.
- Back up the world.
- Check each mod for a release that supports the new version.
- Replace the server files with the new version, keep the data folder, and update mods.
- Start the server and read the log before letting players in.
Read the release notes for anything that affects existing worlds, and keep the pre-update backup until you are sure the world runs well on the new version.
Performance
Vintage Story's load comes mostly from loaded and generated chunks, entities and mods:
- Exploration. Each player keeps an area around them loaded. Players spread across the map cost more than players in one village. New terrain also has to be generated the first time someone sees it.
- View distance. The chunk radius the server sends to clients has a direct effect on memory and CPU. Lowering it is the quickest fix on a busy server.
- Mods. Mods that add many entities or complex machines add steady load.
- World age. Large old worlds take more disk and longer to back up.
A reasonable starting point is to watch memory and CPU for a week of normal play with your mod list, then size the server for the busiest evening, with some headroom. If you plan a big event where everyone explores at once, expect a spike.
Running it through a branded panel
If you want your admins to work from a web panel instead of a shell, you can run your server through a panel with your own name and colors using Enzonic for Resellers. Panel-only mode serves just sign-in and the panel at your address, which suits communities that do not sell anything.
With Enzonic for Resellers, Vintage Story runs on Enzonic nodes in Europe, North America and Asia and on your own Pterodactyl or Pelican Wings nodes, so you can sell it without running any hardware.
You can also connect your own machine running Pterodactyl Wings or Pelican Wings, as described in bringing your own Wings nodes. Your admins get a live console with power controls, CPU, memory and disk stats, a file manager and SFTP for serverconfig.json and the Mods/ folder, scheduled backups with restores, scheduled tasks and subusers, each with their own sign-in and two-factor protection. The overview of what a game server control panel is explains how these tools fit together.
Running a Rust server too? The Rust community hosting guide covers a very different survival server with its own wipe rhythm.
Frequently asked questions
What port does a Vintage Story server use?
The default is 42420, set by Port in serverconfig.json. If you change it, players need to add the port to the address when they connect.
Why can my friends not join after they updated the game?
The client and server must run the same version. Update the server to match, after checking that every mod you use supports the new version.
Can I change the world settings after we started playing?
Settings in WorldConfig mostly apply when a world is created. To get different world settings, you usually start a new world. Back up the old one first so you can go back.
How often should I back up a Vintage Story world?
At least once a day, plus by hand before every update or mod change. Keep several older copies, and keep one off the server machine.