Dedicated Linux server: Difference between revisions
From TF2 Classified Wiki
More actions
No edit summary |
No edit summary |
||
| Line 264: | Line 264: | ||
Existing SourceMod plugins are not guaranteed to work and may require special steps or patching to get working. | Existing SourceMod plugins are not guaranteed to work and may require special steps or patching to get working. | ||
==== Installing the patched TF Tools extension ==== | |||
Many plugins depend on the built-in TF Tools extension that comes with Sourcemod. This isn't compatible with TF2C. Instead, we can use a patched version of the extension which enables the use of many plugins. | |||
There's currently no public download link for this extension. After joining the Team Fortress 2 Classified Discord server you can find the files you need in [this message https://discordapp.com/channels/196337717267791874/1011914229307166780/1467172013637636327]. Specifically, you need <code>game.tf2.ext.2.tf2.so</code> and <code>sm-tf2.games.txt</code>. | |||
First, we'll need to disable automatic game data updating to prevent our gamedata file from being removed. | |||
<pre> | |||
$ nano ~/classified/tf2classified/addons/sourcemod/configs/ | |||
<pre> | |||
Replace <code>"no"</code> in this part of the file with <code>"yes"</code> | |||
<pre> | |||
/** | |||
* Enables or Disables SourceMod's automatic gamedata updating. | |||
* | |||
* The default value is "no". A value of "yes" will block the Auto Updater. | |||
*/ | |||
"DisableAutoUpdate" "no" // Change to "yes" | |||
</pre> | |||
Next we'll add both the gamedata file and the plugin to our installation. | |||
<pre> | |||
$ mv $WHEREVER_YOU_PUT_IT/sm-tf2.games.txt ~/classified/tf2classified/addons/sm-tf2.games.txt | |||
$ mv $WHEREVER_YOU_PUT_IT/game.tf2.ext.2.tf2.so ~/classified/tf2classified/addons/extensions/x64 | |||
</pre> | |||
Finally, create an empty file so that the extension is automatically loaded. | |||
<pre> | |||
$ touch ~/classified/tf2classified/addons/sourcemod/extensions/game.tf2.autoload | |||
</pre> | |||
== Troubleshooting == | == Troubleshooting == | ||