Dedicated server for Valheim
VH_SERVER_NAME
: Sets the name that will be visible in the server listVH_SERVER_PASSWORD
: The server passwordVH_WORLD
: creates or loads a world with the specified name.VH_PUBLIC
: Visibility of the server, if set to1
the server will be visible in the server browserPUID
: runs the valheim process and sets the/data
volume permissions with this user id.PGID
: runs the valheim process and sets the/data
volume permission with this group id
2456/udp
: Valheim game port2457/udp
: Steam query port
/data
: game save data will be stored here
Special Files. Add Steam IDs (one per line) to set the desired roles:
/data/adminlist.txt
/data/bannedlist.txt
/data/permittedlist.txt
NOTE: Adding a person to the permitted list will auto-ban anyone who tries to join that is not added to the permitted list