Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User:Webb/Steam dedicated server: Difference between revisions

From TF2 Classified Wiki
Webb (talk | contribs)
Gamedir is now tf2classified
Webb (talk | contribs)
Update for release
Line 13: Line 13:
== Prerequisites ==
== Prerequisites ==


* A dedicated server software key from Eminoma
* A Linux server running Ubuntu Server<sup>*</sup> on an amd64 CPU<sup>**</sup> with root access
* A Linux server running Ubuntu Server<sup>*</sup> on an amd64 CPU<sup>**</sup> with root access
* At least 25GB of free storage
* At least 25GB of free storage
Line 23: Line 22:


<sup>**</sup>Architectures other than amd64 (including 32-bit x86) are not supported. Using an x86 compatibility layer like Box86 for another architecture may not work.
<sup>**</sup>Architectures other than amd64 (including 32-bit x86) are not supported. Using an x86 compatibility layer like Box86 for another architecture may not work.
== Registering your dedicated server key ==
As of writing this TF2C is still in the prerelease phase. As such you'll need to get a key from the developers to run the server. This is separate from the game key for the client.
You can either register this using a dedicated Steam account (recommended for security reasons) or your own.
To register, go to Steam's library tab, click "Add a game" in the bottom left corner, and click "Activate a Product on Steam". You can enter your server key there, after which it will
be added to the signed in account's library.


== Preparing for install ==
== Preparing for install ==
Line 87: Line 78:


Ensure you've quit SteamCMD before continuing.
Ensure you've quit SteamCMD before continuing.
We'll need to sign in to the Steam account which has access to the dedicated server using SteamCMD. This is done by using <code>login <steam account name></code>
instead of <code>login anonymous</code>. Remember to replace <code>glenda</code> here with your account name. Also ensure you have your Steam Guard ready as there's a timeout if you take too long to approve the login.


<pre>
<pre>
Line 96: Line 84:
$ steamcmd
$ steamcmd
Steam>force_install_dir /home/srcds/classified
Steam>force_install_dir /home/srcds/classified
Steam>login glenda
Steam>login anonymous
Steam>app_update 3557020 validate
Steam>app_update 3557020 validate
Steam>quit
Steam>quit
</pre>
</pre>
You shouldn't need to enter your password/Steam code after this, as your session will be cached locally.


=== Fixing libraries with symlinks ===
=== Fixing libraries with symlinks ===
Line 185: Line 171:
@NoPromptForPassword 1
@NoPromptForPassword 1
force_install_dir /home/srcds/classified
force_install_dir /home/srcds/classified
login glenda
login anonymous
app_update 3557020
app_update 3557020
quit
quit