How to Install Starbound on AnonVM: A Step-by-Step Guide
Starbound is a sandbox adventure game where players can explore, build, and fight in a procedurally generated universe. By hosting your own Starbound server on AnonVM, you can customize the gameplay, control the environment, and invite your friends for a multiplayer experience. This tutorial will guide you through the installation and configuration process.
Prerequisites
Before you begin, make sure you have the following:
- AnonVM VPS or Dedicated Server: A server with root or sudo access.
- Operating System: This guide assumes you are using Ubuntu or CentOS.
- SSH Access: You'll need SSH access to your server to run commands.
- Steam Account: A Steam account is required to download Starbound and run the server.
Step 1: Update Your System
Updating your system is essential before installing new software to ensure your server is running the latest security patches.
For Ubuntu/Debian-based systems:
For CentOS-based systems:
Step 2: Install Dependencies
Starbound requires SteamCMD for installing and updating the game server.
For Ubuntu/Debian-based systems:
For CentOS-based systems:
Step 3: Install SteamCMD
-
Create a directory for SteamCMD:
-
Download SteamCMD:
-
Extract the SteamCMD files:
-
Navigate to the SteamCMD directory:
Step 4: Install Starbound Server Files
Now that SteamCMD is set up, use it to install the Starbound server.
-
Run SteamCMD:
-
Log in to SteamCMD using your Steam account or anonymously:
-
To log in anonymously:
-
To log in with your Steam credentials:
-
-
Set the installation directory for Starbound:
-
Install the Starbound server:
This will download and install the Starbound server files.
-
Exit SteamCMD:
Step 5: Configure the Starbound Server
Once the server files are installed, you’ll need to configure the server to customize game settings, world rules, and player preferences.
-
Navigate to the Starbound server directory:
-
Inside this directory, you'll find a
storage
folder, which holds the server configuration and world files. The main configuration file isstarbound_server.config
. -
Edit the server configuration file:
Here are some key configuration options:
- ServerName: Set the name of your server.
- MaxPlayers: Set the maximum number of players allowed on the server.
- Port: Configure the port for the server to run on (default is 21025).
- Password: Set a password if you want to restrict access to your server.
- World: Choose the default world for the server to load.
Example configuration:
-
Save and exit the file (
CTRL + X
, thenY
to confirm).
Step 6: Start the Starbound Server
To start the Starbound server, use the following command:
This will start the server in dedicated mode. You should now see the server console output in your terminal.
Step 7: Set Up Automatic Startup (Optional)
To ensure that your Starbound server starts automatically when your server reboots, you can create a systemd service.
-
Create a systemd service file:
-
Add the following content:
Replace
your_user
with your actual username. -
Reload systemd to apply changes:
-
Enable the service to start on boot:
-
Start the Starbound server service:
-
Verify the server status:
Step 8: Connect to Your Starbound Server
To connect to your Starbound server:
- Launch Starbound from Steam.
- Go to Multiplayer > Join Server.
- Enter the IP address and port (default is 21025).
If your server is password-protected, you’ll need to enter the password you set in the starbound_server.config
file.
Step 9: Secure Your Server (Optional)
For additional security, you may want to set up a firewall and limit who can access your server.
-
Firewall Configuration: Make sure the necessary port (21025) is open in your firewall to allow players to connect.
To allow traffic on port 21025, run:
-
Password Protection: If you want your server to be private, ensure that you’ve set a Password in the
starbound_server.config
file.
Conclusion
You’ve now successfully installed and configured Starbound on your AnonVM server! With your own dedicated server, you have complete control over the game’s environment, world, and player settings. Whether you want to play privately with friends or host a public server, Starbound offers a vast universe to explore.
Key Takeaways:
- SteamCMD is required to install the Starbound server files.
- Systemd allows you to set up automatic server restarts on boot.
- Configure the server settings through the
starbound_server.config
file. - Open the correct port in your firewall to allow players to join.
Enjoy your Starbound server hosted on AnonVM, and have fun exploring the stars with friends!