Dedicated Linux server: Difference between revisions
From TF2 Classified Wiki
More actions
m dont disable autoupdate |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 41: | Line 41: | ||
<pre> | <pre> | ||
# apt install dialog | # apt install dialog | ||
# apt install steamcmd p7zip aria2 tilde lib32z1 libbz2-1.0:i386 lib32gcc-s1 lib32stdc++6 libcurl3-gnutls:i386 libsdl2-2.0-0:i386 wget | # apt install steamcmd p7zip aria2 tilde lib32z1 libbz2-1.0:i386 lib32gcc-s1 lib32stdc++6 libcurl3-gnutls:i386 libcurl3-gnutls libsdl2-2.0-0:i386 wget | ||
</pre> | </pre> | ||
| Line 246: | Line 246: | ||
SourceMod is a server modding platform that provides admin tools, permissions, and plugin support. Installing it is strongly recommended if you plan to run a public-facing server. | SourceMod is a server modding platform that provides admin tools, permissions, and plugin support. Installing it is strongly recommended if you plan to run a public-facing server. | ||
You'll need to install the | '''You'll need to install the development version''' of SourceMod, as well as MetaMod which SourceMod depends on to work. '''It will not work with stable releases currently'''. As of writing this article, the latest known working development build is 7301 and 1389 respectively. | ||
<pre> | <pre> | ||
| Line 312: | Line 312: | ||
<pre>ExecStart=/usr/bin/script -e -c "/home/srcds/classified/srcds_linux64 -port 27015 -tf_path /home/srcds/tf +map ctf_2fort +maxplayers 24" /dev/null</pre> | <pre>ExecStart=/usr/bin/script -e -c "/home/srcds/classified/srcds_linux64 -port 27015 -tf_path /home/srcds/tf +map ctf_2fort +maxplayers 24" /dev/null</pre> | ||
<pre>ExecStart=/home/srcds/classified/srcds_linux64 -port 27015 -tf_path /home/srcds/tf +map ctf_2fort +maxplayers 24</pre> | <pre>ExecStart=/home/srcds/classified/srcds_linux64 -port 27015 -tf_path /home/srcds/tf +map ctf_2fort +maxplayers 24</pre> | ||
=== SourceMod extensions doesn't load with "Extension version is too new/old to load" error === | |||
Depending on what version of SourceMod you have installed you will either need to install the extension API 8 or API 9 version of extensions. Sourcemod 1.13 v7354 bumped the extension API number, which breaks extensions built for older versions. | |||
If it complains about the extension being too new, you'll probably need to install the API 8 version. If it complains about the extension being too old then you'll probably need to install the API 9 version. | |||
The patched TF2 Tools extension has builds for both extension API versions in the pinned message. However, an API 9 build is not available for Windows as of writing. | |||
[[Category:Guides]] | [[Category:Guides]] | ||