The time window, in seconds, to wait for incoming UDP datagrams on non-public servers before determining if the server is idle Overrides any existing permittedlist.txt entries!Ĭron schedule for update checks (disabled if set to an empty string or if the legacy UPDATE_INTERVAL is set) Space separated list of whitelisted SteamIDs in SteamID64 format. Overrides any existing bannedlist.txt entries! Space separated list of banned SteamIDs in SteamID64 format. Overrides any existing adminlist.txt entries! Space separated list of admin SteamIDs in SteamID64 format. Whether the server should be listed in the server browser ( true) or not ( false) Password for logging into the server - min. UDP start port that the server will listen on Name that will be shown in the server browser Environment VariablesĪll variable names and values are case-sensitive! Name Without it you will see a message Warning: failed to set thread priority in the startup log. It allows the Steam library that Valheim uses to give itself more CPU cycles. Granting CAP_SYS_NICE to the container is optional. There is more info in section Finding Your Server.įor LAN-only play see section Steam Server Favorites & LAN Playįor more deployment options see the Deployment section. (Remark: If you use crossplay, you don't need port forwarding! See official Valheim Dedicated Server Manual.pdf in the data/server folder.)Īlso ensure they are publicly accessible in any firewall.Ĭrossplay: To enable crossplay between different platforms add -crossplay to SERVER_ARGS: If you want to play with friends over the Internet and are behind NAT make sure that UDP ports 2456-2457 are forwarded to the container host. Otherwise valheim_server.x86_64 will refuse to start!Ī fresh start will take several minutes depending on your Internet connection speed as the container will download the Valheim dedicated server from Steam (~1 GB).ĭo not forget to modify WORLD_NAME to reflect the name of your world! For existing worlds that is the filename in the worlds_local/ folder without the. Warning: SERVER_PASS must be at least 5 characters long. v $HOME/valheim-server/data:/opt/valheim \ $ mkdir -p $HOME/valheim-server/config/worlds_local $HOME/valheim-server/data It can optionally be volume mounted to avoid having to download the server on each fresh start. The container directory /opt/valheim contains the downloaded server. If you have an existing world on a Windows system you can copy it from e.g.Ĭ:\Users\Lukas\AppData\LocalLow\IronGate\Valheim\worlds_localĪnd run the image with $HOME/valheim-server/config volume mounted to /config inside the container. Volume mount the server config directory to /config within the Docker container. The name of the Docker image is ghcr.io/lloesche/valheim-server. Error after download of new container image. Updating the container image to the latest version.This project is hosted at Table of contents Valheim Server in a Docker Container (with BepInEx and ValheimPlus support)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |