Docs / Garry's Mod and TF2

Garry's Mod and TF2

The basics for Source engine servers: connecting, maps, gamemodes and the settings that matter.

Connect

Copy your address from the client area or the panel's console page, like node1.skylithosting.com:26010.

Steam login token (GSLT)

A Game Server Login Token lets your server show up properly in Steam's server lists. Make one on steamcommunity.com/dev/managegameservers with the game's App ID: 4000 for Garry's Mod, 440 for Team Fortress 2. Paste it in the panel under Startup (Garry's Mod: Steam Account Token, TF2: Steam) and restart. Each server needs its own token.

Garry's Mod

Under Startup you can change:

SettingWhat it does
MapThe map it starts on, like gm_flatgrass or gm_construct.
GamemodeFor example sandbox, terrortown or darkrp. The gamemode's files must be installed (see Workshop).
Max PlayersHow many players can join.
Workshop IDThe ID of a Steam Workshop collection. The server downloads everything in it, and players get it when they join.
TickrateHow often the server updates per second. Keep the default unless you know you need more.

Add Workshop content

  1. On Steam, make a public Workshop collection with the addons, maps and gamemode you want.
  2. Copy the number at the end of the collection's URL (?id=123456789).
  3. Paste it in Startup → Workshop ID and restart.

You can also upload addons by hand to garrysmod/addons with the file manager or SFTP.

Server name and password

Edit garrysmod/cfg/server.cfg (create it if it isn't there):

hostname "My Skylit server"
sv_password ""          // fill in to make the server private
rcon_password ""        // leave empty unless you use RCON

Team Fortress 2

Under Startup, Default Map sets the first map, like cp_dustbowl or ctf_2fort. Server settings go in tf/cfg/server.cfg:

hostname "My Skylit TF2 server"
sv_password ""
mp_timelimit 30
mp_maxrounds 0

Change the map while playing with the console command changelevel ctf_2fort in the panel. Custom maps go in tf/maps.

Game updates

When Valve updates the game, players with the new version can't join an old server. To download the update, make a backup and use Settings → Reinstall Server, or ask us to do it.

Stuck? Ask in our Discord or email support@skylithosting.com. Tell us your service name and what you tried.