From 7d0e48179c8b98cfac0579e41fa5650ed1975274 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 21:09:19 +0000 Subject: [PATCH] Enhanced TF2 documentation - now 7 games with comprehensive guides Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com> --- modules/billing/docs/tf2/index.php | 182 ++++++++++++++++++------- modules/billing/docs/tf2/index_old.php | 68 +++++++++ 2 files changed, 203 insertions(+), 47 deletions(-) create mode 100644 modules/billing/docs/tf2/index_old.php diff --git a/modules/billing/docs/tf2/index.php b/modules/billing/docs/tf2/index.php index 0ac45607..72d95110 100644 --- a/modules/billing/docs/tf2/index.php +++ b/modules/billing/docs/tf2/index.php @@ -1,68 +1,156 @@ -
Team Fortress 2 is available for hosting on our platform. This guide covers the basics of setting up and managing your Team Fortress 2 server.
-27015- Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file. -
+To create a Team Fortress 2 server:
-After your server is created, you can configure it through the control panel:
+Team Fortress 2 (TF2) is Valve's class-based multiplayer FPS game. This guide covers hosting a TF2 dedicated server using Source Dedicated Server (srcds) on VPS or dedicated servers.
+ +27015 (UDP)27015 (TCP)27020 (TCP/UDP)# Install SteamCMD
+# Linux:
+sudo add-apt-repository multiverse
+sudo dpkg --add-architecture i386
+sudo apt update
+sudo apt install lib32gcc1 steamcmd
-Starting Your Server
-Servers are automatically started after creation. You can stop/start your server from the control panel.
+# Create server directory
+mkdir -p ~/tf2server
+cd ~/tf2server
-Connecting to Your Server
-Use your server's IP address and port to connect from the game client.
+# Download TF2 server files (App ID 232250)
+steamcmd +login anonymous +force_install_dir ~/tf2server +app_update 232250 validate +quit
+
-Access your server files via FTP using the credentials provided in your control panel.
+Windows (start_tf2.bat):
+srcds.exe -console -game tf +map ctf_2fort +maxplayers 24 -port 27015 +exec server.cfg
+
-If you need assistance with your Team Fortress 2 server:
+Linux (start_tf2.sh):
+#!/bin/bash
+./srcds_run -console -game tf +map ctf_2fort +maxplayers 24 -port 27015 +exec server.cfg
+
+
+Create tf/cfg/server.cfg:
// Server Information
+hostname "My TF2 Server"
+sv_region 1
+rcon_password "your_secure_password"
+
+// Server Settings
+sv_lan 0
+sv_pure 2
+mp_autoteambalance 1
+sv_visiblemaxplayers 24
+mp_timelimit 30
+mp_maxrounds 5
+
+// Communication
+sv_alltalk 0
+sv_voiceenable 1
+
+// Logging
+log on
+sv_logbans 1
+
+
+# Required ports:
+UDP 27015 - Game server
+TCP 27015 - RCON
+TCP/UDP 27020 - SourceTV
+
+# Linux:
+sudo ufw allow 27015
+sudo ufw allow 27020
+
+
+Most TF2 servers use SourceMod for admin commands and plugins. Install Metamod:Source first, then SourceMod.
+ +steamcmd +app_update 232250 validatesv_lan 0Team Fortress 2 is available for hosting on our platform. This guide covers the basics of setting up and managing your Team Fortress 2 server.
+ +27015+ Note: When running on a VPS or dedicated server, you can use the default port or configure a custom port in your server configuration file. +
+To create a Team Fortress 2 server:
+After your server is created, you can configure it through the control panel:
+Servers are automatically started after creation. You can stop/start your server from the control panel.
+ +Use your server's IP address and port to connect from the game client.
+ +Access your server files via FTP using the credentials provided in your control panel.
+ +If you need assistance with your Team Fortress 2 server:
+