Squad is a tactical first-person shooter game focused on teamwork, strategy, and large-scale battles. Setting up a dedicated Squad server on your AnonVM VPS allows you to create your own custom game world, manage player activities, and control game settings. This guide will take you step-by-step through installing and configuring your own Squad server, ensuring a seamless multiplayer experience.
Prerequisites
Before you begin, make sure you have the following:
- An AnonVM VPS account with sufficient resources (recommend at least 4 GB RAM, 2 CPU cores, and 20 GB of disk space).
- SSH access to your VPS.
- Basic knowledge of Linux commands.
- A stable internet connection to download and update server files.
Step 1: Access Your AnonVM VPS
- Log into your AnonVM account and access the VPS through the control panel.
- Open a terminal (or use PuTTY on Windows) and connect to your VPS via SSH:
your-vps-ip
with your actual VPS IP address. Enter your password when prompted.
Replace
Step 2: Install Dependencies
To run the Squad server, you’ll need to install a few dependencies on your VPS:
-
Update your system:
-
Install required libraries:
These are necessary libraries for running the Squad server and managing the server process in the background.
Step 3: Install SteamCMD
SteamCMD is a command-line tool that allows you to download and update dedicated game servers, including Squad.
-
Create a directory for SteamCMD:
-
Download SteamCMD:
-
Run SteamCMD to verify installation:
If everything is installed correctly, you’ll be taken into the SteamCMD prompt. Type
quit
to exit.
Step 4: Download Squad Server Files
With SteamCMD installed, you can now download the Squad server files.
-
Log in anonymously:
-
Set the installation directory for Squad server:
-
Download the Squad server files:
This command will download and validate the server files. The download size is about 20 GB, so it may take some time depending on your connection.
Step 5: Configure the Squad Server
After downloading the necessary files, it's time to configure the server settings.
-
Navigate to the server directory:
-
Edit the configuration files: Squad’s server settings are managed through a few files in the
SquadGame/Config
directory. The main files to configure are:ServerSettings.ini
: This file controls the general game settings such as server name, max players, and more.MapRotation.ini
: This file allows you to configure the maps and rotations for your server.
To edit these files, use a text editor like
nano
:In
ServerSettings.ini
, you can adjust settings like:- Server Name: Change the name that will appear in the server list.
- Max Players: Set the maximum number of players allowed on your server.
- Game Mode: Set whether the server will run in normal, hardcore, or other modes.
- Password: If you want to restrict access, you can set a password here.
After editing, save and close the file (in
nano
, pressCTRL + X
, thenY
to confirm).
Step 6: Open Required Ports
To allow players to join your Squad server, you need to open specific ports in your VPS firewall.
The default ports for Squad are:
- TCP/UDP Port 7787 (Game Server)
- UDP Port 27015 (Steam Query)
- UDP Port 15000 (Voice Communication)
To open these ports using ufw
(Uncomplicated Firewall), run the following commands:
If you use a different firewall management tool, ensure the necessary ports are opened for proper multiplayer functionality.
Step 7: Start the Squad Server
Now that the server is configured, it's time to start the server.
-
Start the server by running the following command in the
squad_server
directory: -
Run the server in the background (recommended): To ensure the server continues running even if you disconnect from the terminal, use
screen
:-
Start a new screen session:
-
Start the server:
-
To detach from the session, press
CTRL + A
and thenD
. To reattach later, use:
-
Step 8: Connect to Your Squad Server
After the server starts, it will begin accepting connections from players.
- Launch Squad on your local machine.
- Go to the "Server Browser" and search for your server name or IP address.
- Join the server. If you set a password, enter it when prompted.
Step 9: Update the Squad Server
To keep your server up to date with the latest features and patches, you’ll need to run updates periodically.
-
Update the server using SteamCMD:
This command will update the server with any new patches or content updates.
Conclusion
Setting up a Squad server on AnonVM Hosting gives you full control over your multiplayer experience, allowing you to customize your game world, manage player activity, and create a lag-free environment. By following these steps, you'll be able to enjoy a seamless multiplayer experience with your friends and squadmates.
By using the proper server settings, optimizing your VPS for performance, and keeping your server up to date, you can provide an enjoyable and stable experience for all players on your server.