Setting up a Multiplayer Server

From Vintage Story Wiki
Jump to: navigation, search

On Windows

  • Enter your appdata folder, e.g. through %appdata%
  • Start VintagestoryServer.exe
  • You might need to set up port forwarding on your router if the server should be accessible from beyond your local network

On Linux

Requirements CentOS 7 (RHEL, Fedora, ...)

1. EPEL/screen/wget/curl Install

yum -y install epel-release screen wget curl

2. Mono Install

 yum -y install yum-utils
 rpm --import ""
 yum-config-manager --add-repo
 yum -y install mono mono-devel

Requirements Ubuntu (Debian, Mint, ...)

1. screen/wget/curl Install

 apt install -y screen wget curl

2. Mono Install

 apt install -y mono-complete mono-utils

3. Add the port to the firewall


 firewall-cmd --permanent --zone=public --add-port=42420/tcp
 firewall-cmd --reload


 iptables -A INPUT -p tcp -m tcp --dport 42420 -j ACCEPT

4. Download the game

Copy the link of the newest "vs_server_*.*.*.tar.gz" package
Enter in the console "wget" and parse the link

Hint: Make for VS a own directory the tar have no subfolder

5. Open TarGZ package

tar -xzf vs_server_*.*.*.tar.gz

6. Make the executeable

 chmod 755

7. Edit file


8. Server start and first steps

 ./ start
 # Wait for startup then you can give you OP
 ./ command "/op <youusername>"

9. Connect to you IP/Domain and have fun