VPS: Avorion Dedicated Server Windows Setup
This guide was created with the following products:
(Details may vary with products from different providers but the main concepts remain the same)
Introduction
Do you have a Windows VPS or root server and you want to install the Avorion Dedicated server service on it? You are in the right place. In this guide, we will explain the step by step process of installing this service on your server.
How To Setup Avorion Dedicated Server on Windows VPS!
Feel like you understand better when you see things in action? We’ve got you! Dive into our video that breaks it all down for you. Whether you're in a rush or just prefer to soak up information in the most engaging way possible!
Preparation
To begin with, connect to your VPS or rootserver through Remote Desktop (RDP). Use our Initial Access (RDP) guide if you need help doing this.
Once you have accessed your server, you will need to setup SteamCMD in order to be able to download the necessary dedicated server files. SteamCMD is the command-line (CLI) version of the Steam client and is the tool which allows you to easily download a range of Steam workshop and dedicated server files. Download SteamCMD from the official Valve website or directly here.
Create a new folder somewhere on your server, in this scenario we will name it steamcmd
. Head over to your Downloads folder, find the steamcmd.zip file which you just downloaded and place it into your steamcmd
folder. Now you will have unzip the file by right-clicking and using Window's unzip functionality directly, or any range of applications such as .7zip or Winrar. This should result with a steamcmd.exe file being unzipped.
Simply run steamcmd.exe and await until the installation process is fully completed.
As soon as the message Loading Steam API.... OK is displayed, the process has been completed successfully and you can being with the installation of the Avorion dedicated server in the following section.
Installation
After the installation, you should be able to execute commands within the steamcmd.exe command prompt that you ran before. You need to login prior to being able to do anything, through the anonymous user, by using the command: login anonymous
Once logged in, you can now begin downloading the files.
Optional: You can set your preferred install directory by using the command force_install_dir [path]
, replacing [path]
with the path that you wish to use for your server. For example:
force_install_dir C:\Avorion-Server
Now run the command app_update 565060
which will begin the download. The App ID 565060 is the Avorion application.
Please do not interrupt the process before it is completed to avoid mistakes. It may take a moment, but it's worth being patient! :)
Once successful, head over to the download directory where all of the server files have been downloaded. Here, you should make a copy of the server.bat file and rename the copy to startserver.bat or anything similar. You will use the new .bat
file to start the server and to allow for editing of server configuration options in the following section. We recommend port forwarding and configuring your server first.
Port Forwarding your server
In order to ensure that your server is accessible to the public, you must alter port forwarding rules for the ports that the dedicated server process is using. You can do this either through Powershell commands directly which is easier, or regularly through the Windows Defender Firewall page.
- Via Powershell
- Via Windows Defender
Open your Windows search box, and search for Powershell. Make sure to right-click and Run as Administrator so that permissions are accessible and everything works correctly.
Ensure you run your Powershell in Administrator mode, otherwise the settings may not apply correctly.
Next, copy and paste the following commands into your Powershell Prompt:
New-NetFirewallRule -DisplayName "Avorion Server" -Direction Inbound -LocalPort 27000 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "Avorion Server" -Direction Inbound -LocalPort 27000,27003,27020,27021 -Protocol UDP -Action Allow
New-NetFirewallRule -DisplayName "Avorion Server" -Direction Outbound -LocalPort 27000 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "Avorion Server" -Direction Outbound -LocalPort 27000,27003,27020,27021 -Protocol UDP -Action Allow
These commands will automatically create firewall rules which are necessary for your Avorion server to be accessible to the public.
Use the search function on Windows to open up Windows Firewall Settings with Advanced Security. You may have to press Advanced Settings to open up the necessary window if you open up the base Windows Firewall page.
You must create new rules for your Avorion server. To do this, click on the incoming and outgoing rules as described below and add them for the following protocols and ports:
- TCP incoming and outgoing: 27000
- UDP incoming and outgoing: 27000, 27003, 27020, 27021
Please use our Port Forwarding (Firewall) guide if you need further assistance doing this.
Once you have added these rules, your server will now be accessible which means you will be able to connect to it through your server's IP address. We recommend that you configure your server settings first through the following section before accessing your server.
Configuration
By this stage, you have finished the setup for your Avorion server. You can configure your server settings directly through the startserver.bat file that you copied earlier. Open the file with a text editor such as notepad and configure parameters for your server.
If you wish to edit world-specific parameters and settings, you will have to access your galaxy saves and edit the server.ini configuration file. This will be stored in your Windows AppData, accessible via the following path.
../AppData/Roaming/Avorion/galaxies
You can easily access this path directly by pressing CTRL
+ R
at the same time and searching for the following path in the run dialog: %userprofile%/AppData/Roaming/Avorion/galaxies
. Simply press OK and you will be taken to the folder.
Starting & Connecting to your server
Now it is time to start your server. Head over to the base directory of your Avorion server and run startserver.bat that you created earlier to begin the start up process. This will open the server's console in a command prompt and begin the startup process. You will now be able to connect directly to your server using the in-game server browser and by inputting your Server IP and Port (default is 27000).
Conclusion
Congratulations, you have successfully installed and configured the Avorion server on your VPS! If you have any further questions or problems, please contact our support team, who are available to help you every day!