Categories: DiscussionValheim

Windows Dedicated Server Automation

Hey everyone!

I'm in the process of writing a python script (nearly done with it, just have to add some finishing touches and a couple of functions) that will help with some dedicated server automation. I was looking around for the longest time to try and find something. Besides the windows time execute thingy I couldn't find anything. Finally gave up after months of waiting and searching. I'm no master coder by any means, but I took the time to work out most of the bugs and kinks as they popped up. (For you coders out there; don't make fun of me for my spaghetti if it gets released! 😉 )

To tell you what it does:

  1. It checks to ensure you have SteamCMD installed (it will ask you to install this if not) and the Valheim Dedicated Server (it will automatically install this through SteamCMD no credentials needed).
  2. It creates the necessary directories and files for the script to run after you extract it to the folder you want it to be in.
  3. It checks to see if the server is running and if not it asks if you would like to start it.
  4. Its asks for the time you would like to do server restarts and updates.
  5. Actively checks the time as long as there is no user intervention closing the program
  6. Shuts down, updates the server through SteamCMD, verifies file integrity, and restarts the server. It also waits to make sure your server get properly updated when you don't have the greatest internet connection.
  7. It only ever used like at max 1% of my CPU and uses around 60MB of memory when running.

I'm making this post to see how much interest there would be in the community to make this available for everyone to use. I'd probably post it on GitHub once I finish with it. It's currently based around windows as that's the platform I use to run mine, but with a little modification to the code it could be used on any platform – Linux, Windows, or Mac.

Let me know what you think in the comments.

Gamer

Recent Posts

Ledx have been so hard for me this wipe

Not being able to craft them sucks. Especially when everyone I talk to about it…

1 year ago

My interesting and unfortunate Gwent life

First I'd like to say I absolutely love this game it's quality. Basically I first…

1 year ago

Teacher Tuesday 12/Dec/2023 – ask your questions here!

Welcome to Teacher Tuesday, a thread where anyone can ask any type of question without…

1 year ago

This games balance is confusing

I’m kind of new/returning to gwent I played beta and obviously it’s a lot lot…

1 year ago

Summary of 10 Days of Draws from Chaffee’s Bundles

Level 1 Bag (Free with Atmosphere Level 2) 6 small consumable (First Aid, Repair, Fire…

1 year ago

Why is my crew at 135%?

Here's my crew - T34-85M - for the life of me I cant figure out…

1 year ago