*DISCLAIMER* This is a reasonably complicated process that requires you to make adjustments to your firewall. While we are offering directions for initial set up, we offer no direct warranty or support related to host your own servers. Opening up your internet to outside connections is to be done completely at your own risk. Any attempt to modify the game or connect to our backend services to circumvent unlocks will be met with an immediate ban. Now for actual details!
DOWNLOAD DEDICATED SERVER FILES
First off, you are going to need to download the Dedicated Server files via steam. Load into steam and navigate to LIBRARY > TOOLS. Find ASTRONEER Dedicated Server in the list and install.
Alternatively you can pull down the server files via SteamCMD with the appid 728470
LOCATE AND MODIFY DEDICATED SERVER .INI FILES
DISCLAIMER: DO NOT MODIFY .INI FILES WHILE THE SERVER IS RUNNING. CHANGES TO THE .INI WHILE THE SERVER IS RUNNING WILL NOT GET SAVED.
Once the files are installed in the directory of your choosing, you will need to modify two .ini files to enable full functionality. Navigate to the directory of installation and then
ASTRONEER DEDICATED SERVER > ASTRO > SAVED > CONFIG > WINDOWS SERVER
The two files we will be working in are Engine.ini and AstroServerSettings.ini. If they don’t exist, try running the server first and then closing it. First up, lets tackle Engine.ini.
SET CONNECTION PORT
In Engine.ini, you will want to configure the port that the server will accept connections on. You can use a port of your choosing, but for our purposes we are going to go with Port 8777. Add the following lines to Engine.ini
THIS ONLY CONFIGURES THE PORT THAT ASTRONEER LOOK FOR CONNECTIONS ON. You will still have to set an exception for your firewall to accept connections on this port. We arent going to explain that here as it can vary based on your configuration but CLICK HERE for a great article that explains it in detail for Windows 10.
AstroServerSettings.ini should have a few fields already in it. You can use this to modify the settings of the server you are running rather than loading up the entire game to make changes. This only works if the server is offline.
SET YOUR PUBLIC IP ADDRESS
AstroServerSettings.ini will need a line that sets the PublicIP of the server that players will put in game. Use a public IP checker like (https://www.google.com/search?q=my+ip) to figure out yours and then add it to the INI file. Example below, using 10.10.10.100 as the IP:
Once you get your own server up and running, you might want to make it your own!
SET AN OWNER
The easiest way to do this is to modify your Astroserversettings.ini with the following lines:
This will set the first player that connects to the server with the Steam name that is listed in the OwnerName line as the owner of the Server!
You can also set an owner other than yourself by opening the aforementioned astroserversettings.ini, then deleting the Steam name currently in the owner spot and setting it to the Steam name of the intended owner. The next time they connect it will set them and add a guid id that is unique to them to the ini.
Once this is configured, your server should be pretty much ready to go!