I started this to help out the community and I did not think for a moment it would have taken off so quickly. Should you need any help troubleshooting your Valheim Server visit me on Twitch or Discord.
My production server is 6 days solid as of 18FEB2021)
In game time is 430+ days |* Zero issues, zero crashes, zero cases of corrupted data.
If you wish to Tip: https://www.patreon.com/zerobandwidth
Twitch Channel: https://www.twitch.tv/zerobandwidth | * Discord for Tech Support https://discord.gg/ejgQUfc
Using my DigitalOcean Referral Link:
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Digital Ocean (Highly Recommended) AWS Azure Google Cloud Platform
Ubuntu 18.06 LTS 64bit and Ubuntu 20.04 LTS (tested 10 FEB 2021)
Test results from lab envoriment * Software: Linux Server disro. * Hardware: 1CPU 1GB RAM 4GB Storage * Recommended: 4CPU+ 16GB RAM 256GB Storage -------------------------------------------- 1-3 players 1 CPU 1GB RAM 4GB Storage 2-5 players 2 CPU 4GB RAM 64GB Storage 5-7 players 3 CPU 6GB RAM 100GB Storage 8-10 players 4 CPU 8-16GB RAM 256GB Storage (16GB RAM+ for larger servers) Network Connection 5 players 10MBps (up/down) Latency 1-20ms
From your home computer, connect to your Ubuntu VM via SSH Using putty or another terminal is recommended If you can connect via Putty/Terminal, then you have setup firewall rules correctly
sudo apt-get install -y git net-tools
git clone https://github.com/Nimdy/Dedicated_Valheim_Server_Script.git
sudo chmod +x build_dedicated_valheim_server.sh
sudo vi build_dedicated_valheim_server.sh # There are 4 things you need to change! # NOTE: Minimum password length is 5 characters # NOTE: Unique password and server name is REQUIRED # NOTE: NO $ ' " in the passwords - you will break the script userpassword='"user_password"' <---password for the new Linux User it creates password='"passw0rd"' <---password for the Valheim Server Access displayname='"server display name"' <---Public display name for server worldname='"111111111"' <---local inside world name #Save the file (press ESC and save/exit by entering) :wq!
Select keep the local version currently installed or No (default)
(DO NOT OVER LOOK THIS STEP)
If running in a Cloud Server, please check the WIKI for configuration steps.
sudo systemctl stop valheimserver.service
sudo systemctl status valheimserver.service
Here is the complete walk through using DigitalOcean Services.
For more examples, please refer to the Documentation
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingIdea)
git commit -m 'Add some AmazingIdea')
git push origin feature/AmazingIdea)
Project Link: https://github.com/Nimdy/Dedicated_Valheim_Server_Script