Multiplayer / Self hosting
“Vintage Story - also great with friends!”
Hey there, player! I see you are looking for a way to play together with friends but without joining someone else's party? Well, for that you will need a self-hosted game server that coordinates everything. There are currently 3 main paths you can take.
Free local hosting
Pros: Free and usually easy to set up
Cons: Only players within the same local network can join and you must keep your PC running. You might struggle with local firewall rules.
If you just want to play with your friends and family in the same building, local hosting will suit you best. Here's to 2 ways to go about this:
- Ad-Hoc: Start a single player world and click 'Open To Lan'. This will reveal an ip-address that others can connect to. The server will be up as long as you are playing the game.
- Dedicated: If you want the server to be available at all times, launch VintageStoryServer.exe from within the installation path of the game. You'll need to find your local ip to share with other players.
Paid Internet hosting
Pros: Everyone can join at any time and setup is simplified
Cons: You have to pay for the service
Official Game Server hosting
On our Wiki you can find a list of 3rd party Server hosting providers that also support installation of mods.
Free Internet hosting
Pros: Everyone can join and it's freeee \o/
Cons: Can be tricky to set up, requires a beefy internet connection, might require additional hardware or software. You must keep your PC running.
Free hosting is the DIY route, so you'll have to figure out some things as you go along. There is a wiki page with some more information on this, but here is the gist of it:
- Ad-Hoc (50% success chance): Start a single player world, click 'Open To Lan', then click 'Open To Internet'. This will attempt to create a route through the firewall so that other players from outside can connect. After about 20 seconds you will know if it has succeeded or failed in doing so. The server will be up as long as you are playing the game.
- Dedicated (50% success chance): Same as above, but in a dedicated manner, i.e. will be online even if you disconnect. Launch VintageStoryServer.exe from within the installation path of the game. Inside the window that opens, type "/serverconfig upnp 1" so that the server attempts to create a route through the firewall.
If the 'Open To Internet' / Upnp way fails:
- You can still attempt to set up port forwarding manually on your internet router. See wiki page and/or google on how to do that
- You can bring remote players into your local network using a method called "VPN". There is software that offer easy setup for this method, such as Hamachi
Dedicated server hardware requirements
If you want to run a dedicated server, here's a rough, conservative estimate of its hardware requirements, assuming a normal survival world where players like to spread out. These are recommended values, with some tuning the requirements can probably be lowered.
OS: Windows or Linux
Memory: 1 GB base + 300 MB per Player
CPU: 4 Threads recommended. Frequency: 1 GHz base + 100 MHz per player
If you run the server on linux, you might need to run 'sudo sysctl -w vm.max_map_count=262144' if it crashes from being out of memory.