Setting up a Multiplayer Server: Difference between revisions

From Vintage Story Wiki
Added a section on Alpine for advanced users
(Added a section on Alpine for advanced users)
Line 87: Line 87:


'''9. Connect to you IP/Domain and have fun'''
'''9. Connect to you IP/Domain and have fun'''
===== Requirements Alpine (Advanced, no support) =====
'''1. Install mono'''
As mono is in testing in Alpine, the testing URL (http://dl-cdn.alpinelinux.org/alpine/edge/testing) will have to be uncommented out in
  /etc/apk/repositories
after, run
  apk update
  apk add mono mono-dev
'''2. Install tmux'''
  apk add tmux
'''3. Certificates'''
  apk add ca-certificates
then run
  cert-sync /etc/ssl/certs/ca-certificates.crt
to update the certs.
'''4. Simplified Start Script'''
Download and extract the server into a location as normal, then put this into a script:
  #!/bin/ash
  mono VintagestoryServer.exe  --dataPath ./data
This script will just run the server, putting the world save files into the same folder the server is extracted to.
As an advanced user, you don't need to worry about having the dependancies, checking for new versions, or installing the server or save files under different users and locations.
Run the script in a tmux session.
The rest of the normal advice applies (firewalling etc)


== Basic Configuration ==
== Basic Configuration ==
2

edits