<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tf2classified.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sumea</id>
	<title>TF2 Classified Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tf2classified.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sumea"/>
	<link rel="alternate" type="text/html" href="https://wiki.tf2classified.com/wiki/Special:Contributions/Sumea"/>
	<updated>2026-05-31T22:08:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.0-beta</generator>
	<entry>
		<id>https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1655</id>
		<title>Dedicated legacy Linux server extras</title>
		<link rel="alternate" type="text/html" href="https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1655"/>
		<updated>2022-11-15T20:28:44Z</updated>

		<summary type="html">&lt;p&gt;Sumea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;Note: This guide was adapted and revised from a guide written by Raizo, the original of which can be found here: https://iraizo.github.io/tf2-classic-sourcemod-setup/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== SourceMod+Metamod setup ==&lt;br /&gt;
&lt;br /&gt;
SourceMod+Metamod is powerful administrator tool for dedicated server owners and operators. SourceMod lets you add administrators easily based on SteamID, control and authenticate to the server securely and even add additional functionality to everyone on server like extended map voting functionality.&lt;br /&gt;
&lt;br /&gt;
SourceMod isn’t necessarily drag-and-drop like supported SM games are such as live TF2 and CS:Source due to this simply being a mod built off of Source SDK 2013 with things like a different game name (&amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;), offsets, signatures, etc.&lt;br /&gt;
&lt;br /&gt;
While the process of getting SM to work isn’t that hard, generic source server guides do not cover few unique factors that come with setting up fully working MM+SM for mods like TF2 Classic.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
This guide assumes you already have a dedicated Linux server installed that can run without issues. If not you should follow [[Dedicated Linux server|this guide]] to setup your server first.&lt;br /&gt;
&lt;br /&gt;
This guide will use the same example install path as the main setup guide, so feel free to follow this guide directly if you use the same directory too &amp;lt;code&amp;gt;/opt/tf2classic/server/&amp;lt;/code&amp;gt;, sometimes just &amp;lt;code&amp;gt;../server/&amp;lt;/code&amp;gt;. Otherwise remember to use your own path instead.&lt;br /&gt;
&lt;br /&gt;
=== Getting SourceMod and MetaMod ===&lt;br /&gt;
Visit the Stable builds section of [https://www.sourcemod.net/downloads.php?branch=stable sourcemod.net] and grab the latest Linux build and upload it to your server using SFTP. If you do not have SFTP on your server, download it to your server using wget or similar tool.&lt;br /&gt;
&lt;br /&gt;
Using Terminal or SSH instead of SFTP, first navigate to your server tf2classic folder, following example location from [[Dedicated Linux server|Dedicated Server Setup Guide]], you would navigate to &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt; first.&lt;br /&gt;
&amp;lt;br&amp;gt;Then you can run wget to download SourceMod archive to your current directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://sm.alliedmods.net/smdrop/1.11/sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You’ll also need stable [https://www.sourcemm.net/downloads.php?branch=stable Metamod:Source]. Download it with one of the ways you did.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://mms.alliedmods.net/mmsdrop/1.11/mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;These links in wget examples may be outdated. You can check both SourceMod &amp;amp; metamod:source downloads page for the newest version and replace any outdated URL&#039;s from there.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can now extract both inside your &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can delete the archive files after the extracted files are in correct place.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Replacing &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; ===&lt;br /&gt;
Correct &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; is necessary for metamod:source to start correctly. Since this is a third party mod, we can use a web tool to generate a custom metamod.vdf file that points to &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;. Otherwise, we create one from scratch in text editor.&lt;br /&gt;
&lt;br /&gt;
You should navigate to your &amp;lt;code&amp;gt;../server/tf2classic/addons/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can now delete &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;metamod_x64.vdf&amp;lt;/code&amp;gt; in this directory. No need to back up these or anything, they are less than useless for TF2C server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem metamod.vdf&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem metamod_x64.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Head over to [https://www.sourcemm.net/vdf sourcemm.net/vdf].&lt;br /&gt;
You’re going to leave the “Game:” blank, or as “—”. In the “Game Folder” box, enter &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;. After downloading generated file with these variables, use SFTP to transfer it to your server&#039;s &amp;lt;code&amp;gt;../server/tf2classic/addons/&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
If you currently do not have SFTP available on your game server, you can alternatively do everything from Command Line/SSH, provided you have a text editor like &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; installed.&lt;br /&gt;
&lt;br /&gt;
Make sure that you are working in &amp;lt;code&amp;gt;../server/tf2classic/addons&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
First create a &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; file in this directory with following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; touch metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Followed by opening the file in your favorite command line text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; nano metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And type in the following to this blank file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;file&amp;quot;	&amp;quot;../tf2classic/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
before saving and exitting.&lt;br /&gt;
&lt;br /&gt;
===Importing custom gamedata===&lt;br /&gt;
To fix many functions of SourceMod when running under Team Fortress 2 Classic, we need to import custom gamedata.&lt;br /&gt;
&amp;lt;br&amp;gt;Move first to work under &amp;lt;code&amp;gt;../server/tf2classic/&amp;lt;/code&amp;gt; directory.  (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;) &lt;br /&gt;
&lt;br /&gt;
If you are working with Ubuntu Server, you might have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; installed. Try first the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; git clone &amp;lt;nowiki&amp;gt;https://github.com/Scags/TF2Classic-Tools.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt;, download the repo with wget directly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; &amp;lt;nowiki&amp;gt;wget https://github.com/Scags/TF2Classic-Tools/archive/master.zip&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then unzip it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; unzip master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; into the directory, being either &amp;lt;code&amp;gt;TF2Classic-Tools&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TF2Classic-Tools-master&amp;lt;/code&amp;gt; depending on how you downloaded it.&lt;br /&gt;
&amp;lt;br&amp;gt;Run the following command to copy &amp;lt;code&amp;gt;sourcemod&amp;lt;/code&amp;gt; directory to your server&#039;s &amp;lt;code&amp;gt;addons&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; cp -r sourcemod/ ../addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have the necessary gamedata for plugins and core SM and MM functions to work with TF2C.&lt;br /&gt;
&lt;br /&gt;
===Setting yourself as the “root” admin user and finalizing.===&lt;br /&gt;
&lt;br /&gt;
To register yourself as an administrator on your server&#039;s SourceMod, we have to add people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
You want to find out your and/or your to-be administrator&#039;s SteamID using a website like [https://steamid.io/ steamid.io]. Enter your steam community URL to the site and you should get set of info that includes your &amp;lt;code&amp;gt;steamID&amp;lt;/code&amp;gt;, which should be in &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; format.&lt;br /&gt;
&lt;br /&gt;
Open the file &amp;lt;code&amp;gt;../server/tf2classic/addons/sourcemod/configs/admins_simple.ini&amp;lt;/code&amp;gt; with a text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; for example. The file will be full of guidance and additional information about how the file works after slashes. Do not worry about leaving it all in as every line beginning with number of slashes are simply ignored, so this filled looking file is empty as it comes to how SourceMod handles it. Punch a new line at the bottom of this file and enter the following:&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;quot;STEAM_0:1:16&amp;quot;		&amp;quot;99:z&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; with your own or your master administrator&#039;s steamID that you extracted with afformentioned [https://steamid.io steamid.io] for example. &amp;quot;99:z&amp;quot; in this case assigns high immunity level and root (full) access for administration and server control. You can add more people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file but you should limit their access to the server appropriately by using examples within the file itself and documentation from SourceMod&#039;s wiki: https://wiki.alliedmods.net/Adding_Admins_(SourceMod)&lt;br /&gt;
&lt;br /&gt;
Save, exit and start/restart your server and everything should be running fine. You can test this by typing &amp;lt;code&amp;gt;meta version&amp;lt;/code&amp;gt; in your server console (or RCON). You should see a line like &amp;lt;code&amp;gt;&amp;quot;Loaded As: Valve Server Plugin.&amp;quot;&amp;lt;/code&amp;gt;. Additionally, if you assigned yourself as an administrator for the server, typing &amp;lt;code&amp;gt;!admin&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/admin&amp;lt;/code&amp;gt; in chat should bring up administrative menu on player hud. &amp;lt;code&amp;gt;sm_admin&amp;lt;/code&amp;gt; should additionally work when typed in to your client console window, and you can use &amp;lt;code&amp;gt;sm_rcon&amp;lt;/code&amp;gt; to use SourceMod to relay any console command to the server, if you set yourself up with &amp;lt;code&amp;gt;z&amp;lt;/code&amp;gt; flag. &lt;br /&gt;
&lt;br /&gt;
Further tweaking of SourceMod to suit your needs is out of scope for this guide. You can get familiar with SourceMod&#039;s other functions and configuration in their wiki: [https://wiki.alliedmods.net/Category:SourceMod_Documentation wiki.alliedmods.net/Category:SourceMod_Documentation]&lt;br /&gt;
&lt;br /&gt;
Additionally, if you have setup RCON on your server before setting up SourceMod, you should disable it by wiping &amp;lt;code&amp;gt;rcon_password &amp;quot;&amp;quot;&amp;lt;/code&amp;gt; empty in &amp;lt;code&amp;gt;server.cfg&amp;lt;/code&amp;gt;. After it is working, using SourceMod and &amp;lt;code&amp;gt;sm_rcon&amp;lt;/code&amp;gt; for RCON commands is more secure for publicly hosted servers.&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Sumea</name></author>
	</entry>
	<entry>
		<id>https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1653</id>
		<title>Dedicated legacy Linux server extras</title>
		<link rel="alternate" type="text/html" href="https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1653"/>
		<updated>2022-11-15T20:08:36Z</updated>

		<summary type="html">&lt;p&gt;Sumea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== TF2 Classic SourceMod+Metamod Setup ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;Note: This guide was adapted and revised from a guide written by Raizo, the original of which can be found here: https://iraizo.github.io/tf2-classic-sourcemod-setup/&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SourceMod+Metamod is powerful administrator tool for dedicated server owners and operators. SourceMod lets you add administrators easily based on SteamID, control and authenticate to the server securely and even add additional functionality to everyone on server like extended map voting functionality.&lt;br /&gt;
&lt;br /&gt;
SourceMod isn’t necessarily drag-and-drop like supported SM games are such as live TF2 and CS:Source due to this simply being a mod built off of Source SDK 2013 with things like a different game name (&amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;), offsets, signatures, etc.&lt;br /&gt;
&lt;br /&gt;
While the process of getting SM to work isn’t that hard, generic source server guides do not cover few unique factors that come with setting up fully working MM+SM for mods like TF2 Classic.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
This guide assumes you already have a dedicated Linux server installed that can run without issues. If not you should follow [[Dedicated Linux server|this guide]] to setup your server first.&lt;br /&gt;
&lt;br /&gt;
This guide will use the same example install path as the main setup guide, so feel free to follow this guide directly if you use the same directory too &amp;lt;code&amp;gt;/opt/tf2classic/server/&amp;lt;/code&amp;gt;, sometimes just &amp;lt;code&amp;gt;../server/&amp;lt;/code&amp;gt;. Otherwise remember to use your own path instead.&lt;br /&gt;
&lt;br /&gt;
=== Getting SourceMod and MetaMod ===&lt;br /&gt;
Visit the Stable builds section of [https://www.sourcemod.net/downloads.php?branch=stable sourcemod.net] and grab the latest Linux build and upload it to your server using SFTP. If you do not have SFTP on your server, download it to your server using wget or similar tool.&lt;br /&gt;
&lt;br /&gt;
Using Terminal or SSH instead of SFTP, first navigate to your server tf2classic folder, following example location from [[Dedicated Linux server|Dedicated Server Setup Guide]], you would navigate to &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt; first.&lt;br /&gt;
&amp;lt;br&amp;gt;Then you can run wget to download SourceMod archive to your current directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://sm.alliedmods.net/smdrop/1.11/sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated. You can check sourcemod downloads page for the newest version and copy the URL of newest build from there.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You’ll also need stable [https://www.sourcemm.net/downloads.php?branch=stable Metamod:Source]. Download it with one of the ways you did.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://mms.alliedmods.net/mmsdrop/1.11/mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated as well. You can check metamod:source downloads page for the newest version&#039;s URL.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
you can now extract both inside your &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can delete the archive files after the extracted files are in correct place.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Replacing &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; ===&lt;br /&gt;
Correct &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; is necessary for metamod:source to start correctly. Since this is a third party mod, we can use a web tool to generate a custom metamod.vdf file that points to &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;. Otherwise, we create one from scratch in text editor.&lt;br /&gt;
&lt;br /&gt;
You should navigate to your &amp;lt;code&amp;gt;../server/tf2classic/addons/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can now delete &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;metamod_x64.vdf&amp;lt;/code&amp;gt; in this directory. No need to back up these or anything, they are less than useless for TF2C server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem metamod.vdf&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem metamod_x64.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Head over to [https://www.sourcemm.net/vdf sourcemm.net/vdf].&lt;br /&gt;
You’re going to leave the “Game:” blank, or as “—”. In the “Game Folder” box, enter &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;. After downloading generated file with these variables, use SFTP to transfer it to your server&#039;s &amp;lt;code&amp;gt;../server/tf2classic/addons/&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
If you currently do not have SFTP available on your game server, you can alternatively do everything from Command Line/SSH, provided you have a text editor like &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; installed.&lt;br /&gt;
&lt;br /&gt;
Make sure that you are working in &amp;lt;code&amp;gt;../server/tf2classic/addons&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
First create a &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; file in this directory with following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; touch metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Followed by opening the file in your favorite command line text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; nano metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And type in the following to this blank file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;file&amp;quot;	&amp;quot;../tf2classic/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
before saving and exitting.&lt;br /&gt;
&lt;br /&gt;
===Importing custom gamedata===&lt;br /&gt;
To fix many functions of SourceMod when running under Team Fortress 2 Classic, we need to import custom gamedata.&lt;br /&gt;
&amp;lt;br&amp;gt;Move first to work under &amp;lt;code&amp;gt;../server/tf2classic/&amp;lt;/code&amp;gt; directory.  (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;) &lt;br /&gt;
&lt;br /&gt;
If you are working with Ubuntu Server, you might have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; installed. Try first the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; git clone &amp;lt;nowiki&amp;gt;https://github.com/Scags/TF2Classic-Tools.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt;, download the repo with wget directly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; &amp;lt;nowiki&amp;gt;wget https://github.com/Scags/TF2Classic-Tools/archive/master.zip&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then unzip it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; unzip master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; into the directory, being either &amp;lt;code&amp;gt;TF2Classic-Tools&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TF2Classic-Tools-master&amp;lt;/code&amp;gt; depending on how you downloaded it.&lt;br /&gt;
&amp;lt;br&amp;gt;Run the following command to copy &amp;lt;code&amp;gt;sourcemod&amp;lt;/code&amp;gt; directory to your server&#039;s &amp;lt;code&amp;gt;addons&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; cp -r sourcemod/ ../addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have the necessary gamedata for plugins and core SM and MM functions to work with TF2C.&lt;br /&gt;
&lt;br /&gt;
===Setting yourself as the “root” admin user and finalizing.===&lt;br /&gt;
&lt;br /&gt;
To register yourself as an administrator on your server&#039;s SourceMod, we have to add people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
You want to find out your and/or your to-be administrator&#039;s SteamID using a website like [https://steamid.io/ steamid.io]. Enter your steam community URL to the site and you should get set of info that includes your &amp;lt;code&amp;gt;steamID&amp;lt;/code&amp;gt;, which should be in &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; format.&lt;br /&gt;
&lt;br /&gt;
Open the file &amp;lt;code&amp;gt;../server/tf2classic/addons/sourcemod/configs/admins_simple.ini&amp;lt;/code&amp;gt; with a text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; for example. The file will be full of guidance and additional information about how the file works after slashes. Do not worry about leaving it all in as every line beginning with number of slashes are simply ignored, so this filled looking file is empty as it comes to how SourceMod handles it. Punch a new line at the bottom of this file and enter the following:&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;quot;STEAM_0:1:16&amp;quot;		&amp;quot;99:z&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; with your own or your master administrator&#039;s steamID that you extracted with afformentioned [https://steamid.io steamid.io] for example. &amp;quot;99:z&amp;quot; in this case assigns high immunity level and root (full) access for administration and server control. You can add more people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file but you should limit their access to the server appropriately by using examples within the file itself and documentation from SourceMod&#039;s wiki: https://wiki.alliedmods.net/Adding_Admins_(SourceMod)&lt;br /&gt;
&lt;br /&gt;
Save, exit and start/restart your server and everything should be running fine. You can test this by typing &amp;lt;code&amp;gt;meta version&amp;lt;/code&amp;gt; in your server console (or RCON). You should see a line like &amp;lt;code&amp;gt;&amp;quot;Loaded As: Valve Server Plugin.&amp;quot;&amp;lt;/code&amp;gt;. Additionally, if you assigned yourself as an administrator for the server, typing &amp;lt;code&amp;gt;!admin&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/admin&amp;lt;/code&amp;gt; in chat should bring up administrative menu on player hud. &amp;lt;code&amp;gt;sm_admin&amp;lt;/code&amp;gt; should additionally work when typed in to your client console window, and you can use &amp;lt;code&amp;gt;sm_rcon&amp;lt;/code&amp;gt; to use SourceMod to relay any console command to the server, if you set yourself up with &amp;lt;code&amp;gt;z&amp;lt;/code&amp;gt; flag. &lt;br /&gt;
&lt;br /&gt;
Further tweaking of SourceMod to suit your needs is out of scope for this guide. You can get familiar with SourceMod&#039;s other functions and configuration in their wiki: [https://wiki.alliedmods.net/Category:SourceMod_Documentation wiki.alliedmods.net/Category:SourceMod_Documentation]&lt;br /&gt;
&lt;br /&gt;
Additionally, if you have setup RCON on your server before setting up SourceMod, you should disable it by wiping &amp;lt;code&amp;gt;rcon_password &amp;quot;&amp;quot;&amp;lt;/code&amp;gt; empty in &amp;lt;code&amp;gt;server.cfg&amp;lt;/code&amp;gt;. After it is working, using SourceMod and &amp;lt;code&amp;gt;sm_rcon&amp;lt;/code&amp;gt; for RCON commands is more secure for publicly hosted servers.&lt;/div&gt;</summary>
		<author><name>Sumea</name></author>
	</entry>
	<entry>
		<id>https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1652</id>
		<title>Dedicated legacy Linux server extras</title>
		<link rel="alternate" type="text/html" href="https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1652"/>
		<updated>2022-11-15T20:03:56Z</updated>

		<summary type="html">&lt;p&gt;Sumea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== TF2 Classic SourceMod+Metamod Setup ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;Note: This guide was adapted and revised from a guide written by Raizo, the original of which can be found here: https://iraizo.github.io/tf2-classic-sourcemod-setup/&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SourceMod+Metamod is powerful administrator tool for dedicated server owners and operators. SourceMod lets you add administrators easily based on SteamID, control and authenticate to the server securely and even add additional functionality to everyone on server like extended map voting functionality.&lt;br /&gt;
&lt;br /&gt;
SourceMod isn’t necessarily drag-and-drop like supported SM games are such as live TF2 and CS:Source due to this simply being a mod built off of Source SDK 2013 with things like a different game name (&amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;), offsets, signatures, etc.&lt;br /&gt;
&lt;br /&gt;
While the process of getting SM to work isn’t that hard, generic source server guides do not cover few unique factors that come with setting up fully working MM+SM for mods like TF2 Classic.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
This guide assumes you already have a dedicated Linux server installed that can run without issues. If not you should follow [[Dedicated Linux server|this guide]] to setup your server first.&lt;br /&gt;
&lt;br /&gt;
This guide will use the same example install path as the main setup guide, so feel free to follow this guide directly if you use the same directory too &amp;lt;code&amp;gt;/opt/tf2classic/server/&amp;lt;/code&amp;gt;, sometimes just &amp;lt;code&amp;gt;../server/&amp;lt;/code&amp;gt;. Otherwise remember to use your own path instead.&lt;br /&gt;
&lt;br /&gt;
=== Getting SourceMod and MetaMod ===&lt;br /&gt;
Visit the Stable builds section of [https://www.sourcemod.net/downloads.php?branch=stable sourcemod.net] and grab the latest Linux build and upload it to your server using SFTP. If you do not have SFTP on your server, download it to your server using wget or similar tool.&lt;br /&gt;
&lt;br /&gt;
Using Terminal or SSH instead of SFTP, first navigate to your server tf2classic folder, following example location from [[Dedicated Linux server|Dedicated Server Setup Guide]], you would navigate to &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt; first.&lt;br /&gt;
&amp;lt;br&amp;gt;Then you can run wget to download SourceMod archive to your current directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://sm.alliedmods.net/smdrop/1.11/sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated. You can check sourcemod downloads page for the newest version and copy the URL of newest build from there.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You’ll also need stable [https://www.sourcemm.net/downloads.php?branch=stable Metamod:Source]. Download it with one of the ways you did.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://mms.alliedmods.net/mmsdrop/1.11/mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated as well. You can check metamod:source downloads page for the newest version&#039;s URL.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
you can now extract both inside your &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can delete the archive files after the extracted files are in correct place.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Replacing &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; ===&lt;br /&gt;
Correct &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; is necessary for metamod:source to start correctly. Since this is a third party mod, we can use a web tool to generate a custom metamod.vdf file that points to &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;. Otherwise, we create one from scratch in text editor.&lt;br /&gt;
&lt;br /&gt;
You should navigate to your &amp;lt;code&amp;gt;../server/tf2classic/addons/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can now delete &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;metamod_x64.vdf&amp;lt;/code&amp;gt; in this directory. No need to back up these or anything, they are less than useless for TF2C server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem metamod.vdf&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem metamod_x64.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Head over to [https://www.sourcemm.net/vdf sourcemm.net/vdf].&lt;br /&gt;
You’re going to leave the “Game:” blank, or as “—”. In the “Game Folder” box, enter &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;. After downloading generated file with these variables, use SFTP to transfer it to your server&#039;s &amp;lt;code&amp;gt;../server/tf2classic/addons/&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
If you currently do not have SFTP available on your game server, you can alternatively do everything from Command Line/SSH, provided you have a text editor like &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; installed.&lt;br /&gt;
&lt;br /&gt;
Make sure that you are working in &amp;lt;code&amp;gt;../server/tf2classic/addons&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
First create a &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; file in this directory with following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; touch metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Followed by opening the file in your favorite command line text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; nano metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And type in the following to this blank file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;file&amp;quot;	&amp;quot;../tf2classic/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
before saving and exitting.&lt;br /&gt;
&lt;br /&gt;
===Importing custom gamedata===&lt;br /&gt;
To fix many functions of SourceMod when running under Team Fortress 2 Classic, we need to import custom gamedata.&lt;br /&gt;
&amp;lt;br&amp;gt;Move first to work under &amp;lt;code&amp;gt;../server/tf2classic/&amp;lt;/code&amp;gt; directory.  (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;) &lt;br /&gt;
&lt;br /&gt;
If you are working with Ubuntu Server, you might have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; installed. Try first the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; git clone &amp;lt;nowiki&amp;gt;https://github.com/Scags/TF2Classic-Tools.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt;, download the repo with wget directly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; &amp;lt;nowiki&amp;gt;wget https://github.com/Scags/TF2Classic-Tools/archive/master.zip&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then unzip it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; unzip master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; into the directory, being either &amp;lt;code&amp;gt;TF2Classic-Tools&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TF2Classic-Tools-master&amp;lt;/code&amp;gt; depending on how you downloaded it.&lt;br /&gt;
&amp;lt;br&amp;gt;Run the following command to copy &amp;lt;code&amp;gt;sourcemod&amp;lt;/code&amp;gt; directory to your server&#039;s &amp;lt;code&amp;gt;addons&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; cp -r sourcemod/ ../addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have the necessary gamedata for plugins and core SM and MM functions to work with TF2C.&lt;br /&gt;
&lt;br /&gt;
===Setting yourself as the “root” admin user and finalizing.===&lt;br /&gt;
&lt;br /&gt;
To register yourself as an administrator on your server&#039;s SourceMod, we have to add people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
You want to find out your and/or your to-be administrator&#039;s SteamID using a website like [https://steamid.io/ steamid.io]. Enter your steam community URL to the site and you should get set of info that includes your &amp;lt;code&amp;gt;steamID&amp;lt;/code&amp;gt;, which should be in &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; format.&lt;br /&gt;
&lt;br /&gt;
Open the file &amp;lt;code&amp;gt;../server/tf2classic/addons/sourcemod/configs/admins_simple.ini&amp;lt;/code&amp;gt; with a text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; for example. The file will be full of guidance and additional information about how the file works after slashes. Do not worry about leaving it all in as every line beginning with number of slashes are simply ignored, so this filled looking file is empty as it comes to how SourceMod handles it. Punch a new line at the bottom of this file and enter the following:&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;quot;STEAM_0:1:16&amp;quot;		&amp;quot;99:z&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; with your own or your master administrator&#039;s steamID that you extracted with afformentioned [https://steamid.io steamid.io] for example. &amp;quot;99:z&amp;quot; in this case assigns high immunity level and root (full) access for administration and server control. You can add more people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file but you should limit their access to the server appropriately by using examples within the file itself and documentation from SourceMod&#039;s wiki: https://wiki.alliedmods.net/Adding_Admins_(SourceMod)&lt;br /&gt;
&lt;br /&gt;
Save, exit and start/restart your server and everything should be running fine. You can test this by typing &amp;lt;code&amp;gt;meta version&amp;lt;/code&amp;gt; in your server console (or RCON). You should see a line like &amp;lt;code&amp;gt;&amp;quot;Loaded As: Valve Server Plugin.&amp;quot;&amp;lt;/code&amp;gt;. Additionally, if you assigned yourself as an administrator for the server, typing &amp;lt;code&amp;gt;!admin&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/admin&amp;lt;/code&amp;gt; in chat should bring up administrative menu on player hud. &amp;lt;code&amp;gt;sm_admin&amp;lt;/code&amp;gt; should additionally work when typed in to your client console window, and you can use &amp;lt;code&amp;gt;sm_rcon&amp;lt;/code&amp;gt; to use SourceMod to relay any console command to the server, if you set yourself up with &amp;lt;code&amp;gt;z&amp;lt;/code&amp;gt; flag. &lt;br /&gt;
&lt;br /&gt;
Further tweaking of SourceMod to suit your needs is out of scope for this guide. You can get familiar with SourceMod&#039;s other functions and configuration in their wiki: [https://wiki.alliedmods.net/Category:SourceMod_Documentation wiki.alliedmods.net/Category:SourceMod_Documentation]&lt;br /&gt;
&lt;br /&gt;
Additionally, if you have setup RCON on your server before setting up SourceMod, you should disable it by wiping &amp;lt;code&amp;gt;RCON_PASSWORD&amp;lt;/code&amp;gt; empty in &amp;lt;code&amp;gt;server.cfg&amp;lt;/code&amp;gt;. After it is working, using SourceMod and &amp;lt;code&amp;gt;sm_rcon&amp;lt;/code&amp;gt; for RCON commands is more secure for publicly hosted servers.&lt;/div&gt;</summary>
		<author><name>Sumea</name></author>
	</entry>
	<entry>
		<id>https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1651</id>
		<title>Dedicated legacy Linux server extras</title>
		<link rel="alternate" type="text/html" href="https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1651"/>
		<updated>2022-11-15T19:50:46Z</updated>

		<summary type="html">&lt;p&gt;Sumea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== TF2 Classic SourceMod+Metamod Setup ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;Note: This guide was adapted and revised from a guide written by Raizo, the original of which can be found here: https://iraizo.github.io/tf2-classic-sourcemod-setup/&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SourceMod+Metamod is powerful administrator tool for dedicated server owners and operators. SourceMod lets you add administrators easily based on SteamID, control and authenticate to the server securely and even add additional functionality to everyone on server like extended map voting functionality.&lt;br /&gt;
&lt;br /&gt;
SourceMod isn’t necessarily drag-and-drop like supported SM games are such as live TF2 and CS:Source due to this simply being a mod built off of Source SDK 2013 with things like a different game name (&amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;), offsets, signatures, etc.&lt;br /&gt;
&lt;br /&gt;
While the process of getting SM to work isn’t that hard, generic source server guides do not cover few unique factors that come with setting up fully working MM+SM for mods like TF2 Classic.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
This guide assumes you already have a dedicated Linux server installed that can run without issues. If not you should follow [[Dedicated Linux server|this guide]] to setup your server first.&lt;br /&gt;
&lt;br /&gt;
This guide will use the same example install path as the main setup guide, so feel free to follow this guide directly if you use the same directory too &amp;lt;code&amp;gt;/opt/tf2classic/server/&amp;lt;/code&amp;gt;, sometimes just &amp;lt;code&amp;gt;../server/&amp;lt;/code&amp;gt;. Otherwise remember to use your own path instead.&lt;br /&gt;
&lt;br /&gt;
=== Getting SourceMod and MetaMod ===&lt;br /&gt;
Visit the Stable builds section of [https://www.sourcemod.net/downloads.php?branch=stable sourcemod.net] and grab the latest Linux build and upload it to your server using SFTP. If you do not have SFTP on your server, download it to your server using wget or similar tool.&lt;br /&gt;
&lt;br /&gt;
Using Terminal or SSH instead of SFTP, first navigate to your server tf2classic folder, following example location from [[Dedicated Linux server|Dedicated Server Setup Guide]], you would navigate to &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt; first.&lt;br /&gt;
&amp;lt;br&amp;gt;Then you can run wget to download SourceMod archive to your current directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://sm.alliedmods.net/smdrop/1.11/sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated. You can check sourcemod downloads page for the newest version and copy the URL of newest build from there.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You’ll also need stable [https://www.sourcemm.net/downloads.php?branch=stable Metamod:Source]. Download it with one of the ways you did.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://mms.alliedmods.net/mmsdrop/1.11/mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated as well. You can check metamod:source downloads page for the newest version&#039;s URL.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
you can now extract both inside your &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can delete the archive files after the extracted files are in correct place.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Replacing &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; ===&lt;br /&gt;
Correct &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; is necessary for metamod:source to start correctly. Since this is a third party mod, we can use a web tool to generate a custom metamod.vdf file that points to &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;. Otherwise, we create one from scratch in text editor.&lt;br /&gt;
&lt;br /&gt;
You should navigate to your &amp;lt;code&amp;gt;../server/tf2classic/addons/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can now delete &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;metamod_x64.vdf&amp;lt;/code&amp;gt; in this directory. No need to back up these or anything, they are less than useless for TF2C server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem metamod.vdf&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem metamod_x64.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Head over to [https://www.sourcemm.net/vdf sourcemm.net/vdf].&lt;br /&gt;
You’re going to leave the “Game:” blank, or as “—”. In the “Game Folder” box, enter &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;. After downloading generated file with these variables, use SFTP to transfer it to your server&#039;s &amp;lt;code&amp;gt;../server/tf2classic/addons/&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
If you currently do not have SFTP available on your game server, you can alternatively do everything from Command Line/SSH, provided you have a text editor like &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; installed.&lt;br /&gt;
&lt;br /&gt;
Make sure that you are working in &amp;lt;code&amp;gt;../server/tf2classic/addons&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
First create a &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; file in this directory with following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; touch metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Followed by opening the file in your favorite command line text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; nano metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And type in the following to this blank file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;file&amp;quot;	&amp;quot;../tf2classic/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
before saving and exitting.&lt;br /&gt;
&lt;br /&gt;
===Importing custom gamedata===&lt;br /&gt;
To fix many functions of SourceMod when running under Team Fortress 2 Classic, we need to import custom gamedata.&lt;br /&gt;
&amp;lt;br&amp;gt;Move first to work under &amp;lt;code&amp;gt;../server/tf2classic/&amp;lt;/code&amp;gt; directory.  (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;) &lt;br /&gt;
&lt;br /&gt;
If you are working with Ubuntu Server, you might have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; installed. Try first the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; git clone &amp;lt;nowiki&amp;gt;https://github.com/Scags/TF2Classic-Tools.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt;, download the repo with wget directly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; &amp;lt;nowiki&amp;gt;wget https://github.com/Scags/TF2Classic-Tools/archive/master.zip&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then unzip it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; unzip master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; into the directory, being either &amp;lt;code&amp;gt;TF2Classic-Tools&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TF2Classic-Tools-master&amp;lt;/code&amp;gt; depending on how you downloaded it.&lt;br /&gt;
&amp;lt;br&amp;gt;Run the following command to copy &amp;lt;code&amp;gt;sourcemod&amp;lt;/code&amp;gt; directory to your server&#039;s &amp;lt;code&amp;gt;addons&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; cp -r sourcemod/ ../addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have the necessary gamedata for plugins and core SM and MM functions to work with TF2C.&lt;br /&gt;
&lt;br /&gt;
===Setting yourself as the “root” admin user and finalizing.===&lt;br /&gt;
&lt;br /&gt;
To register yourself as an administrator on your server with SourceMod, we have to add people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
You want to find out your SteamID using a website like [https://steamid.io/ steamid.io]. Enter your steam community URL to the site and you should get set of info that includes your &amp;lt;code&amp;gt;steamID&amp;lt;/code&amp;gt;, which should be in &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; format.&lt;br /&gt;
&lt;br /&gt;
Open the file &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/sourcemod/configs/admins_simple.ini&amp;lt;/code&amp;gt; with a text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; already familiar candidate. The file will be full of guidance and additional information how the file works for new users inside slashes. Do not worry about leaving all of it into the file as every line beginning with number of slashes are simply ignored, so this full looking file is empty as it comes to how SourceMod handles it. Punch a new line at the bottom of this file and enter the following:&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;quot;STEAM_0:1:16&amp;quot;		&amp;quot;99:z&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; with your own or your master administrator&#039;s steamID that you extracted with afformentioned [https://steamid.io steamid.io] for example. &amp;quot;99:z&amp;quot; in this case assigns high umminity and root (full) access for administration. You can add more people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file but you should limit their access to the server by using examples within the file itself and documentation from SourceMod&#039;s wiki: https://wiki.alliedmods.net/Adding_Admins_(SourceMod)&lt;br /&gt;
&lt;br /&gt;
Save, exit and start/restart your server and everything should be running fine. You can make sure of this by typing &amp;lt;code&amp;gt;meta version&amp;lt;/code&amp;gt; in your server console (or RCON). You should see a line like &amp;lt;code&amp;gt;&amp;quot;Loaded As: Valve Server Plugin.&amp;quot;&amp;lt;/code&amp;gt;. Additionally, if you assigned yourself as an administrator for the server, typing &amp;lt;code&amp;gt;!admin&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/admin&amp;lt;/code&amp;gt; in chat should bring up administrative menu on player hud. &amp;lt;code&amp;gt;sm_admin&amp;lt;/code&amp;gt; should additionally work when typed in to your client console window, and you can use &amp;lt;code&amp;gt;sm_rcon&amp;lt;/code&amp;gt; to use SourceMod to relay any console command to the server, if you set yourself up with &amp;lt;code&amp;gt;z&amp;lt;/code&amp;gt; flag. &lt;br /&gt;
&lt;br /&gt;
Further tweaking of SourceMod to suit your needs is out of scope for this guide. You can get familiar with SourceMod&#039;s other functions and configuration in their wiki: [https://wiki.alliedmods.net/Category:SourceMod_Documentation wiki.alliedmods.net/Category:SourceMod_Documentation]&lt;/div&gt;</summary>
		<author><name>Sumea</name></author>
	</entry>
	<entry>
		<id>https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1650</id>
		<title>Dedicated legacy Linux server extras</title>
		<link rel="alternate" type="text/html" href="https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1650"/>
		<updated>2022-11-15T19:32:04Z</updated>

		<summary type="html">&lt;p&gt;Sumea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== TF2 Classic SourceMod+Metamod Setup ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;Note: This guide was adapted and revised from a guide written by Raizo, the original of which can be found here: https://iraizo.github.io/tf2-classic-sourcemod-setup/&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SourceMod+Metamod is powerful administrator tool for dedicated server owners and operators. SourceMod lets you add administrators easily based on SteamID, control and authenticate to the server securely and even add additional functionality to everyone on server like extended map voting functionality.&lt;br /&gt;
&lt;br /&gt;
SourceMod isn’t necessarily drag-and-drop like supported SM games are such as live TF2 and CS:Source due to this simply being a mod built off of Source SDK 2013 with things like a different game name (&amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;), offsets, signatures, etc.&lt;br /&gt;
&lt;br /&gt;
While the process of getting SM to work isn’t that hard, generic source server guides do not cover few unique factors that come with setting up fully working MM+SM for mods like TF2 Classic.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
This guide assumes you already have a dedicated Linux server installed that can run without issues, if not lacking in additional components. If not you should follow [[Dedicated Linux server|this guide]] to setup your server first.&lt;br /&gt;
&lt;br /&gt;
This guide will use the same example install path as the main setup guide, so feel free to follow this guide directly if you did the setup guide too, or take not to reflect your own install path from the example one; &amp;lt;code&amp;gt;/opt/tf2classic/server/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Getting SourceMod and MetaMod ===&lt;br /&gt;
Visit the Stable builds section of [https://www.sourcemod.net/downloads.php?branch=stable sourcemod.net] and grab the latest Linux build and upload it to your server using SFTP. If you do not have SFTP on your server, download it to your server using wget or similar tool.&lt;br /&gt;
&lt;br /&gt;
Using Terminal or SSH instead of SFTP, first navigate to your server tf2classic folder, following example location from [[Dedicated Linux server|Dedicated Server Setup Guide]], you would navigate to &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt; first.&lt;br /&gt;
&amp;lt;br&amp;gt;Then you can run wget to download SourceMod archive to your current directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://sm.alliedmods.net/smdrop/1.11/sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated. You can check sourcemod downloads page for the newest version and copy the URL of newest build from there.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You’ll also need stable [https://www.sourcemm.net/downloads.php?branch=stable Metamod:Source]. Download it with one of the ways you did.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://mms.alliedmods.net/mmsdrop/1.11/mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated as well. You can check metamod:source downloads page for the newest version.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
you can now extract both inside your &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can delete the archive files after the extracted files are in correct place.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Replacing &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; ===&lt;br /&gt;
Correct &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; is necessary for your server to recognize the game. Since this is a third party mod, we need to use a web tool to generate a custom metamod.vdf file that points to &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;, or create one manually ourselves.&lt;br /&gt;
&lt;br /&gt;
You should navigate to your &amp;lt;code&amp;gt;../server/tf2classic/addons/&amp;lt;/code&amp;gt;, following Dedicated Server setup guide&#039;s example, we should navigate to: &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now delete &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;metamod_x64.vdf&amp;lt;/code&amp;gt; in this directory. No need to back up these or anything.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem metamod.vdf&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem metamod_x64.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Head over to [https://www.sourcemm.net/vdf sourcemm.net/vdf].&lt;br /&gt;
You’re going to leave the “Game:” blank, or as “—”. In the “Game Folder” box, enter &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;. After downloading generated file with these variables, use SFTP to transfer it to your server&#039;s &amp;lt;code&amp;gt;../server/tf2classic/addons/&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
If you currently do not have SFTP available on your game server, you can alternatively do everything from Command Line/SSH.&lt;br /&gt;
&lt;br /&gt;
Make sure that you are working in &amp;lt;code&amp;gt;../server/tf2classic/addons&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
First create a &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; file in this directory with following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; touch metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Followed by opening the file in your favorite command line text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; nano metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And type in the following to this blank file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;file&amp;quot;	&amp;quot;../tf2classic/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
before saving and exitting.&lt;br /&gt;
&lt;br /&gt;
===Importing custom gamedata===&lt;br /&gt;
To fix many functions of SourceMod when running under Team Fortress 2 Classic, we need to import custom gamedata.&lt;br /&gt;
&amp;lt;br&amp;gt;Move first to work under &amp;lt;code&amp;gt;../server/tf2classic/&amp;lt;/code&amp;gt; directory  (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;) &lt;br /&gt;
&lt;br /&gt;
If you are working with Ubuntu Server, you might have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; program already installed. Try first the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; git clone &amp;lt;nowiki&amp;gt;https://github.com/Scags/TF2Classic-Tools.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt;, download this repo with wget directly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; &amp;lt;nowiki&amp;gt;wget https://github.com/Scags/TF2Classic-Tools/archive/master.zip&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then unzip it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; unzip master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; into the directory, being either &amp;lt;code&amp;gt;TF2Classic-Tools&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TF2Classic-Tools-master&amp;lt;/code&amp;gt; depending on how you downloaded it.&lt;br /&gt;
&amp;lt;br&amp;gt;Run the following command to copy &amp;lt;code&amp;gt;sourcemod&amp;lt;/code&amp;gt; directory to your server&#039;s &amp;lt;code&amp;gt;addons&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; cp -r sourcemod/ ../addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have the necessary gamedata for plugins and core SM and MM functions to work with TF2C.&lt;br /&gt;
&lt;br /&gt;
===Setting yourself as the “root” admin user and finalizing.===&lt;br /&gt;
&lt;br /&gt;
To register yourself as an administrator on your server with SourceMod, we have to add people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
You want to find out your SteamID using a website like [https://steamid.io/ steamid.io]. Enter your steam community URL to the site and you should get set of info that includes your &amp;lt;code&amp;gt;steamID&amp;lt;/code&amp;gt;, which should be in &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; format.&lt;br /&gt;
&lt;br /&gt;
Open the file &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/sourcemod/configs/admins_simple.ini&amp;lt;/code&amp;gt; with a text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; already familiar candidate. The file will be full of guidance and additional information how the file works for new users inside slashes. Do not worry about leaving all of it into the file as every line beginning with number of slashes are simply ignored, so this full looking file is empty as it comes to how SourceMod handles it. Punch a new line at the bottom of this file and enter the following:&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;quot;STEAM_0:1:16&amp;quot;		&amp;quot;99:z&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; with your own or your master administrator&#039;s steamID that you extracted with afformentioned [https://steamid.io steamid.io] for example. &amp;quot;99:z&amp;quot; in this case assigns high umminity and root (full) access for administration. You can add more people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file but you should limit their access to the server by using examples within the file itself and documentation from SourceMod&#039;s wiki: https://wiki.alliedmods.net/Adding_Admins_(SourceMod)&lt;br /&gt;
&lt;br /&gt;
Save, exit and start/restart your server and everything should be running fine. You can make sure of this by typing &amp;lt;code&amp;gt;meta version&amp;lt;/code&amp;gt; in your server console (or RCON). You should see a line like &amp;lt;code&amp;gt;&amp;quot;Loaded As: Valve Server Plugin.&amp;quot;&amp;lt;/code&amp;gt;. Additionally, if you assigned yourself as an administrator for the server, typing &amp;lt;code&amp;gt;!admin&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/admin&amp;lt;/code&amp;gt; in chat should bring up administrative menu on player hud. &amp;lt;code&amp;gt;sm_admin&amp;lt;/code&amp;gt; should additionally work when typed in to your client console window, and you can use &amp;lt;code&amp;gt;sm_rcon&amp;lt;/code&amp;gt; to use SourceMod to relay any console command to the server, if you set yourself up with &amp;lt;code&amp;gt;z&amp;lt;/code&amp;gt; flag. &lt;br /&gt;
&lt;br /&gt;
Further tweaking of SourceMod to suit your needs is out of scope for this guide. You can get familiar with SourceMod&#039;s other functions and configuration in their wiki: [https://wiki.alliedmods.net/Category:SourceMod_Documentation wiki.alliedmods.net/Category:SourceMod_Documentation]&lt;/div&gt;</summary>
		<author><name>Sumea</name></author>
	</entry>
	<entry>
		<id>https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1649</id>
		<title>Dedicated legacy Linux server extras</title>
		<link rel="alternate" type="text/html" href="https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1649"/>
		<updated>2022-11-15T19:17:22Z</updated>

		<summary type="html">&lt;p&gt;Sumea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== TF2 Classic SourceMod+Metamod Setup ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;Note: This guide was adapted and revised from a guide written by Raizo, the original of which can be found here: https://iraizo.github.io/tf2-classic-sourcemod-setup/&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SourceMod+Metamod is powerful administrator tool for dedicated server owners and operators. SourceMod lets you add administrators easily based on SteamID, control and authenticate to the server securely and even add additional functionality to everyone on server like extended map voting functionality.&lt;br /&gt;
&lt;br /&gt;
SourceMod isn’t necessarily drag-and-drop like supported SM games are such as live TF2 and CS:Source due to this simply being a mod built off of Source SDK 2013 with things like a different game name (&amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;), offsets, signatures, etc.&lt;br /&gt;
&lt;br /&gt;
While the process of getting SM to work isn’t that hard, generic source server guides do not cover few unique factors that come with setting up fully working MM+SM for mods like TF2 Classic.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
This guide assumes you already have a dedicated Linux server running that can run without issues, if not lacking in additional components. If not you should follow [[Dedicated Linux server|this guide]] to setup your server first.&lt;br /&gt;
&lt;br /&gt;
This guide will use the same example install path as the main setup guide, so feel free to follow this guide directly if you did the setup guide too, or take not to reflect your own install path from the example one; &amp;lt;code&amp;gt;/opt/tf2classic/server/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Getting SourceMod and MetaMod ===&lt;br /&gt;
Visit the Stable builds section of [https://www.sourcemod.net/downloads.php?branch=stable sourcemod.net] and grab the latest Linux build and upload it to your server using SFTP. If you do not have SFTP on your server, download it to your server using wget or similar tool.&lt;br /&gt;
&lt;br /&gt;
Using Terminal or SSH instead of SFTP, first navigate to your server tf2classic folder, following example location from [[Dedicated Linux server|Dedicated Server Setup Guide]], you would navigate to &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt; first.&lt;br /&gt;
&amp;lt;br&amp;gt;Then you can run wget to download SourceMod archive to your current directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://sm.alliedmods.net/smdrop/1.11/sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated. You can check sourcemod downloads page for the newest version and copy the URL of newest build from there.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You’ll also need stable [https://www.sourcemm.net/downloads.php?branch=stable Metamod:Source]. Download it with one of the ways you did.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://mms.alliedmods.net/mmsdrop/1.11/mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated as well. You can check metamod:source downloads page for the newest version.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
you can now extract both inside your &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can delete the archive files after the extracted files are in correct place.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Replacing &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; ===&lt;br /&gt;
Correct &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; is necessary for your server to recognize the game. Since this is a third party mod, we need to use a web tool to generate a custom metamod.vdf file that points to &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;, or create one manually ourselves.&lt;br /&gt;
&lt;br /&gt;
You should navigate to your &amp;lt;code&amp;gt;../server/tf2classic/addons/&amp;lt;/code&amp;gt;, following Dedicated Server setup guide&#039;s example, we should navigate to: &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now delete &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;metamod_x64.vdf&amp;lt;/code&amp;gt; in this directory. No need to back up these or anything.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem metamod.vdf&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem metamod_x64.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Head over to [https://www.sourcemm.net/vdf sourcemm.net/vdf].&lt;br /&gt;
You’re going to leave the “Game:” blank, or as “—”. In the “Game Folder” box, enter &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;. After downloading generated file with these variables, use SFTP to transfer it to your server&#039;s &amp;lt;code&amp;gt;../server/tf2classic/addons/&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
If you currently do not have SFTP available on your game server, you can alternatively do everything from Command Line/SSH.&lt;br /&gt;
&lt;br /&gt;
Make sure that you are working in &amp;lt;code&amp;gt;../server/tf2classic/addons&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
First create a &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; file in this directory with following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; touch metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Followed by opening the file in your favorite command line text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; nano metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And type in the following to this blank file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;file&amp;quot;	&amp;quot;../tf2classic/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
before saving and exitting.&lt;br /&gt;
&lt;br /&gt;
===Importing custom gamedata===&lt;br /&gt;
To fix many functions of SourceMod when running under Team Fortress 2 Classic, we need to import custom gamedata.&lt;br /&gt;
&amp;lt;br&amp;gt;Move first to work under &amp;lt;code&amp;gt;../server/tf2classic/&amp;lt;/code&amp;gt; directory  (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;) &lt;br /&gt;
&lt;br /&gt;
If you are working with Ubuntu Server, you might have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; program already installed. Try first the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; git clone &amp;lt;nowiki&amp;gt;https://github.com/Scags/TF2Classic-Tools.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt;, download this repo with wget directly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; &amp;lt;nowiki&amp;gt;wget https://github.com/Scags/TF2Classic-Tools/archive/master.zip&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then unzip it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; unzip master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; into the directory, being either &amp;lt;code&amp;gt;TF2Classic-Tools&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TF2Classic-Tools-master&amp;lt;/code&amp;gt; depending on how you downloaded it.&lt;br /&gt;
&amp;lt;br&amp;gt;Run the following command to copy &amp;lt;code&amp;gt;sourcemod&amp;lt;/code&amp;gt; directory to your server&#039;s &amp;lt;code&amp;gt;addons&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; cp -r sourcemod/ ../addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have the necessary gamedata for plugins and core SM and MM functions to work with TF2C.&lt;br /&gt;
&lt;br /&gt;
===Setting yourself as the “root” admin user and finalizing.===&lt;br /&gt;
&lt;br /&gt;
To register yourself as an administrator on your server with SourceMod, we have to add people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
You want to find out your SteamID using a website like [https://steamid.io/ steamid.io]. Enter your steam community URL to the site and you should get set of info that includes your &amp;lt;code&amp;gt;steamID&amp;lt;/code&amp;gt;, which should be in &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; format.&lt;br /&gt;
&lt;br /&gt;
Open the file &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/sourcemod/configs/admins_simple.ini&amp;lt;/code&amp;gt; with a text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; already familiar candidate. The file will be full of guidance and additional information how the file works for new users inside slashes. Do not worry about leaving all of it into the file as every line beginning with number of slashes are simply ignored, so this full looking file is empty as it comes to how SourceMod handles it. Punch a new line at the bottom of this file and enter the following:&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;quot;STEAM_0:1:16&amp;quot;		&amp;quot;99:z&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; with your own or your master administrator&#039;s steamID that you extracted with afformentioned [https://steamid.io steamid.io] for example. &amp;quot;99:z&amp;quot; in this case assigns high umminity and root (full) access for administration. You can add more people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file but you should limit their access to the server by using examples within the file itself and documentation from SourceMod&#039;s wiki: https://wiki.alliedmods.net/Adding_Admins_(SourceMod)&lt;br /&gt;
&lt;br /&gt;
Save, exit and start/restart your server and everything should be running fine. You can make sure of this by typing &amp;lt;code&amp;gt;meta version&amp;lt;/code&amp;gt; in your server console (or RCON). You should see a line like &amp;lt;code&amp;gt;&amp;quot;Loaded As: Valve Server Plugin.&amp;quot;&amp;lt;/code&amp;gt;. Additionally, if you assigned yourself as an administrator for the server, typing &amp;lt;code&amp;gt;!admin&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/admin&amp;lt;/code&amp;gt; in chat should bring up administrative menu on player hud. &amp;lt;code&amp;gt;sm_admin&amp;lt;/code&amp;gt; should additionally work when typed in to your client console window, and you can use &amp;lt;code&amp;gt;sm_rcon&amp;lt;/code&amp;gt; to use SourceMod to relay any console command to the server, if you set yourself up with &amp;lt;code&amp;gt;z&amp;lt;/code&amp;gt; flag. &lt;br /&gt;
&lt;br /&gt;
Further tweaking of SourceMod to suit your needs is out of scope for this guide. You can get familiar with SourceMod&#039;s other functions and configuration in their wiki: [https://wiki.alliedmods.net/Category:SourceMod_Documentation wiki.alliedmods.net/Category:SourceMod_Documentation]&lt;/div&gt;</summary>
		<author><name>Sumea</name></author>
	</entry>
	<entry>
		<id>https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1648</id>
		<title>Dedicated legacy Linux server extras</title>
		<link rel="alternate" type="text/html" href="https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1648"/>
		<updated>2022-11-15T18:45:55Z</updated>

		<summary type="html">&lt;p&gt;Sumea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== TF2 Classic SourceMod+Metamod Setup ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;Note: This guide was adapted and revised from a guide written by Raizo, the original of which can be found here: https://iraizo.github.io/tf2-classic-sourcemod-setup/&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SourceMod+Metamod is powerful administrator tool for dedicated server owners and operators. SourceMod lets you add administrators easily based on SteamID, control and authenticate to the server securely and even add additional functionality to everyone on server like extended map voting functionality.&lt;br /&gt;
&lt;br /&gt;
SourceMod isn’t necessarily drag-and-drop like supported SM games are such as live TF2 and CS:Source due to this simply being a mod built off of Source SDK 2013 with things like a different game name (&amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;), offsets, signatures, etc.&lt;br /&gt;
&lt;br /&gt;
While the process of getting SM to work isn’t that hard, generic source server guides do not cover few unique factors that come with setting up fully working MM+SM for mods like TF2 Classic.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
This guide assumes you already have a dedicated Linux server running that can run without issues, if not lacking in additional components. If not you should follow [[Dedicated Linux server|this guide]] to setup your server first.&lt;br /&gt;
&lt;br /&gt;
This guide will use the same example install path as the main setup guide, so feel free to follow this guide directly if you did the setup guide too, or take not to reflect your own install path from the example one; &amp;lt;code&amp;gt;/opt/tf2classic/server/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Getting SourceMod and MetaMod ===&lt;br /&gt;
Visit the Stable builds section of [https://www.sourcemod.net/downloads.php?branch=stable sourcemod.net] and grab the latest Linux build. Download it to your server using wget/curl or to your machine and upload it to your server using SFTP:&lt;br /&gt;
&lt;br /&gt;
If using Linux Server Terminal or SSH instead of SFTP, first navigate to your server tf2classic folder, following example location from [[Dedicated Linux server|Dedicated Server Setup Guide]], you want to navigate to &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt; first.&lt;br /&gt;
&lt;br /&gt;
Then you can run wget to download SourceMod archive to your current directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://sm.alliedmods.net/smdrop/1.11/sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated. You can check sourcemod downloads page for the newest version and copy URL of the newest build.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You’ll also need stable [https://www.sourcemm.net/downloads.php?branch=stable Metamod:Source]. Download it with one of the ways you did.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://mms.alliedmods.net/mmsdrop/1.11/mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can now extract both inside your tf2classic folder (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can delete the archive files after the extracted files are in correct place.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is still few crucial steps before launching the server.&lt;br /&gt;
&lt;br /&gt;
=== Replacing &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; is necessary for your server to recognize the game. Since this is a mod, we need to use a web tool to generate a metamod.vdf file for us that points to &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You should navigate to your &amp;lt;code&amp;gt;~/server/tf2classic/addons/&amp;lt;/code&amp;gt;, Following Dedicated Server Setup example, we should now navigate to: &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now delete &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;metamod_x64.vdf&amp;lt;/code&amp;gt; in this directory. No need to back up these or anything.&lt;br /&gt;
&lt;br /&gt;
Head over to [https://www.sourcemm.net/vdf sourcemm.net/vdf].&lt;br /&gt;
You’re going to leave the “Game:” blank, or as “—”. In the “Game Folder” box, enter &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you, at least currently, do not have SFTP available on your game server, you can alternatively do everything from Command Line/SSH connection.&lt;br /&gt;
&lt;br /&gt;
Make sure that you have navigated to your &amp;lt;code&amp;gt;../tf2classic/addons&amp;lt;/code&amp;gt; directory (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
First create a &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; file in this directory with following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; touch metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Followed by opening the file in your favorite command line editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; nano metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And type in the following:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;file&amp;quot;	&amp;quot;../tf2classic/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
before saving and exitting.&lt;br /&gt;
&lt;br /&gt;
===Importing custom gamedata===&lt;br /&gt;
To fix many functions of SourceMod when running under Team Fortress 2 Classic, we need to import custom gamedata.&lt;br /&gt;
&amp;lt;br&amp;gt;Move first to work under &amp;lt;code&amp;gt;../server/tf2classic/&amp;lt;/code&amp;gt; directory  (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;) &lt;br /&gt;
&lt;br /&gt;
If you are working with Ubuntu Server, you might have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; program already installed. Try first the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; git clone &amp;lt;nowiki&amp;gt;https://github.com/Scags/TF2Classic-Tools.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt;, download this repo with wget directly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; &amp;lt;nowiki&amp;gt;wget https://github.com/Scags/TF2Classic-Tools/archive/master.zip&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then unzip it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; unzip master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; into the directory, being either &amp;lt;code&amp;gt;TF2Classic-Tools&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TF2Classic-Tools-master&amp;lt;/code&amp;gt; depending on how you downloaded it.&lt;br /&gt;
&amp;lt;br&amp;gt;Run the following command to copy &amp;lt;code&amp;gt;sourcemod&amp;lt;/code&amp;gt; directory to your server&#039;s &amp;lt;code&amp;gt;addons&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; cp -r sourcemod/ ../addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have the necessary gamedata for plugins and core SM and MM functions to work with TF2C.&lt;br /&gt;
&lt;br /&gt;
===Setting yourself as the “root” admin user and finalizing.===&lt;br /&gt;
&lt;br /&gt;
To register yourself as an administrator on your server with SourceMod, we have to add people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
You want to find out your SteamID using a website like [https://steamid.io/ steamid.io]. Enter your steam community URL to the site and you should get set of info that includes your &amp;lt;code&amp;gt;steamID&amp;lt;/code&amp;gt;, which should be in &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; format.&lt;br /&gt;
&lt;br /&gt;
Open the file &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/sourcemod/configs/admins_simple.ini&amp;lt;/code&amp;gt; with a text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; already familiar candidate. The file will be full of guidance and additional information how the file works for new users inside slashes. Do not worry about leaving all of it into the file as every line beginning with number of slashes are simply ignored, so this full looking file is empty as it comes to how SourceMod handles it. Punch a new line at the bottom of this file and enter the following:&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;quot;STEAM_0:1:16&amp;quot;		&amp;quot;99:z&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; with your own or your master administrator&#039;s steamID that you extracted with afformentioned [https://steamid.io steamid.io] for example. &amp;quot;99:z&amp;quot; in this case assigns high umminity and root (full) access for administration. You can add more people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file but you should limit their access to the server by using examples within the file itself and documentation from SourceMod&#039;s wiki: https://wiki.alliedmods.net/Adding_Admins_(SourceMod)&lt;br /&gt;
&lt;br /&gt;
Save, exit and start/restart your server and everything should be running fine. You can make sure of this by typing &amp;lt;code&amp;gt;meta version&amp;lt;/code&amp;gt; in your server console (or RCON). You should see a line like &amp;lt;code&amp;gt;&amp;quot;Loaded As: Valve Server Plugin.&amp;quot;&amp;lt;/code&amp;gt;. Additionally, if you assigned yourself as an administrator for the server, typing &amp;lt;code&amp;gt;!admin&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/admin&amp;lt;/code&amp;gt; in chat should bring up administrative menu on player hud. &amp;lt;code&amp;gt;sm_admin&amp;lt;/code&amp;gt; should additionally work when typed in to your client console window, and you can use &amp;lt;code&amp;gt;sm_rcon&amp;lt;/code&amp;gt; to use SourceMod to relay any console command to the server, if you set yourself up with &amp;lt;code&amp;gt;z&amp;lt;/code&amp;gt; flag. &lt;br /&gt;
&lt;br /&gt;
Further tweaking of SourceMod to suit your needs is outside scope of this guide. You can get familiar with SourceMod&#039;s other functions and configuration in their wiki: [https://wiki.alliedmods.net/Category:SourceMod_Documentation wiki.alliedmods.net/Category:SourceMod_Documentation]&lt;/div&gt;</summary>
		<author><name>Sumea</name></author>
	</entry>
	<entry>
		<id>https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1647</id>
		<title>Dedicated legacy Linux server extras</title>
		<link rel="alternate" type="text/html" href="https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1647"/>
		<updated>2022-11-15T18:44:48Z</updated>

		<summary type="html">&lt;p&gt;Sumea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== TF2 Classic SourceMod+Metamod Setup ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;Note: This guide was adapted and revised from a guide written by Raizo, the original of which can be found here: https://iraizo.github.io/tf2-classic-sourcemod-setup/&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SourceMod+Metamod is powerful administrator tool for dedicated server owners and operators. SourceMod lets you add administrators easily based on SteamID, control and authenticate to the server securely and even add additional functionality to everyone on server like extended map voting functionality.&lt;br /&gt;
&lt;br /&gt;
SourceMod isn’t necessarily drag-and-drop like supported SM games are such as live TF2 and CS:Source due to this simply being a mod built off of Source SDK 2013 with things like a different game name (&amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;), offsets, signatures, etc.&lt;br /&gt;
&lt;br /&gt;
While the process of getting SM to work isn’t that hard, generic source server guides do not cover few unique factors that come with setting up fully working MM+SM for mods like TF2 Classic.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
This guide assumes you already have a dedicated Linux server running that can run without issues, if not lacking in additional components. If not you should follow [[Dedicated Linux server|this guide]] to setup your server first.&lt;br /&gt;
&lt;br /&gt;
This guide will use the same example install path as the main setup guide, so feel free to follow this guide directly if you did the setup guide too, or take not to reflect your own install path from the example one; &amp;lt;code&amp;gt;/opt/tf2classic/server/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Getting SourceMod and MetaMod ===&lt;br /&gt;
Visit the Stable builds section of [https://www.sourcemod.net/downloads.php?branch=stable sourcemod.net] and grab the latest Linux build. Download it to your server using wget/curl or to your machine and upload it to your server using SFTP:&lt;br /&gt;
&lt;br /&gt;
If using Linux Server Terminal or SSH instead of SFTP, first navigate to your server tf2classic folder, following example location from [[Dedicated Linux server|Dedicated Server Setup Guide]], you want to navigate to &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt; first.&lt;br /&gt;
&lt;br /&gt;
Then you can run wget to download SourceMod archive to your current directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://sm.alliedmods.net/smdrop/1.11/sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated. You can check sourcemod downloads page for the newest version and copy URL of the newest build.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You’ll also need stable [https://www.sourcemm.net/downloads.php?branch=stable Metamod:Source]. Download it with one of the ways you did.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://mms.alliedmods.net/mmsdrop/1.11/mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can now extract both inside your tf2classic folder (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can delete the archive files after the extracted files are in correct place.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is still few crucial steps before launching the server.&lt;br /&gt;
&lt;br /&gt;
=== Replacing &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; is necessary for your server to recognize the game. Since this is a mod, we need to use a web tool to generate a metamod.vdf file for us that points to &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You should navigate to your &amp;lt;code&amp;gt;~/server/tf2classic/addons/&amp;lt;/code&amp;gt;, Following Dedicated Server Setup example, we should now navigate to: &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now delete &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;metamod_x64.vdf&amp;lt;/code&amp;gt; in this directory. No need to back up these or anything.&lt;br /&gt;
&lt;br /&gt;
Head over to [https://www.sourcemm.net/vdf sourcemm.net/vdf].&lt;br /&gt;
You’re going to leave the “Game:” blank, or as “—”. In the “Game Folder” box, enter &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you, at least currently, do not have SFTP available on your game server, you can alternatively do everything from Command Line/SSH connection.&lt;br /&gt;
&lt;br /&gt;
Make sure that you have navigated to your &amp;lt;code&amp;gt;../tf2classic/addons&amp;lt;/code&amp;gt; directory (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
First create a &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; file in this directory with following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; touch metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Followed by opening the file in your favorite command line editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; nano metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And type in the following:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;file&amp;quot;	&amp;quot;../tf2classic/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
before saving and exitting.&lt;br /&gt;
&lt;br /&gt;
===Importing custom gamedata===&lt;br /&gt;
To fix many functions of SourceMod when running under Team Fortress 2 Classic, we need to import custom gamedata.&lt;br /&gt;
&amp;lt;br&amp;gt;Move first to work under &amp;lt;code&amp;gt;../server/tf2classic/&amp;lt;/code&amp;gt; directory  (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;) &lt;br /&gt;
&lt;br /&gt;
If you are working with Ubuntu Server, you might have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; program already installed. Try first the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; git clone &amp;lt;nowiki&amp;gt;https://github.com/Scags/TF2Classic-Tools.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt;, download this repo with wget directly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; &amp;lt;nowiki&amp;gt;wget https://github.com/Scags/TF2Classic-Tools/archive/master.zip&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then unzip it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; unzip master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; into the directory, being either &amp;lt;code&amp;gt;TF2Classic-Tools&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TF2Classic-Tools-master&amp;lt;/code&amp;gt; depending on how you downloaded it.&lt;br /&gt;
&amp;lt;br&amp;gt;Run the following command to copy &amp;lt;code&amp;gt;sourcemod&amp;lt;/code&amp;gt; directory to your server&#039;s &amp;lt;code&amp;gt;addons&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; cp -r sourcemod/ ../addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have the necessary gamedata for plugins and core SM and MM functions to work with TF2C.&lt;br /&gt;
&lt;br /&gt;
===Setting yourself as the “root” admin user and finalizing.===&lt;br /&gt;
&lt;br /&gt;
To register yourself as an administrator on your server with SourceMod, we have to add people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
You want to find out your SteamID using a website like [https://steamid.io/ steamid.io]. Enter your steam community URL to the site and you should get set of info that includes your &amp;lt;code&amp;gt;steamID&amp;lt;/code&amp;gt;, which should be in &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; format.&lt;br /&gt;
&lt;br /&gt;
Open the file &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/sourcemod/configs/admins_simple.ini&amp;lt;/code&amp;gt; with a text editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; already familiar candidate. The file will be full of guidance and additional information how the file works for new users inside slashes. Do not worry about leaving all of it into the file as every line beginning with number of slashes are simply ignored, so this full looking file is empty as it comes to how SourceMod handles it. Punch a new line at the bottom of this file and enter the following:&lt;br /&gt;
 &amp;lt;code&amp;gt;&amp;quot;STEAM_0:1:16&amp;quot;		&amp;quot;99:z&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace &amp;lt;code&amp;gt;STEAM_0:1:16&amp;lt;/code&amp;gt; with your own or your master administrator&#039;s steamID that you extracted with afformentioned [https://steamid.io steamid.io] for example. &amp;quot;99:z&amp;quot; in this case assigns high umminity and root (full) access for administration. You can add more people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file but you should limit their access to the server by using examples within the file itself and documentation from SourceMod&#039;s wiki: https://wiki.alliedmods.net/Adding_Admins_(SourceMod)&lt;br /&gt;
&lt;br /&gt;
Save, exit and start/restart your server and everything should be running fine. You can make sure of this by typing &amp;lt;code&amp;gt;meta version&amp;lt;/code&amp;gt; in your server console (or RCON). You should see a line like &amp;lt;code&amp;gt;&amp;quot;Loaded As: Valve Server Plugin.&amp;quot;&amp;lt;/code&amp;gt;. Additionally, if you assigned yourself as an administrator for the server, typing &amp;lt;code&amp;gt;!admin&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;/admin&amp;lt;code&amp;gt; in chat should bring up administrative menu on player hud. &amp;lt;code&amp;gt;sm_admin&amp;lt;/code&amp;gt; should additionally work when typed in to your client console window, and you can use &amp;lt;code&amp;gt;sm_rcon&amp;lt;/code&amp;gt; to use SourceMod to relay any console command to the server, if you set yourself up with &amp;lt;code&amp;gt;z&amp;lt;/code&amp;gt; flag. &lt;br /&gt;
&lt;br /&gt;
Further tweaking of SourceMod to suit your needs is outside scope of this guide. You can get familiar with SourceMod&#039;s other functions and configuration in their wiki: [https://wiki.alliedmods.net/Category:SourceMod_Documentation wiki.alliedmods.net/Category:SourceMod_Documentation]&lt;/div&gt;</summary>
		<author><name>Sumea</name></author>
	</entry>
	<entry>
		<id>https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1646</id>
		<title>Dedicated legacy Linux server extras</title>
		<link rel="alternate" type="text/html" href="https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1646"/>
		<updated>2022-11-15T17:56:04Z</updated>

		<summary type="html">&lt;p&gt;Sumea: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==TF2 Classic SourceMod+Metamod Setup==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;Note: This guide was adapted and revised from a guide written by Raizo, the original of which can be found here: https://iraizo.github.io/tf2-classic-sourcemod-setup/&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SourceMod+Metamod is powerful administrator tool for dedicated server owners and operators. SourceMod lets you add administrators easily based on SteamID, control and authenticate to the server securely and even add additional functionality to everyone on server like extended map voting functionality.&lt;br /&gt;
&lt;br /&gt;
SourceMod isn’t necessarily drag-and-drop like supported SM games are such as live TF2 and CS:Source due to this simply being a mod built off of Source SDK 2013 with things like a different game name (&amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;), offsets, signatures, etc.&lt;br /&gt;
&lt;br /&gt;
While the process of getting SM to work isn’t that hard, generic source server guides do not cover few unique factors that come with setting up fully working MM+SM for mods like TF2 Classic.&lt;br /&gt;
&lt;br /&gt;
=== Prerequisites ===&lt;br /&gt;
This guide assumes you already have a dedicated Linux server running that can run without issues, if not lacking in additional components. If not you should follow [[Dedicated Linux server|this guide]] to setup your server first.&lt;br /&gt;
&lt;br /&gt;
=== Getting SourceMod and MetaMod ===&lt;br /&gt;
Visit the Stable builds section of [https://www.sourcemod.net/downloads.php?branch=stable sourcemod.net] and grab the latest Linux build. Download it to your server using wget/curl or to your machine and upload it to your server using SFTP:&lt;br /&gt;
&lt;br /&gt;
If using Linux Server Terminal or SSH instead of SFTP, first navigate to your server tf2classic folder, following example location from [[Dedicated Linux server|Dedicated Server Setup Guide]], you want to navigate to &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt; first.&lt;br /&gt;
&lt;br /&gt;
Then you can run wget to download SourceMod archive to your current directory:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://sm.alliedmods.net/smdrop/1.11/sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated. You can check sourcemod downloads page for the newest version and copy URL of the newest build.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You’ll also need stable [https://www.sourcemm.net/downloads.php?branch=stable Metamod:Source]. Download it with one of the ways you did.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://mms.alliedmods.net/mmsdrop/1.11/mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can now extract both inside your tf2classic folder (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; tar -xf mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can delete the archive files after the extracted files are in correct place.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; rem mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is still few crucial steps before launching the server.&lt;br /&gt;
&lt;br /&gt;
=== Replacing &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; ===&lt;br /&gt;
&amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; is necessary for your server to recognize the game. Since this is a mod, we need to use a web tool to generate a metamod.vdf file for us that points to &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You should navigate to your &amp;lt;code&amp;gt;~/server/tf2classic/addons/&amp;lt;/code&amp;gt;, Following Dedicated Server Setup example, we should now navigate to: &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now delete &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;metamod_x64.vdf&amp;lt;/code&amp;gt; in this directory. No need to back up these or anything.&lt;br /&gt;
&lt;br /&gt;
Head over to [https://www.sourcemm.net/vdf sourcemm.net/vdf].&lt;br /&gt;
You’re going to leave the “Game:” blank, or as “—”. In the “Game Folder” box, enter &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you, at least currently, do not have SFTP available on your game server, you can alternatively do everything from Command Line/SSH connection.&lt;br /&gt;
&lt;br /&gt;
Make sure that you have navigated to your &amp;lt;code&amp;gt;../tf2classic/addons&amp;lt;/code&amp;gt; directory (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
First create a &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; file in this directory with following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; touch metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Followed by opening the file in your favorite command line editor, &amp;lt;code&amp;gt;nano&amp;lt;/code&amp;gt; in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; nano metamod.vdf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And type in the following:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;file&amp;quot;	&amp;quot;../tf2classic/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
before saving and exitting.&lt;br /&gt;
&lt;br /&gt;
===Importing custom gamedata===&lt;br /&gt;
To fix many functions of SourceMod when running under Team Fortress 2 Classic, we need to import custom gamedata.&lt;br /&gt;
&amp;lt;br&amp;gt;Move first to work under &amp;lt;code&amp;gt;../server/tf2classic/&amp;lt;/code&amp;gt; directory  (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;) &lt;br /&gt;
&lt;br /&gt;
If you are working with Ubuntu Server, you might have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt; program already installed. Try first the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; git clone &amp;lt;nowiki&amp;gt;https://github.com/Scags/TF2Classic-Tools.git&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not have &amp;lt;code&amp;gt;git&amp;lt;/code&amp;gt;, download this repo with wget directly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; &amp;lt;nowiki&amp;gt;wget https://github.com/Scags/TF2Classic-Tools/archive/master.zip&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then unzip it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; unzip master.zip&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; into the directory, being either &amp;lt;code&amp;gt;TF2Classic-Tools&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;TF2Classic-Tools-master&amp;lt;/code&amp;gt; depending on how you downloaded it.&lt;br /&gt;
&amp;lt;br&amp;gt;Run the following command to copy &amp;lt;code&amp;gt;sourcemod&amp;lt;/code&amp;gt; directory to your server&#039;s &amp;lt;code&amp;gt;addons&amp;lt;/code&amp;gt; folder:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$&amp;lt;/nowiki&amp;gt; cp -r sourcemod/ ../addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have the necessary gamedata for plugins and core SM and MM functions to work with TF2C.&lt;br /&gt;
&lt;br /&gt;
===Setting yourself as the “root” admin user.===&lt;br /&gt;
&lt;br /&gt;
To register yourself as an administrator on your server with SourceMod, we have to add people to &amp;lt;code&amp;gt;admins_simple.ini&amp;lt;/code&amp;gt; file.&lt;/div&gt;</summary>
		<author><name>Sumea</name></author>
	</entry>
	<entry>
		<id>https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1645</id>
		<title>Dedicated legacy Linux server extras</title>
		<link rel="alternate" type="text/html" href="https://wiki.tf2classified.com/w/index.php?title=Dedicated_legacy_Linux_server_extras&amp;diff=1645"/>
		<updated>2022-11-15T14:13:40Z</updated>

		<summary type="html">&lt;p&gt;Sumea: Created page with &amp;quot;&amp;#039;&amp;#039;Note: This page&amp;#039;s metamod+sourcemod installation guide was adapted and revised from a guide written by Raizo, the original of which can be found here: https://iraizo.github.io/tf2-classic-sourcemod-setup/&amp;#039;&amp;#039;  == Prerequisites == This guide assumes you already have a server running that can be connected and played on, albeit without any additional modifications. If not you should follow this guide to setup one. To reitorate: * A Linux server ru...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;Note: This page&#039;s metamod+sourcemod installation guide was adapted and revised from a guide written by Raizo, the original of which can be found here: https://iraizo.github.io/tf2-classic-sourcemod-setup/&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
This guide assumes you already have a server running that can be connected and played on, albeit without any additional modifications. If not you should follow [[Dedicated Linux server|this guide]] to setup one. To reitorate:&lt;br /&gt;
* A Linux server running Ubuntu Server&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; on an x86_64 CPU. You cannot easily run SRCDS on any other architecture besides an x86_64 CPU. Box64/Box86 may work for ARM processors (e.g. Raspberry Pis) but that&#039;s complex, and not covered here.&lt;br /&gt;
* A SFTP/SSH client (PuTTY, Termius, FileZilla, MobaXterm)&lt;br /&gt;
* At least 16GB of free storage for base TF2 Classic installation&amp;lt;small&amp;gt;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&amp;lt;/small&amp;gt;&lt;br /&gt;
* A minimum of a 10Mbps upload speed if you intend on hosting a server over the Internet. No need to worry for LAN servers.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt;This guide was written for and tested on Ubuntu Server 22.04 LTS, however any Debian-based distro should work similarly and fine using this guide. This page&#039;s editor&#039;s testing is based on Debian 11.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;More available space is required for custom content such as maps on your game server as well as HTTP/Fast Download server if you choose to use one.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== TF2 Classic SourceMod+Metamod Setup ==&lt;br /&gt;
So, as expected, SourceMod isn’t necessarily drag-and-drop like supported SM games are such as TF2 and CS:Source due to this simply being a mod built off of Source SDK 2013 with things like a different game name (&amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;), offsets, signatures, etc.&lt;br /&gt;
&lt;br /&gt;
While the process of getting SM to work isn’t that hard, generic source server guides do not cover few unique factors that come with setting up fully working MM+SM for mods like TF2 Classic.&lt;br /&gt;
&lt;br /&gt;
== Getting SourceMod and MetaMod ==&lt;br /&gt;
Visit the Stable builds section of [https://www.sourcemod.net/downloads.php?branch=stable sourcemod.net] and grab the latest Linux build. Download it to your server using wget/curl or to your machine and upload it to your server using SFTP:&lt;br /&gt;
&lt;br /&gt;
If using Linux Server Terminal or SSH instead of SFTP, first navigate to your server tf2classic folder, following example location from [[Dedicated Linux server|Dedicated Server Setup Guide]], you want to navigate to &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt; first.&lt;br /&gt;
&lt;br /&gt;
Then you can run wget&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://sm.alliedmods.net/smdrop/1.11/sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;lt;small&amp;gt;This link may be outdated. You can check sourcemod downloads page for the newest version and copy URL of the newest build.&amp;lt;/small&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You’ll also need stable [https://www.sourcemm.net/downloads.php?branch=stable Metamod:Source]. Download it with one of the ways you did.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;$ wget https://mms.alliedmods.net/mmsdrop/1.11/mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
you can now extract both inside your tf2classic folder (&amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tar -xf sourcemod-1.11.0-git6917-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;tar -xf mmsource-1.11.0-git1148-linux.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can delete the archive files after the extracted files are in correct place.&lt;br /&gt;
&lt;br /&gt;
There is still few crucial steps before launching the server.&lt;br /&gt;
&lt;br /&gt;
== Replacing &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; ==&lt;br /&gt;
&amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; is necessary for your server to recognize the game. Since this is a mod, we need to use a web tool to generate a metamod.vdf file for us that points to &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You should navigate to your &amp;lt;code&amp;gt;~/server/tf2classic/addons/&amp;lt;/code&amp;gt;, Following Dedicated Server Setup example, we should now navigate to: &amp;lt;code&amp;gt;/opt/tf2classic/server/tf2classic/addons/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now delete &amp;lt;code&amp;gt;metamod.vdf&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;metamod_x64.vdf&amp;lt;/code&amp;gt; in this directory. No need to back up these or anything.&lt;br /&gt;
&lt;br /&gt;
Head over to [https://www.sourcemm.net/vdf sourcemm.net/vdf].&lt;br /&gt;
You’re going to leave the “Game:” blank, or as “—”. In the “Game Folder” box, enter &amp;lt;code&amp;gt;tf2classic&amp;lt;/code&amp;gt;. It should look exactly like this.&lt;/div&gt;</summary>
		<author><name>Sumea</name></author>
	</entry>
</feed>