Content added Content deleted
en>Du No edit summary |
en>Du No edit summary |
||
Line 8: | Line 8: | ||
# Setup |
# Setup |
||
## Port forward 14004 on your router. |
## Port forward 14004 on your router. |
||
## Launch game server veloren-server-cli |
## 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. |
||
## 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> |
Revision as of 16:31, 4 January 2021
This section will describe how to setup a Veloren server.
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.
- Setup
- Port forward 14004 on your router.
- Launch game server
veloren-server-cli.exe
- Check Airshipper section to find out where the files are or download Nightly from the website.
- Give out your IP
- Optionally disable authentication by replacing
auth_server_address: Some(...)
withauth_server_address: None
- 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.
- Setup
- Create folder /opt/veloren-server (feel free to name it differently).
- Copy docker-compose.yml from the repository into the folder.
- If needed open port 14004 (14005 for metrics) in your firewall.
- Start it
- Run docker-compose up -d as root.
- View logs with sudo docker logs veloren-game-server-master.
- You are done!
Note: This will automatically keep the game server updated to the latest nightly release.