On this page
Garry's Mod, Team Fortress 2, Left 4 Dead 2 and Insurgency are all built on Valve's Source engine, and on Torchlite each one runs the game's official dedicated server, installed from Steam with SteamCMD. The panel, the way players join and most of the files work the same way for all four, so this guide explains those steps once. After that, each game has its own section with only what is different: the plan, the size of the install, the settings on Startup and the folders.
| Game | Plans | First install | RAM at start | Ready when the console prints |
| Garry's Mod | Lite, Turbo | about 6.8 GB | about 120 MB | gameserver Steam ID |
| Team Fortress 2 | Turbo only, 23 GB disk | about 15 GB | about 680 MB | Connection to Steam servers successful. |
| Left 4 Dead 2 | Lite, Turbo | about 9.5 GB | about 165 MB | Connection to Steam servers successful. |
| Insurgency (2014) | Lite, Turbo | about 9.2 GB | about 125 MB | gameserver Steam ID |
The sizes and RAM figures are what our own test servers used with nobody on them. Players, maps and addons add to both.
The first install
When you create the server, the installer downloads the game from Steam. Even the smallest of the four is several gigabytes, so the first start takes a few minutes, and Team Fortress 2 takes the longest. Open the Console in the panel at game.torchlite.host and watch it. The panel shows the server as running when the console prints the ready line from the table above.
Steam's downloader sometimes fails on its first run in a new server. The installer is set to try up to three times by itself, so a pause or an error in the install output is not always a problem. Do not stop the server during the install. If the install fails for good, the console says so, and Reinstall Server under Settings tries again.
Later starts are much faster, because the files are already on disk.
Find your address and join
The panel shows your server's address in the form <name>.torchlite.host:<port> or <name>.play.torchlite.host:<port>, depending on the node. The name is the game's short name (gmod, tf2, l4d2 or insurgency). The port is assigned by us and cannot be changed, so always copy the address from your own panel, including the port after the colon.
Players join from the game's developer console:
- In the game's settings, turn on the developer console. Where the option sits depends on the game and its version.
- Open the console with the key you set for it, usually the tilde key.
- Type
connect, a space and the address from the panel, then press Enter.
connect gmod.play.torchlite.host:27316That line is only an example. Every player needs the game itself on Steam; Team Fortress 2 is free there.
The Startup page
Each game has a few settings on the Startup page of the panel, such as the starting map and, for some games, the number of player slots, an Auto Update switch and a Steam token. The per-game sections below list them with their defaults. You cannot change the startup command or the Docker image, only these values, and you need to restart the server after a change.
Map fields take the map's internal name: letters, digits, underscores and hyphens, without spaces and without the .bsp file extension. The maps that ship with the game work as they are. A map you add yourself must be in the game's maps folder first. If the server cannot find the map you named, it will not load it, so check the spelling first.
The Steam game server token
Garry's Mod and Team Fortress 2 have a field on Startup for a Steam game server login token, often called a GSLT. It is optional and the server runs without one. The panel's description of the field says the token is what lists the server publicly, so add one if you want strangers to find the server. If your group only joins with connect, you can skip this. Left 4 Dead 2 and Insurgency have no token field.
To get a token:
- Open Steam's game server account management page and sign in with your Steam account.
- Enter the game's App ID (4000 for Garry's Mod, 440 for Team Fortress 2) and a memo such as "Torchlite server".
- Create the token and copy the long string it gives you.
Paste it into the token field on Startup and restart the server. Use one token per server and treat it like a password: anyone who has it can run a server under your account. Steam has conditions for the accounts that create tokens, and the page explains them if yours does not qualify.
Files, server.cfg and RCON
Open Files in the panel, or connect over SFTP for big uploads. Each game keeps its content in its own game folder, named in the sections below, with maps and cfg inside it.
Stop the server before you edit files and restart it after saving: Source servers read most of their files at start. Make a backup before a change you cannot easily undo.
The server runs server.cfg from the cfg folder at start. If the file does not exist yet, create it. A short one can set the server's name and the RCON password:
hostname "My Torchlite server"
rcon_password "choose-a-long-password"Choose a long password and do not reuse one from another service. For most tasks you do not need RCON at all: the panel's Console sends commands straight to the server.
Maps, addons and disk space
Custom maps and other content go into the game folder over SFTP, with the server stopped. Players who join also need that content, so a server with custom maps or addons makes first joins slower, and large files make them slower still. Add one thing at a time and read the Console after each restart: when something breaks, you then know what caused it.
Keep an eye on the disk. The game itself takes most of it, as the table at the top shows. Lite has 15 GB, Turbo 20 GB, and Team Fortress 2 servers get 23 GB.
Updates
Team Fortress 2, Left 4 Dead 2 and Insurgency have an Auto Update setting on Startup, on (1) by default. With it on, each start checks Steam and updates the game before the server launches, so the start after a game patch takes longer. Leave it on unless you have a reason: players on a newer game version cannot join a server that is behind, and a restart is all it takes to catch up. You do not need to reinstall the server for an update. Garry's Mod's Startup page has no Auto Update setting.
Renewal and the player count
Like every free server, these stop when their renewal timer runs out: every 50 minutes on Lite and every 40 on Turbo. Press Renew in the panel before that; it includes a short sponsor break. Your files stay when the server stops. On Garry's Mod, Team Fortress 2 and Left 4 Dead 2 the countdown is also announced in the game chat, so players see it coming. The renewal guide explains how it works.
The panel can also show how many players are on. It asks the server with the same Steam query the game's server browser uses, and the counter is hidden when the server does not answer.
Garry's Mod
The server starts in Sandbox on gm_flatgrass, on Lite or Turbo. An empty server uses about 120 MB of RAM, so Lite leaves plenty of room for addons. The game folder is garrysmod:
garrysmod/addonsholds addons, one folder per addon.garrysmod/mapsholds maps.garrysmod/gamemodesholds gamemodes.garrysmod/cfgholds the config files, includingserver.cfg.
| Setting | What it does | Default |
| Map | The map the server loads at start | gm_flatgrass |
| Player Slots | The number of player slots, up to 128 | 16 |
| Steam Account Token | The optional token, 32 letters and digits | empty |
To add an addon, stop the server, upload the addon's folder to garrysmod/addons and start the server again. The folder must sit directly in addons, not inside another folder with the same name. There is no Workshop collection setting on Startup: addons are uploaded as folders.
Other gamemodes are installed as folders under garrysmod/gamemodes, in the same way. Because the startup command is fixed, a gamemode is chosen from the server's config or console rather than from Startup. Follow the gamemode's own instructions for the exact line and check the Console after a restart to see which gamemode loaded. Many gamemodes come with their own maps: upload them to garrysmod/maps and set Map to the map's name.
More slots use more RAM and CPU. If a full server lags, lower Player Slots or remove addons you do not need.
Team Fortress 2
Team Fortress 2 runs on the Turbo plan only. Its game files take about 15 GB, so its servers get 23 GB of disk instead of Turbo's usual 20 GB, which leaves room for maps and a few extras, not for a large library. At start the server uses about 680 MB of Turbo's 3 GB. The game folder is tf, with tf/maps and tf/cfg.
| Setting | What it does | Default |
| Default Map | The map the server starts on | cp_dustbowl |
| Max players | The player limit, from 2 to 32 | 24 |
| Auto Update | Updates the game at every start | on (1) |
| Game server login token | The optional Steam token | empty |
Community maps come as .bsp files. Stop the server, upload the file to tf/maps, set Default Map to its name without .bsp and start the server. If the map does not load, set Default Map back to cp_dustbowl and restart.
Left 4 Dead 2
Left 4 Dead 2 runs on Lite or Turbo and uses about 165 MB of RAM when idle. The install is about 9.5 GB, so watch the disk on Lite if you upload large files. The game files sit in the server's main folder, with the game's own left4dead2 folder inside it.
| Setting | What it does | Default |
| Default Map | The map the server loads at start | c1m1_hotel |
| Auto Update | Updates the game at every start | on (1) |
c1m1_hotel is the first map of the Dead Center campaign. Default Map only sets the map at startup: the campaign changes the map as the players move through it. There is no player-slot or token setting for this game.
In Left 4 Dead 2 the developer console is turned on in the game's keyboard settings. Torchlite servers for this game are meant to be reached by address, so join with connect rather than looking for the server in the game's list.
Insurgency (2014)
This is Insurgency, the 2014 game, not Insurgency: Sandstorm. Players with Sandstorm cannot join, because it is a different game. The server runs on Lite or Turbo, uses about 125 MB of RAM at start, and its install is about 9.2 GB. Its game folder is insurgency.
| Setting | What it does | Default |
| Default Map | The map the server starts on | contact |
| Auto Update | Updates the game at every start | on (1) |
The hint next to Default Map gives sinjar as another example. In our tests Steam's downloader failed on the first install run and worked on the second, which the installer does by itself. As with Left 4 Dead 2, there is no player-slot or token setting, and the server is meant to be reached by address with connect.
What we tested and what we did not
We installed and started each of the four games on test servers, the way the panel runs them, and each console reported that it was connected to Steam. From outside our network, the Garry's Mod, Left 4 Dead 2 and Team Fortress 2 test servers answered a Steam server query on our NVMe node. The Team Fortress 2 server ran on Turbo with about 15 GB on disk and answered by IP and by its tf2.play.torchlite.host name. The Insurgency server was tested on both of our nodes and answered the query on both.
We did not join any of the four with a real game client, and we did not run a match with real players, so nothing here promises how a server behaves under load. We also did not test RCON from an outside tool, addons, gamemodes, custom maps, the effect of a Steam token on the server list, Team Fortress 2 on our other node, or the player counter with real players. If something in this guide does not match what you see, tell us on Discord or at contact@torchlite.host and we will correct it.
Common problems
The install is slow or the console shows nothing
The first install downloads several gigabytes from Steam, about 15 GB for Team Fortress 2. Wait for the ready line from the table at the top. The installer retries a failed download by itself. If the console reports that the install failed, use Reinstall Server under Settings.
The connect command does nothing
Check that the developer console is turned on and that the player typed the whole address with the port after the colon. Then check in the panel that the server is running and that the renewal timer has not run out.
The server is not in the server browser
On Garry's Mod and Team Fortress 2, add a Steam token on Startup and restart. Left 4 Dead 2 and Insurgency servers are meant to be reached by address. Friends can always join with connect.
The map does not load
Check the spelling of the map name on Startup, use the internal name without .bsp, and make sure a custom map is in the game's maps folder. If the server still cannot load it, set the map back to the default and restart.
Players say their game version does not match
The game was patched and the server is behind. On Team Fortress 2, Left 4 Dead 2 and Insurgency, check that Auto Update is 1 and restart, so the start updates the server.
An addon does not load
Read the Console right after the start for the error. A Garry's Mod addon's folder must sit directly in garrysmod/addons.
The disk is full
Remove maps and uploads you no longer need in Files. The game files themselves should stay.
The server stopped on its own
The renewal timer ran out. Press Start, and press Renew when the panel asks. Your files are kept.
Stuck on a step?
Ask on the forum. Your question links back to this guide, so whoever answers knows where you are.
About the author
Torchlite team
The people who run Torchlite
We build and run the Torchlite panel and the nodes. Every guide is checked on our own servers before it goes up, and updated when the panel changes.



