GameCP Logo
FeaturesFeaturesPricingPricingSelf-HostedSelf-HostedGames & AppsGames & AppsIntegrationsIntegrationsDocsDocs
Claim Your Space
GameCP Logo
GameCP

The next-generation game server management platform. Built for performance, security, and ease of use.

Product

  • Features
  • Integrations
  • App Store
  • Pricing
  • Self-Hosted
  • Custom Development
  • Compare Panels

Resources

  • Documentation
  • API Reference
  • Referral Program
  • Support
  • System Status

Company

  • About
  • Contact

Β© 2026 GameCP. All rights reserved.

Privacy PolicyTerms of ServiceSelf-Hosted License
Back to Templates
Team Fortress 2
Team Fortress 2
GameCP OfficialFPS
Verified

Team Fortress 2

Dedicated Server Template

Team Fortress 2 is a free-to-play team-based first-person shooter from Valve featuring nine distinct classes across multiple game modes including Control Point, Payload, Capture the Flag, King of the Hill, and more.

v26
4/1/2026

Team Fortress 2 Game Server Hosting

Deploy and manage your own Team Fortress 2 dedicated server with GameCP's free game server control panel. This template provides a production-ready server configuration with one-click installation, automatic updates via SteamCMD, and full environment variable management. Whether you're hosting for a small group of friends or running a large community server, GameCP makes Team Fortress 2 server administration simple and reliable.

Free Control PanelOne-Click DeployAuto UpdatesDocker Containerized
Full Hosting Guide

Ready to host Team Fortress 2?

Read our complete step-by-step guide covering installation, configuration, performance tuning, and getting your server online in minutes.

Read Hosting GuideGet Started Free

Resource Requirements

CPU Cores
2
Memory
1.0 GB(max 2 GB)
Storage
10 GB

Recommended Players

24
Recommended
Min: 2Max: 32

Performance Tiers

Economy

Small server, 2-12 players

RAM1 GB
CPU Shares1024
Recommended

Standard

Medium server, 12-24 players

RAM2 GB
CPU Shares1536

Pro

Large server, 24-32 players

RAM3 GB
CPU Shares2560

Startup Command

#!/bin/bashBash shell with full features

Default

SRCDS startup for Team Fortress 2 dedicated server

Default

Environment Variables

SERVER_NAME

Required

Server Name

Server name displayed in the server browser

Default
(empty)

MAX_PLAYERS

Required

Max Players

Maximum number of concurrent players

Default
24

STEAM_TOKEN

Game Server Login Token

Create one with App ID `440` at [Steam GSLT Management](https://steamcommunity.com/dev/managegameservers) to publicly list your server.

Default
(empty)

SERVER_CONTACT

Server Contact

Contact info for server administrator shown in server browser

Default
(empty)

PURE_MODE

sv_pure Mode

File consistency mode. 0 = allow all custom content, 1 = use whitelist (default), 2 = strict pure (no custom content)

Default
1

SRCDS_MAP

Required

Start Map

The map loaded when the server starts

Default
cp_dustbowl

RCON_PASSWORD

Required

RCON Password

Password for remote console (RCON) access

Default
(empty)

SERVER_PASSWORD

Server Password

If set, players will be required to enter this password to join the server

Default
(empty)

AUTO_UPDATE

Auto Update on Start

Automatically update the server via SteamCMD before each start

Default
0

SV_DOWNLOADURL

FastDL URL

URL for FastDL content delivery. Clients download custom maps and content from this URL instead of the game server. Leave empty to disable.

Default
(empty)

Configuration Files

Server Config

Main server configuration file (server.cfg)

tf/cfg/server.cfgtext
0 fields

MOTD

Message of the Day shown to players when joining (HTML format)

tf/cfg/motd.txttext
0 fields

MOTD Text

Plain text Message of the Day fallback

tf/cfg/motd_text.txttext
0 fields

Map Cycle

Map rotation cycle used by the server

tf/cfg/mapcycle.txttext
0 fields

Container Configuration

Docker Image

ghcr.io/ptero-eggs/games:source

Technical Profile

Template ID

team-fortress-2

Author

GameCP Team

Last Updated

April 1, 2026

Status

Active

Configuration Metadata

Information about the origin and version of this game configuration.

Author

GameCP Team

Version

1

Source

gamecp

Steam Links

Steam StoreSteamDB
Hosting Guide

Host Your Own Team Fortress 2 Server

Step-by-step setup guide, performance tips, and everything you need to get your server running.

Read Full GuideGet Started Free
Template Info
Versionv26
CategoryFPS
SourceGameCP Official
Download Configuration

Export this template as a native GameCP Template

Quick Import

Copy this link to import in your GameCP panel

Pterodactyl Export

Export this template as a Pterodactyl egg for use in other panels

TCAdmin Export

Export this template as a TCAdmin game config XML

CDN Image Assets
team-fortress-2 Icon
IconSquare game icon
team-fortress-2 Banner
Banner16:9 card thumbnail
team-fortress-2 Hero
HeroUltra-wide background
team-fortress-2 Logo
LogoTransparent game logo

Tags

#fps#competitive#multiplayer#team-based#free-to-play#steam#linux

Ready to deploy?

Join GameCP today and deploy your favorite games and applications instantly.

Get Started Free