Nimdy / Dedicated_Valheim_Server_Script

Valheim Server Manager . Supports: ValheimPlus, Bepinex, Multi-world, Multi-Lang, Update, Backup, Restore and more: Built for Linux
GNU Affero General Public License v3.0
699 stars 119 forks source link

Second Server [FEATURE] #253

Closed Btaito closed 3 years ago

Btaito commented 3 years ago

Would it be possible to add a way to fire up a second server instance on different ports? I'm currently using this program and I get how to do it on the normal start up config file but thought it would be cool if there was a way to incorporate it into the Njord Menu features. I already have my primary world on Njord and figured it would be easier to run two instances vs me spinning up a second Linux VM.

Nimdy commented 3 years ago

noted. I have something already but I dont want folks messing up their installs...

Maybe you can test it for me. :)

Btaito commented 3 years ago

Yeah if you want to let me know. I just racked in an old 64 core opteron dell r815 in my home cabinet so I have plenty of cores left to run a test server.

On Thu, Apr 15, 2021 at 1:52 AM Zerobandwidth @.***> wrote:

noted. I have something already but I dont want folks messing up their installs...

Maybe you can test it for me. :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Nimdy/Dedicated_Valheim_Server_Script/issues/253#issuecomment-820134607, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVH5NSSAFRZRSBUQ7LPNQTTIZ5IVANCNFSM424DXVGA .

Nimdy commented 3 years ago

this request will be filled on the next update

slotvana commented 3 years ago

any idea on timeline for this?

Nimdy commented 3 years ago

Its ready in the beta branch...

We are just testing it... Trying to make it easy for others who have not used the njordmenu in the past.

Some variables need to be auto populated during initial launch.

Almost there.

https://github.com/Nimdy/Dedicated_Valheim_Server_Script/blob/beta/njordmenu.sh

Nimdy commented 3 years ago

Sorry it took so long, I had to finish the function that would allow for easy upgrading from the advancemenu to the njordmenu.

This will allow you to run multiple valheim servers on one server. (As long as you have enough system resources)

The script will update the following:

  1. Rebuilds file pathing for Valheim
  2. Rebuilds the configuration start files
  3. Rebuilds the system service files
  4. Reset permissions

File structure will look like this:

/home/steam/valheimserver/Whatever Valheim Instance Name Created/(Valheim Install Files)

I need to test V+ and Bep installs next and I need to tweak one function action.

I think I will have it ready for testing within two days.

Nimdy commented 3 years ago

image

Two instances running on the same server :)

RonKrc commented 3 years ago

Will we get the update soon? :-)

Nimdy commented 3 years ago

Will we get the update soon? :-)

I need testers... to test upgrading their menus... from advancemenu to njordmenu

That would help.

I plan on releasing it this week....

I was gone for four days... so I am home now and I will do more testing but it works for me and I have tried on a ton of different installs.

Let me know.

RonKrc commented 3 years ago

I need testers... to test upgrading their menus... from advancemenu to njordmenu

I want to test :-)

KingHuslter commented 3 years ago

Would love to be a tester if possible

Nimdy commented 3 years ago

Officially released! Update your menu system and use the ./njordmenu.sh option