Hosting a Server: Difference between revisions

From Veloren Wiki
Content added Content deleted
en>Du
No edit summary
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Navbox}}
This section will describe how to setup a Veloren server.
This section will describe how to setup a Veloren server. For how to set up a server on a Raspberry Pi, read [[Hosting on the Raspberry Pi]].


== Setup local game server ==
== Setup local game server ==
Line 8: Line 9:
# Setup
# Setup
## Port forward 14004 on your router.
## Port forward 14004 on your router.
## Launch game server veloren-server-cli(.exe)
## Launch game server <code>veloren-server-cli.exe</code>
## check Airshipper section to find out where the files are or download Nightly from the website.
## Check Airshipper section to find out where the files are or download Nightly from the website.
## Give out your IP
## Give out your IP
## Optionally disable authentication by replacing <code>auth_server_address: Some(...)</code> with <code>auth_server_address: None</code>
## Optionally disable authentication by replacing <code>auth_server_address: Some(...)</code> with <code>auth_server_address: None</code>
Line 29: Line 30:


Note: This will automatically keep the game server updated to the latest nightly release.
Note: This will automatically keep the game server updated to the latest nightly release.
[[Category:Sysadmin]]

Latest revision as of 08:47, 19 October 2022

This section will describe how to setup a Veloren server. For how to set up a server on a Raspberry Pi, read Hosting on the Raspberry Pi.

Setup local game server

If you want to play with your friends and do not have a dedicated server follow these instructions.

Note: You will need access to the router and knowledge about port forwarding.

  1. Setup
    1. Port forward 14004 on your router.
    2. Launch game server veloren-server-cli.exe
    3. Check Airshipper section to find out where the files are or download Nightly from the website.
    4. Give out your IP
    5. Optionally disable authentication by replacing auth_server_address: Some(...) with auth_server_address: None
    6. Enjoy the game!

Setup dedicated game server

If you want to run a dedicated Veloren server 24/7 follow this.

Note: You will need access to the server, docker, docker-compose installed and we assume general command line and docker-compose knowledge.

  1. Setup
    1. Create folder /opt/veloren-server (feel free to name it differently).
    2. Copy docker-compose.yml from the repository into the folder.
    3. If needed open port 14004 (14005 for metrics) in your firewall.
    4. Start it
    5. Run docker-compose up -d as root.
    6. View logs with sudo docker logs veloren-game-server-master.
    7. You are done!

Note: This will automatically keep the game server updated to the latest nightly release.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.