• Posts

  • Joined

  • Last visited

yaaweehoo_01's Achievements


Newbie (1/14)



  1. One more update. Can't edit my posts so spam is in order. Fixed the Auto_Start not working. Astroneer Dedicated Server Script.ps1
  2. I saw your post and another, coupled with my own quarrels too I whipped up a powershell script to make IP automation a bit more of a breeze. I was thinking of getting the tool to keep the IP updated but it involves shutting down the server to update the config which isn't suitable when people want to play. If you're connected to the internet you will have a public IP. You should also be able to configure your home network by way of port forwarding. In this case, port forward, set a static IP for your host machine (not the same as your gaming unit) and away you go. This tool will be able to query a web service for your WANIP and update the config file for you.
  3. Hello all you Astroneers, I was looking to configure my own dedicated server but was annoyed at the lack of UI. In light of that, I thought it'd be useful to whip up a quick powershell script to help with this. The script does the following: Starts / Stops the server When the server starts, a background job is executed that periodically checks for the process and reports back in the log file if it's running or not along with time stamp Updates the external IP address Updates the external IP address automatically if $Auto_start is set too $true You do not need to manually check what your IP is You must have ran Internet Explorer at least once for Invoke-WebRequest to work Auto Start configurable The script can be added to either the Startup folder or a Scheduled Task with an account that has run as service permissions Set Server Port Toggle Wait for Players Before Shutdown Set Server Name Set Server Owner Set Server Password All tasks executed through the script are logged with before and after information Logs are stored here: .\ASTRONEER Dedicated Server\Astro\Saved\Logs You can change the $Server_Directory variable in the script to specify where your sever files are running from. Please only include up too \ASTRONEER Dedicated Server\ Log Example: 07/07/2020 21:47:53 - Setting Change: External IPAddress updated too: XXX.XXX.XXX.XXX 07/07/2020 21:47:58 - Server Status: Active 07/07/2020 21:48:02 - Setting Change: Server Name changed from Bob too: yaaweehoo 07/07/2020 21:48:03 - Server Status: Active 07/07/2020 21:48:08 - Server Status: Active 07/07/2020 21:48:13 - Server Status: Active07/07/2020 21:48:38 - Server Status: Active 07/07/2020 21:48:43 - Server Status: Active 07/07/2020 21:49:03 - Server Status: Active 07/07/2020 21:49:05 - State Change: Server Stopped This was made entirely by myself and is supplied as is. Whilst I will try to keep it updated and add any features possible on request, it's not going to be a massive active project. I wrote this in a few hours and I have tested it but if you do find issues, drop us a shout and I'll try to help. I hope this helps Astroneer Dedicated Server Script.ps1