How to add a GSLT token to a TF2 server
Create a token for app 440 on Steam's game server account page, then add +sv_setsteamaccount <token> to the launch options or server.cfg.
sv_setsteamaccount
Logs the server in with a Game Server Login Token from Steam, giving it a persistent account.
sv_setsteamaccount <token> Examples
sv_setsteamaccount ABCDEF0123456789 Log in with your token.
Arguments
tokenRequired- Your Game Server Login Token.
What it does
Create a token for app ID 440 on Steam's game server account management page and set it here, or pass it on the command line as +sv_setsteamaccount. It must be set before the server connects to Steam, so it belongs in the launch options or server.cfg.
The game's own description: token Set game server account token to use for logging in to a persistent game server account
Good to know
- Keep the token private. Anyone with it can run a server on your account.
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to tf/cfg/server.cfg. New to this? Start a TF2 server first.
Your own
TF2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.