*DISCLAIMER* This is a reasonaby 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. Additionally, host your own servers will not allow for achievement progress or the unlocking of suits, palettes, visors, etc. 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!
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.
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 via steam first and then closing it. First up, lets tackle Engine.ini.
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.Once your port has been configured,, you will likely need to log into your local router to also forward ports to your server hardware. This can vary based on the type of router you are using, so we suggest that you check with your internet provider to do this safely. Check for documentation on Port Forwarding. The basic process involves logging into your router, and then setting up port forwarding to the port you just opened up in the previous step. Here is a video link that will explain all about port forwarding in 5 minutes! Port forwarding crash course!
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.
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!
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!
YES Xbox and PC players can connect, but only via a preferred dedicated server. Xboxes are not allowed to connect to a non authenticated server that someone might be running on their own.