This guide covers how to set up your Open Fortress dedicated server on Legion Hosting, configure startup variables, edit server.cfg, and connect to your server. Open Fortress is a free Team Fortress 2 mod that introduces new gamemodes, weapons, characters, and maps built on the Source engine. For admin commands, SourceMod/MetaMod support, and troubleshooting, see Open Fortress Admin Commands.
1. First Start
- Log in to GPanel and select your Open Fortress server.
- Go to the Startup tab and review the configurable variables (see Section 2).
- Set your preferred starting map via SRCDS_MAP (default is
dm_2fort). - Return to the Console tab and click Start.
- Wait for the console to display a message containing
gameserver Steam IDto confirm the server is ready.
2. GPanel Startup Variables
| Variable | Default | Description |
|---|---|---|
SRCDS_MAP | dm_2fort | Map loaded on start. Must be a valid map name. |
MAXPLAYERS | 24 | Maximum concurrent players (max 32). |
SRCDS_GAME | open_fortress | Game directory name. Do not change. |
3. Server Configuration (server.cfg)
For detailed settings, edit server.cfg. Stop the server before making changes.
File Location
open_fortress/cfg/server.cfg
Uses standard Source engine key "value" syntax, one setting per line.
Key Settings
| Setting | Default | Description |
|---|---|---|
hostname | (empty) | Server name shown in the server browser. |
sv_password | (empty) | Join password. Empty = public server. |
rcon_password | (empty) | Remote console password for admin access. |
maxplayers | 24 | Maximum concurrent players. |
mp_timelimit | 0 | Time limit per map in minutes. 0 = no limit. |
mp_fraglimit | 0 | Frag limit to end the round. 0 = no limit. |
sv_alltalk | 0 | Cross-team voice chat. 1 = enabled. |
Example server.cfg
hostname "My Legion Open Fortress Server"
sv_password ""
rcon_password "MySecretRcon"
maxplayers 24
mp_timelimit 15
mp_fraglimit 30
sv_alltalk 0
4. Game Modes and Maps
Open Fortress includes several game modes with mode-specific maps. Map prefixes indicate the mode:
| Prefix | Game Mode | Description |
|---|---|---|
dm_ | Deathmatch | Free-for-all combat. Most kills wins. |
tdm_ | Team Deathmatch | Team-based deathmatch. |
ctf_ | Capture the Flag | Classic CTF mode. |
koth_ | King of the Hill | Control the point to win. |
cp_ | Control Points | Capture and hold control points. |
gg_ | Gun Game | Cycle through weapons with each kill. |
inf_ | Infection | Zombie-style infection mode. |
Popular maps include: dm_2fort, dm_wiseau, dm_harvest, ctf_2fort, koth_harvest.
5. Map Rotation (mapcycle.txt)
Edit open_fortress/cfg/mapcycle.txt to set the map rotation. List one map per line:
dm_2fort
dm_wiseau
dm_harvest
ctf_2fort
koth_harvest
6. How to Connect
Option A -- Server Browser
- Launch Open Fortress via Steam.
- Click Find Servers or Multiplayer.
- Search for your server by name.
- Select your server and click Connect.
Option B -- Console Connect
- Open the console (
~). - Type:
connect <your-server-ip>:<port>
Related Articles
Need Help?
If you run into issues with your Open Fortress server that are not covered here, open a support ticket and include your server IP, a description of the problem, and any relevant error messages from the GPanel console.