Skip to content

dreamalligator/Dedicated_Valheim_Server_Script

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Njord Menu 2.2-Lofn Updated: 17-MAR-2021

So easy a Viking can do it!
Explore the docs »

View Demo · How to Update your Server . Top 10 Server Issue Fixes . Report Bug · Request Feature

Server Hosting Provided By DigitalOcean

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. Contact
  7. Acknowledgements

About The Project

Thumbnail

  • New EASY to use menu system to manage your Valheim Dedicated Server - Enjoy

  • This Menu will also install your Valheim on your Linux Server - Enjoy

  • My production server is 30 days solid as of (18FEB2021)

  • In game time is 890+ days |* Zero issues, zero crashes, zero cases of corrupted data.

  • If you wish to Tip: https://www.patreon.com/zerobandwidth

  • ETH: 0x691922a6b7d4005392Fb48A626B9ad17f68D66A5

  • VET: 0x6a2e7c13606e07d57664821a0d9920da75719c01

Discord for Tech Support https://discord.gg/ejgQUfc

Built With

Getting Started

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.

Prerequisites

  • Cloud Hosting or Virtualization Service
    Digital Ocean (Highly Recommended)
    AWS
    Azure
    Google Cloud Platform
  • Ubuntu Install
    Ubuntu 18.04 LTS 64bit and Ubuntu 20.04 LTS (tested 10 FEB 2021)
  • Putty 64bit for Windows User
    https://www.chiark.greenend.org.uk/~sgtatham/putty/
  • WinSCP 64bit for Windows Users who wish to transfer world files from one machine to another.
    https://winscp.net/eng/download.php

Installation

  • SSH into your newly Created VM
    From your home computer, connect to your Ubuntu VM via SSH using putty or another method. (Putty is recommended)
    If you can connect via Putty/Terminal, then you have setup at least one firewall rule setup correctly and later you can just added the required ports for Valheim.
  • Minimal Requirements:
    2CPU and 4GB RAM
    
    You might be able to get it work with less but its a dice roll with any Cloud Services.  
    Also, once your world starts becoming explored and you start building stuff... You will wish you had the minimal requirements.
    Think about this like a Minecraft Server.... Your database will grow as you continue to play.
    Therefore the need for additional CPU and RAM resources will grow.
  1. Verify GIT and Net Tools is installed =
sudo apt install -y git net-tools
  1. Change directory to OPT for installation script (Advance User do what you wish) =
cd /opt
  1. Download Easy Installer from Github - Nimdy (Zero Bandwidth) =
sudo git clone https://github.com/Nimdy/Dedicated_Valheim_Server_Script.git
  1. Change directory to Dedicated_Valheim_Server_Script =
cd Dedicated_Valheim_Server_Script
  1. Give the script to execution permissions =
sudo chmod +x menu.sh
sudo chmod +x advancemenu.sh
  1. Set your preferred language for the menu.sh or advancemenu.sh. (If English, skip this step) = *No option = English *DE = German *FR = French *SP = Spanish
./menu.sh (no options required for english)
./menu.sh DE
./menu.sh FR
./menu.sh SP

or

./advancemenu.sh (no options required for english)
./advancemenu.sh DE
./advancemenu.sh FR
./advancemenu.sh SP
  1. Launch the Menu System (Please run this as root first or a true user account with sudo permissions | DONT USE sudo -u | use sudo -i ) =
To play Valheim without Mods
./menu.sh
To play Valheim vanilla or with mods provided by Valheim+ (other mods might work too, need testers)
./advancemenu.sh

Main Menu

  1. Select Option 3 - Install Valheim Server

Valheim Server

  1. Confirm you want to continue with the Valheim Install

Confirm Install

  1. Accept Default Action on Resolv Update. (Advanced users do what you wish)

Accept Default

  1. Enter a Password for the newly created NONROOT local Steam account (This is not your Steam account, just a local account to run the Valheim Server)

Steam Password

  1. Enter what you wish your Public Valheim Server display will be called

Public Server Name

  1. Enter your local world name. This is the name your map data files will be called and what your World is called for those who play in it.

Map Data Name

  1. Enter the password required to connect to your server. This is required.

Server Password

  1. Your information is now saved for you later. A lot of people seem to forget this, so we added a little reminder. Keep this safe.

Server Configs

  1. That's it for the install! Now you need to setup your firewall rules.

Server Configs

  1. Now configure your firewalls to allow the game to connect. Click the wiki link listed below. Allow ports 2456,2457,2458 (TCP/UDP) on your server. This might take you a while, if you never done it before. Don't worry, members in my discord and myself can help troubleshoot later (DO NOT OVER LOOK THIS STEP)

If running in a Cloud Server, please check the WIKI for configuration steps.

https://github.com/Nimdy/Dedicated_Valheim_Server_Script/wiki/How-to-use-the-Menu-Script

For Valheim+ Mod Support Visit there page:

https://github.com/valheimPlus/ValheimPlus/issues

  • Did this help you? Please star it!
  • Do you want to add to this? Please fork it!

Usage

Here is the complete walk through using DigitalOcean Services.

For more examples, please refer to the Documentation

Thumbnail

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingIdea)
  3. Commit your Changes (git commit -m 'Add some AmazingIdea')
  4. Push to the Branch (git push origin feature/AmazingIdea)
  5. Open a Pull Request

Contact

Follow me on Twitter: @zerobandwidth - mrzerobandwidth@gmail.com

Project Link: https://github.com/Nimdy/Dedicated_Valheim_Server_Script

Acknowledgements

About

Valheim Installer and Menu System for managing your Valheim Dedicated Server. Supports Vanilla or Mod modes. Built on Ubuntu 20.04.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%