This guide covers how to set up your Sonic Robo Blast 2 (SRB2) dedicated server on Legion Hosting, configure server settings, and connect players. SRB2 is a free, open-source 3D Sonic fan game built on a modified Doom engine that supports multiplayer with up to 32 players. For admin commands, game mode configuration, and add-on management, see SRB2 Admin and Commands Guide.
1. First Start
- Log in to GPanel and select your SRB2 server.
- Go to the Startup tab and configure the variables (see the table in Section 2).
- Set SRV_NAME to your desired server name (max 20 characters).
- Change SRV_PW from the default
ChangeMeto your desired password, or leave it for a password-protected server. - Return to the Console tab and click Start.
- Wait for the console to display
DEDICATED: No players at round start, idling...
ChangeMe. Change this to something unique, or clear it if you want a public server.
2. GPanel Startup Variables
The following variables are available in the GPanel Startup tab.
| Variable | Default | Description |
|---|---|---|
SRV_NAME |
Default Name |
Server name shown in the master server list (max 20 characters). |
SRV_PW |
ChangeMe |
Password required to join the server. |
MAX_PLAYERS |
32 |
Maximum number of players (up to 32). |
ROOM_NR |
33 |
Master server room number. 33 = Standard room, 28 = Casual room. |
3. Server Configuration (adedserv.cfg)
The main server configuration file is:
adedserv.cfg
Open this file using the Files tab in GPanel or connect via SFTP. The file uses a simple command-based format.
servername, password, and maxplayers values in adedserv.cfg are overwritten by GPanel startup variables on each server start. Use the Startup tab for these settings.
Example adedserv.cfg
servername "My SRB2 Server"
wait 5
password ChangeMe
wait 5
maxplayers 32
You can add additional configuration commands to this file. They are executed in order when the server starts. Use wait [tics] between commands to allow processing time.
4. Master Server Rooms
SRB2 servers are listed on the official master server at ms.srb2.org. The ROOM_NR variable controls which room your server appears in.
| Room ID | Room Name | Description |
|---|---|---|
33 |
Standard | The default room for competitive and standard gameplay. |
28 |
Casual | For casual, relaxed gameplay sessions. |
5. How Players Connect
- Launch Sonic Robo Blast 2.
- From the main menu, select Multiplayer and then Join Game.
- Browse the server list (filtered by room) to find your server.
- Alternatively, use Specify Server and enter the IP and port from GPanel's Network tab.
- Enter the server password if prompted.
6. Game Modes
SRB2 supports several multiplayer game modes:
- Co-op -- Play through campaign stages cooperatively.
- Competition -- Race through stages for the best score.
- Race -- Speed run stages against other players.
- Match -- Free-for-all ring combat.
- Team Match -- Team-based ring combat.
- Capture the Flag -- Classic CTF with SRB2 gameplay.
- Tag -- One player is "it" and must tag others.
- Hide & Seek -- Hiders must avoid the seeker.
Related Articles
Need Help?
If you run into issues with your SRB2 server, open a support ticket and include your server IP, a description of the problem, and any relevant error messages from the GPanel console.