<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://wiki.metrostroi.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SpaceCheese</id>
	<title>Metrostroi - Вклад участника [ru]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.metrostroi.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=SpaceCheese"/>
	<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/wiki/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%92%D0%BA%D0%BB%D0%B0%D0%B4/SpaceCheese"/>
	<updated>2026-05-13T18:37:48Z</updated>
	<subtitle>Вклад участника</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Client_configuration&amp;diff=1891</id>
		<title>Client configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Client_configuration&amp;diff=1891"/>
		<updated>2019-08-05T19:48:46Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_клиента&lt;br /&gt;
| en = Client_configuration&lt;br /&gt;
}}&lt;br /&gt;
{{important|Due to a bug in the Garry's Mod sound engine you may need to manually unpack Content Pack 6 into your addons folder and unsubscribe from this addon to avoid crashes.}}&lt;br /&gt;
= Playing in Singleplayer =&lt;br /&gt;
It is highly recommended that you create a dedicated server on your local network even when just playing by yourself (it will be visible in the LAN tab in the Garrys mod server list). There is a separate guide for installing and configuring a dedicated server [https://wiki.metrostroi.net/wiki/Server_configuration here].&amp;lt;br&amp;gt;&lt;br /&gt;
== Legacy Content ==&lt;br /&gt;
For a dedicated server you '''DO NOT NEED''' to download the content from the Github repository anymore, it is highly recommended that you delete the Github Content if you still have it. If you did not know about the Metrostroi Github (you installed Metrostroi after the August 2, 2017 Update) then ignore about this paragraph. '''Old addons like the 81-717.6, Ema cargo or Drivable Trams - MUST BE unsubscribed from or deleted.'''&lt;br /&gt;
== Performance ==&lt;br /&gt;
To get the best possible performance make use that you are using the latest versions of Garry's Mod, Metrostroi and any Metrostroi maps.&lt;br /&gt;
In the &amp;quot;Advanced&amp;quot; section of you Garry's Mod video settings please also ensure the following:&lt;br /&gt;
* &amp;quot;'''Model detail'''&amp;quot; and &amp;quot;'''Texture detail'''&amp;quot; are set to &amp;quot;'''High'''&amp;quot; (Solves the problem of invisible doors, bodies and bogeys).&lt;br /&gt;
* &amp;quot;'''Antialiasing mode'''&amp;quot; is set to anything other than &amp;quot;'''None'''&amp;quot; (Solves the problem with the transparency of some elements including windows).&lt;br /&gt;
* &amp;quot;'''Shadow detail'''&amp;quot; is set to &amp;quot;'''High'''&amp;quot; (Solves the problem with lights from backlighting).&lt;br /&gt;
&lt;br /&gt;
''Reducing the video settings in the game will not improve game performance, because of the Source Engine!!''&lt;br /&gt;
&lt;br /&gt;
{{important|If 81-722 and ASNP displays don't work properly try to '''disable''' the Discord game overlay (if installed)}}&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Client_configuration&amp;diff=1890</id>
		<title>Client configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Client_configuration&amp;diff=1890"/>
		<updated>2019-08-05T19:48:19Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_клиента&lt;br /&gt;
| en = Client_configuration&lt;br /&gt;
}}&lt;br /&gt;
{{important|Due to a bug in the sound Garry's Mod sound engine you may need to manually unpack Content Pack 6 into your addons folder and unsubscribe from this addon to avoid crashes.}}&lt;br /&gt;
= Playing in Singleplayer =&lt;br /&gt;
It is highly recommended that you create a dedicated server on your local network even when just playing by yourself (it will be visible in the LAN tab in the Garrys mod server list). There is a separate guide for installing and configuring a dedicated server [https://wiki.metrostroi.net/wiki/Server_configuration here].&amp;lt;br&amp;gt;&lt;br /&gt;
== Legacy Content ==&lt;br /&gt;
For a dedicated server you '''DO NOT NEED''' to download the content from the Github repository anymore, it is highly recommended that you delete the Github Content if you still have it. If you did not know about the Metrostroi Github (you installed Metrostroi after the August 2, 2017 Update) then ignore about this paragraph. '''Old addons like the 81-717.6, Ema cargo or Drivable Trams - MUST BE unsubscribed from or deleted.'''&lt;br /&gt;
== Performance ==&lt;br /&gt;
To get the best possible performance make use that you are using the latest versions of Garry's Mod, Metrostroi and any Metrostroi maps.&lt;br /&gt;
In the &amp;quot;Advanced&amp;quot; section of you Garry's Mod video settings please also ensure the following:&lt;br /&gt;
* &amp;quot;'''Model detail'''&amp;quot; and &amp;quot;'''Texture detail'''&amp;quot; are set to &amp;quot;'''High'''&amp;quot; (Solves the problem of invisible doors, bodies and bogeys).&lt;br /&gt;
* &amp;quot;'''Antialiasing mode'''&amp;quot; is set to anything other than &amp;quot;'''None'''&amp;quot; (Solves the problem with the transparency of some elements including windows).&lt;br /&gt;
* &amp;quot;'''Shadow detail'''&amp;quot; is set to &amp;quot;'''High'''&amp;quot; (Solves the problem with lights from backlighting).&lt;br /&gt;
&lt;br /&gt;
''Reducing the video settings in the game will not improve game performance, because of the Source Engine!!''&lt;br /&gt;
&lt;br /&gt;
{{important|If 81-722 and ASNP displays don't work properly try to '''disable''' the Discord game overlay (if installed)}}&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Client_configuration&amp;diff=1889</id>
		<title>Client configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Client_configuration&amp;diff=1889"/>
		<updated>2019-08-05T19:42:40Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Performance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_клиента&lt;br /&gt;
| en = Client_configuration&lt;br /&gt;
}}&lt;br /&gt;
= Playing in Singleplayer =&lt;br /&gt;
It is highly recommended that you create a dedicated server on your local network even when just playing by yourself (it will be visible in the LAN tab in the Garrys mod server list). There is a separate guide for installing and configuring a dedicated server [https://wiki.metrostroi.net/wiki/Server_configuration here].&amp;lt;br&amp;gt;&lt;br /&gt;
== Legacy Content ==&lt;br /&gt;
For a dedicated server you '''DO NOT NEED''' to download the content from the Github repository anymore, it is highly recommended that you delete the Github Content if you still have it. If you did not know about the Metrostroi Github (you installed Metrostroi after the August 2, 2017 Update) then ignore about this paragraph. '''Old addons like the 81-717.6, Ema cargo or Drivable Trams - MUST BE unsubscribed from or deleted.'''&lt;br /&gt;
== Performance ==&lt;br /&gt;
To get the best possible performance make use that you are using the latest versions of Garry's Mod, Metrostroi and any Metrostroi maps.&lt;br /&gt;
In the &amp;quot;Advanced&amp;quot; section of you Garry's Mod video settings please also ensure the following:&lt;br /&gt;
* &amp;quot;'''Model detail'''&amp;quot; and &amp;quot;'''Texture detail'''&amp;quot; are set to &amp;quot;'''High'''&amp;quot; (Solves the problem of invisible doors, bodies and bogeys).&lt;br /&gt;
* &amp;quot;'''Antialiasing mode'''&amp;quot; is set to anything other than &amp;quot;'''None'''&amp;quot; (Solves the problem with the transparency of some elements including windows).&lt;br /&gt;
* &amp;quot;'''Shadow detail'''&amp;quot; is set to &amp;quot;'''High'''&amp;quot; (Solves the problem with lights from backlighting).&lt;br /&gt;
&lt;br /&gt;
''Reducing the video settings in the game will not improve game performance, because of the Source Engine!!''&lt;br /&gt;
&lt;br /&gt;
{{important|If 81-722 and ASNP displays don't work properly try to '''disable''' the Discord game overlay (if installed)}}&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1888</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1888"/>
		<updated>2019-08-05T19:38:03Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Important|Turbostroi is only supported on Windows. Servers hosted on other platforms will perform poorly.}}&lt;br /&gt;
[http://wiki.garrysmod.com/page/Downloading_a_Dedicated_Server Main article from Garry's Mod Wiki]&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
Dedicated servers are now downloaded using SteamCMD. This is a command line version of Steam.&lt;br /&gt;
&lt;br /&gt;
You can download it [https://developer.valvesoftware.com/wiki/SteamCMD from this page].&lt;br /&gt;
&lt;br /&gt;
The first time you run it it will update and you will be left at a STEAM&amp;gt; console. You will want to log in. You can log into an anonymous account by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;login anonymous&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Installing &amp;amp; Updating Garry's Mod Dedicated Server =&lt;br /&gt;
If you want to specify a download folder then before you update enter this command:&lt;br /&gt;
{| class=&amp;quot;ambox-notice&amp;quot;&lt;br /&gt;
| {{ambox/message&lt;br /&gt;
| 2 = This is known to cause problems when updating your server to a newer version. If your server fails to update, try not using the force_install_dir feature, or try reinstalling your server into another folder&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;force_install_dir c:\my_garrysmod_server\&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can then install or update the Garry's Mod Dedicated Server by using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt;app_update 4020&amp;lt;/pre&amp;gt;&lt;br /&gt;
It will slowly download or update.&lt;br /&gt;
&lt;br /&gt;
If you wish to verify your server, enter this instead of the above:&lt;br /&gt;
&amp;lt;pre&amp;gt;app_update 4020 -validate&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once it's done you can type quit at the console to exit or just close the SteamCMD window.&lt;br /&gt;
&lt;br /&gt;
Automated&lt;br /&gt;
You probably don't want to do that every time you want to install/update a server. Don't worry - it supports command lines too.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;steamcmd.exe +login anonymous +app_update 4020 validate +quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Installing The Addons =&lt;br /&gt;
Dedicated servers can install addons straight from workshop collections, but it requires an addition to the startup parameter. The server will download the collection at startup.&lt;br /&gt;
&lt;br /&gt;
First of all create a collection and find your collection ID. Do note that your collection needs to be public, else, srcds won't be able to access it!&lt;br /&gt;
Or for the first time you can use default [https://steamcommunity.com/sharedfiles/filedetails/?id=1660685783 Metrostroi collection].&lt;br /&gt;
&lt;br /&gt;
== Applying the command-line parameter ==&lt;br /&gt;
Append the following parameter to the server startup command-line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;+host_workshop_collection WORKSHOPID&amp;lt;/pre&amp;gt;&lt;br /&gt;
An example could be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;+host_workshop_collection 1660685783&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Example ==&lt;br /&gt;
The example below starts a dedicated server with 10 player slots and 33 tickrate. It downloads or updates all of the addons in [https://steamcommunity.com/sharedfiles/filedetails/?id=1660685783 collection 1660685783] and loads one of the maps. This collection includes basic Metrostroi server addons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;srcds.exe -console -tickrate 33 +maxplayers 10 +host_workshop_collection 1660685783 +map gm_metrostroi_b50&amp;lt;/pre&amp;gt;&lt;br /&gt;
Every time you restart your server it will check that these addons are all up to date.&lt;br /&gt;
&lt;br /&gt;
{{important|Metrostroi should be run at a tickrate of '''33'''. Other tickrates may cause the mod to be unstable!}}&lt;br /&gt;
&lt;br /&gt;
= Turbostroi =&lt;br /&gt;
Turbostroi lets the server use multithreading for the Metrostroi trains calculations and increase perfomance as result.&lt;br /&gt;
&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [https://metrostroi.net/turbostroi here]. Put it into &amp;quot;garrysmod/lua/bin&amp;quot;, create a &amp;quot;bin&amp;quot; folder if it's not present.&lt;br /&gt;
&lt;br /&gt;
{{Important|Turbostroi is only supported on Windows. Servers hosted on other platforms will perform poorly.}}&lt;br /&gt;
== Turbostroi Convars ==&lt;br /&gt;
You can set what threads Turbostroi should use to get even better perfomance.&lt;br /&gt;
&lt;br /&gt;
'''turbostroi_main_cores''': SRCDS thread. Turbostroi changes the SRCDS thread to the specified.&lt;br /&gt;
&lt;br /&gt;
'''turbostroi_train_cores''': Train threads.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;ambox-notice&amp;quot;&lt;br /&gt;
| {{ambox/message&lt;br /&gt;
| 2 = The value for each of these convars must be a binary, or bitwise value.&lt;br /&gt;
It also recommended to '''disable''' the &amp;quot;Hyper-threading&amp;quot; if possible.&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Best config for 4 core CPU: ===&lt;br /&gt;
''It will use all threads/cores except the last one for trains, and the last for main''&lt;br /&gt;
* With '''enabled''' &amp;quot;Hyper-threading&amp;quot;:&lt;br /&gt;
** turbostroi_main_cores 128&lt;br /&gt;
** turbostroi_train_cores 127&lt;br /&gt;
* With '''disabled''' &amp;quot;Hyper-threading&amp;quot;:&lt;br /&gt;
** turbostroi_main_cores 8&lt;br /&gt;
** turbostroi_train_cores 7&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1887</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1887"/>
		<updated>2019-08-05T19:37:34Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Important|Turbostroi is only supported on Windows. Servers hosted on other platforms will perform poorly.}}&lt;br /&gt;
[http://wiki.garrysmod.com/page/Downloading_a_Dedicated_Server Main article from Garry's Mod Wiki]&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
Dedicated servers are now downloaded using SteamCMD. This is a command line version of Steam.&lt;br /&gt;
&lt;br /&gt;
You can download it [https://developer.valvesoftware.com/wiki/SteamCMD from this page].&lt;br /&gt;
&lt;br /&gt;
The first time you run it it will update and you will be left at a STEAM&amp;gt; console. You will want to log in. You can log into an anonymous account by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;login anonymous&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Installing &amp;amp; Updating Garry's Mod Dedicated Server =&lt;br /&gt;
If you want to specify a download folder then before you update enter this command:&lt;br /&gt;
{| class=&amp;quot;ambox-notice&amp;quot;&lt;br /&gt;
| {{ambox/message&lt;br /&gt;
| 2 = This is known to cause problems when updating your server to a newer version. If your server fails to update, try not using the force_install_dir feature, or try reinstalling your server into another folder&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;force_install_dir c:\my_garrysmod_server\&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can then install or update the Garry's Mod Dedicated Server by using the command:&lt;br /&gt;
&amp;lt;pre&amp;gt;app_update 4020&amp;lt;/pre&amp;gt;&lt;br /&gt;
It will slowly download or update.&lt;br /&gt;
&lt;br /&gt;
If you wish to verify your server, enter this instead of the above:&lt;br /&gt;
&amp;lt;pre&amp;gt;app_update 4020 -validate&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once it's done you can type quit at the console to exit or just close the SteamCMD window.&lt;br /&gt;
&lt;br /&gt;
Automated&lt;br /&gt;
You probably don't want to do that every time you want to install/update a server. Don't worry - it supports command lines too.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;steamcmd.exe +login anonymous +app_update 4020 validate +quit&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Installing The Addons =&lt;br /&gt;
Dedicated servers can install addons straight from workshop collections, but it requires an addition to the startup parameter. The server will download the collection at startup.&lt;br /&gt;
&lt;br /&gt;
First of all create a collection and find your collection ID. Do note that your collection needs to be public, else, srcds won't be able to access it!&lt;br /&gt;
Or for the first time you can use default [https://steamcommunity.com/sharedfiles/filedetails/?id=1660685783 Metrostroi collection].&lt;br /&gt;
&lt;br /&gt;
== Applying the command-line parameter ==&lt;br /&gt;
Append the following parameter to the server startup command-line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;+host_workshop_collection WORKSHOPID&amp;lt;/pre&amp;gt;&lt;br /&gt;
An example could be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;+host_workshop_collection 1660685783&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Example ==&lt;br /&gt;
The example below starts a dedicated server with 10 player slots and 33 tickrate. It downloads or updates all of the addons in collection [https://steamcommunity.com/sharedfiles/filedetails/?id=1660685783 1660685783] and loads one of the maps. This collection includes basic Metrostroi server addons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;srcds.exe -console -tickrate 33 +maxplayers 10 +host_workshop_collection 1660685783 +map gm_metrostroi_b50&amp;lt;/pre&amp;gt;&lt;br /&gt;
Every time you restart your server it will check that these addons are all up to date.&lt;br /&gt;
&lt;br /&gt;
{{important|Metrostroi should be run at a tickrate of '''33'''. Other tickrates may cause the mod to be unstable!}}&lt;br /&gt;
&lt;br /&gt;
= Turbostroi =&lt;br /&gt;
Turbostroi lets the server use multithreading for the Metrostroi trains calculations and increase perfomance as result.&lt;br /&gt;
&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [https://metrostroi.net/turbostroi here]. Put it into &amp;quot;garrysmod/lua/bin&amp;quot;, create a &amp;quot;bin&amp;quot; folder if it's not present.&lt;br /&gt;
&lt;br /&gt;
{{Important|Turbostroi is only supported on Windows. Servers hosted on other platforms will perform poorly.}}&lt;br /&gt;
== Turbostroi Convars ==&lt;br /&gt;
You can set what threads Turbostroi should use to get even better perfomance.&lt;br /&gt;
&lt;br /&gt;
'''turbostroi_main_cores''': SRCDS thread. Turbostroi changes the SRCDS thread to the specified.&lt;br /&gt;
&lt;br /&gt;
'''turbostroi_train_cores''': Train threads.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;ambox-notice&amp;quot;&lt;br /&gt;
| {{ambox/message&lt;br /&gt;
| 2 = The value for each of these convars must be a binary, or bitwise value.&lt;br /&gt;
It also recommended to '''disable''' the &amp;quot;Hyper-threading&amp;quot; if possible.&lt;br /&gt;
}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Best config for 4 core CPU: ===&lt;br /&gt;
''It will use all threads/cores except the last one for trains, and the last for main''&lt;br /&gt;
* With '''enabled''' &amp;quot;Hyper-threading&amp;quot;:&lt;br /&gt;
** turbostroi_main_cores 128&lt;br /&gt;
** turbostroi_train_cores 127&lt;br /&gt;
* With '''disabled''' &amp;quot;Hyper-threading&amp;quot;:&lt;br /&gt;
** turbostroi_main_cores 8&lt;br /&gt;
** turbostroi_train_cores 7&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1827</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1827"/>
		<updated>2019-05-25T15:27:51Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Turbostroi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Important|Turbostroi is only supported on Windows. Servers hosted on other platforms will perform poorly.}}&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
&lt;br /&gt;
= Turbostroi =&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [http://metrostroi.net/turbostroi here]. Without it, your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; file into your &amp;quot;garrysmod\lua\bin&amp;quot; directory. Make sure to do this for your game client as well if you haven't already.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Turbostroi Convars ==&lt;br /&gt;
Turbostroi offers even better performance when configured correctly. It offers 2 primary convars available to change:&lt;br /&gt;
&lt;br /&gt;
'''turbostroi_main_cores''': SRCDS thread allocation. Turbostroi changes the SRCDS thread to the specified thread.&lt;br /&gt;
&lt;br /&gt;
'''turbostroi_train_cores''': Train thread allocation. Most, if not all, Metrostroi systems will register in Turbostroi and will receive the benefit of multithreading. This is the main benefit of Turbostroi being installed.&lt;br /&gt;
&lt;br /&gt;
The value for each of these convars is converted into a binary, or bitwise, value. A simple process is described below.&lt;br /&gt;
&lt;br /&gt;
#First, figure out how many cores your processor has. We will assume our processor has '''4''' cores.&lt;br /&gt;
#Represent each core with a binary digit. Our processor will be represented as such: 0000&lt;br /&gt;
#Which cores do you want dedicated to train threads? I will use the first 3 cores, which means I &amp;quot;turn them on&amp;quot; and represent them as follows: 1110&lt;br /&gt;
#Any remaining core(s) may be used for the SRCDS thread. This will be represented as 0001&lt;br /&gt;
#Now, you must convert those bitwise values into decimal values. It is recommended to use the built-in Windows calculator in the &amp;quot;Programmer&amp;quot; mode. When doing this, you may enter the bitwise values by clicking on &amp;quot;BIN&amp;quot; and type in the bitwise values for each convar. For example, I will type in 1110, which results in the decimal value 14. I will then type in 0001, which results in the decimal value 1.&lt;br /&gt;
#Next, take your decimal values and input them into the console for your desired convar. I wanted to use the first 3 cores for trains, so I will type in the console &amp;quot;turbostroi_train_cores 14&amp;quot;. The same procedure follows with the other convar.&lt;br /&gt;
&lt;br /&gt;
After this is all done, you should restart the server. If Turbostroi starts outputting a bunch of errors about affinity and whatnot, you have configured the convars incorrectly.&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Server =&lt;br /&gt;
You should be able to connect to your server using the &amp;quot;LAN&amp;quot; tab in your Garry's Mod server browser or by using the &amp;quot;LAN&amp;quot; tab in the steam &amp;quot;Servers&amp;quot; window. If you use any form of firewall or your router has a built in firewall other players probably won't be able to connect to your server. To solve this you need to tell your firewall to allow certain network traffic though to your game server. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Do not complete the following steps unless you know what you are doing- adding firewall exceptions can make your computer and network less secure.'''&amp;lt;br&amp;gt;&lt;br /&gt;
The exact process of adding &amp;quot;exceptions&amp;quot; to your networks firewalls depends heavily on what hardware/ software you are using. You are probably best looking up a guide of how to &amp;quot;Port Forward&amp;quot; on your specific router and how to add firewall exceptions to your antivirus. By default Garry's Mod will use the ports 27005 and 27015 (UDP and TCP) however if you choose to run more than one server at the same time you will need to unblock two ports for each server (eg 27006 and 27016)&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
A more extensive list of console commands [[Console_Commands|here]].&lt;br /&gt;
&lt;br /&gt;
== ULX ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== WUMA ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=1117436840 WUMA] allows server administrators to restrict entities and loadouts to particular usergroups or players.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1595</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1595"/>
		<updated>2019-01-12T14:54:43Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Important|Turbostroi is only supported on Windows. Servers hosted on other platforms will perform poorly.}}&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
&lt;br /&gt;
= Turbostroi =&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [http://metrostroi.net/turbostroi here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs. Make sure to do this for your game client as well if you haven't already.&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Server =&lt;br /&gt;
You should be able to connect to your server using the &amp;quot;LAN&amp;quot; tab in your Garry's Mod server browser or by using the &amp;quot;LAN&amp;quot; tab in the steam &amp;quot;Servers&amp;quot; window. If you use any form of firewall or your router has a built in firewall other players probably won't be able to connect to your server. To solve this you need to tell your firewall to allow certain network traffic though to your game server. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Do not complete the following steps unless you know what you are doing- adding firewall exceptions can make your computer and network less secure.'''&amp;lt;br&amp;gt;&lt;br /&gt;
The exact process of adding &amp;quot;exceptions&amp;quot; to your networks firewalls depends heavily on what hardware/ software you are using. You are probably best looking up a guide of how to &amp;quot;Port Forward&amp;quot; on your specific router and how to add firewall exceptions to your antivirus. By default Garry's Mod will use the ports 27005 and 27015 (UDP and TCP) however if you choose to run more than one server at the same time you will need to unblock two ports for each server (eg 27006 and 27016)&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
A more extensive list of console commands [[Console_Commands|here]].&lt;br /&gt;
&lt;br /&gt;
== ULX ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== WUMA ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=1117436840 WUMA] allows server administrators to restrict entities and loadouts to particular usergroups or players.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1594</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1594"/>
		<updated>2019-01-12T13:32:21Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''Turbostroi is only supported on Windows. Servers hosted on other platforms will perform poorly.'''&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
&lt;br /&gt;
= Turbostroi =&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [http://metrostroi.net/turbostroi here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs. Make sure to do this for your game client as well if you haven't already.&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Server =&lt;br /&gt;
You should be able to connect to your server using the &amp;quot;LAN&amp;quot; tab in your Garry's Mod server browser or by using the &amp;quot;LAN&amp;quot; tab in the steam &amp;quot;Servers&amp;quot; window. If you use any form of firewall or your router has a built in firewall other players probably won't be able to connect to your server. To solve this you need to tell your firewall to allow certain network traffic though to your game server. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Do not complete the following steps unless you know what you are doing- adding firewall exceptions can make your computer and network less secure.'''&amp;lt;br&amp;gt;&lt;br /&gt;
The exact process of adding &amp;quot;exceptions&amp;quot; to your networks firewalls depends heavily on what hardware/ software you are using. You are probably best looking up a guide of how to &amp;quot;Port Forward&amp;quot; on your specific router and how to add firewall exceptions to your antivirus. By default Garry's Mod will use the ports 27005 and 27015 (UDP and TCP) however if you choose to run more than one server at the same time you will need to unblock two ports for each server (eg 27006 and 27016)&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
A more extensive list of console commands [[Console_Commands|here]].&lt;br /&gt;
&lt;br /&gt;
== ULX ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== WUMA ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=1117436840 WUMA] allows server administrators to restrict entities and loadouts to particular usergroups or players.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1593</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1593"/>
		<updated>2019-01-12T13:31:06Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''Turbostroi is only supported on Windows. Servers hosted on other platforms will perform poorly.'''&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Server =&lt;br /&gt;
You should be able to connect to your server using the &amp;quot;LAN&amp;quot; tab in your Garry's Mod server browser or by using the &amp;quot;LAN&amp;quot; tab in the steam &amp;quot;Servers&amp;quot; window. If you use any form of firewall or your router has a built in firewall other players probably won't be able to connect to your server. To solve this you need to tell your firewall to allow certain network traffic though to your game server. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Do not complete the following steps unless you know what you are doing- adding firewall exceptions can make your computer and network less secure.'''&amp;lt;br&amp;gt;&lt;br /&gt;
The exact process of adding &amp;quot;exceptions&amp;quot; to your networks firewalls depends heavily on what hardware/ software you are using. You are probably best looking up a guide of how to &amp;quot;Port Forward&amp;quot; on your specific router and how to add firewall exceptions to your antivirus. By default Garry's Mod will use the ports 27005 and 27015 (UDP and TCP) however if you choose to run more than one server at the same time you will need to unblock two ports for each server (eg 27006 and 27016)&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
A more extensive list of console commands [[Console_Commands|here]].&lt;br /&gt;
&lt;br /&gt;
== ULX ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== WUMA ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=1117436840 WUMA] allows server administrators to restrict entities and loadouts to particular usergroups or players.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [http://metrostroi.net/turbostroi here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1592</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1592"/>
		<updated>2019-01-12T13:25:37Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Turbostroi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Server =&lt;br /&gt;
You should be able to connect to your server using the &amp;quot;LAN&amp;quot; tab in your Garry's Mod server browser or by using the &amp;quot;LAN&amp;quot; tab in the steam &amp;quot;Servers&amp;quot; window. If you use any form of firewall or your router has a built in firewall other players probably won't be able to connect to your server. To solve this you need to tell your firewall to allow certain network traffic though to your game server. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Do not complete the following steps unless you know what you are doing- adding firewall exceptions can make your computer and network less secure.'''&amp;lt;br&amp;gt;&lt;br /&gt;
The exact process of adding &amp;quot;exceptions&amp;quot; to your networks firewalls depends heavily on what hardware/ software you are using. You are probably best looking up a guide of how to &amp;quot;Port Forward&amp;quot; on your specific router and how to add firewall exceptions to your antivirus. By default Garry's Mod will use the ports 27005 and 27015 (UDP and TCP) however if you choose to run more than one server at the same time you will need to unblock two ports for each server (eg 27006 and 27016)&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
A more extensive list of console commands [[Console_Commands|here]].&lt;br /&gt;
&lt;br /&gt;
== ULX ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== WUMA ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=1117436840 WUMA] allows server administrators to restrict entities and loadouts to particular usergroups or players.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the Windows &amp;quot;Turbostroi&amp;quot; binary from [http://metrostroi.net/turbostroi here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs. Additionally you should make sure turbostroi is installed on your client.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Train_spawning&amp;diff=1077</id>
		<title>Train spawning</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Train_spawning&amp;diff=1077"/>
		<updated>2018-01-10T13:39:12Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: Added some links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title = &lt;br /&gt;
| ru = Спавн_состава&lt;br /&gt;
| en = Train_spawning&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=Spawning a train=&lt;br /&gt;
When you joined on metrostroi servers, when properly installed mod, appear tabs in Entity, Weapons, etc. menu.&lt;br /&gt;
&lt;br /&gt;
'''There are 2 ways to spawn a train:'''&lt;br /&gt;
&lt;br /&gt;
* [[#Spawn using Train Spawner|Using the Spawner]]&lt;br /&gt;
* [[#Spawn using Entity menu|Using the Entity Menu]]&lt;br /&gt;
&lt;br /&gt;
===Spawn using Train Spawner===&lt;br /&gt;
Click on Train Spawner:&lt;br /&gt;
&lt;br /&gt;
[[File:guide1.png]]&lt;br /&gt;
&lt;br /&gt;
Train Spawner have some options for train setting like you want: skins, ARS type...&lt;br /&gt;
&lt;br /&gt;
[[File:guide3.png]]&lt;br /&gt;
&lt;br /&gt;
Select options:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Options&lt;br /&gt;
|-&lt;br /&gt;
|Train	&lt;br /&gt;
|Train type&lt;br /&gt;
|-&lt;br /&gt;
|Wagons	&lt;br /&gt;
|Wagon number in train&lt;br /&gt;
|-&lt;br /&gt;
|Texture	&lt;br /&gt;
|Skin&lt;br /&gt;
|-&lt;br /&gt;
|Passenger Texture	&lt;br /&gt;
|Salon skin&lt;br /&gt;
|-&lt;br /&gt;
|Cabin Texture	&lt;br /&gt;
|Pult skin&lt;br /&gt;
|-&lt;br /&gt;
|Adverts	&lt;br /&gt;
|Adverts types in salon&lt;br /&gt;
|-&lt;br /&gt;
|Cran Type	&lt;br /&gt;
|[[File:guide4.png]]&lt;br /&gt;
|-&lt;br /&gt;
|Train line pressure 	&lt;br /&gt;
|Pressure in train line&lt;br /&gt;
|-&lt;br /&gt;
|Autodrive panels	&lt;br /&gt;
|[[File:guide5.png|400px]]&lt;br /&gt;
|-&lt;br /&gt;
|ARS type [http://wiki.nashtransport.ru/wiki/%D0%90%D0%A0%D0%A1 АРС]	&lt;br /&gt;
|[[File:guide6.png|400px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Spawn using Entity menu===&lt;br /&gt;
&lt;br /&gt;
[[File:guide2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Категория:Driving]]&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1076</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1076"/>
		<updated>2018-01-10T13:38:29Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Server.cfg */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Server =&lt;br /&gt;
You should be able to connect to your server using the &amp;quot;LAN&amp;quot; tab in your Garry's Mod server browser or by using the &amp;quot;LAN&amp;quot; tab in the steam &amp;quot;Servers&amp;quot; window. If you use any form of firewall or your router has a built in firewall other players probably won't be able to connect to your server. To solve this you need to tell your firewall to allow certain network traffic though to your game server. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Do not complete the following steps unless you know what you are doing- adding firewall exceptions can make your computer and network less secure.'''&amp;lt;br&amp;gt;&lt;br /&gt;
The exact process of adding &amp;quot;exceptions&amp;quot; to your networks firewalls depends heavily on what hardware/ software you are using. You are probably best looking up a guide of how to &amp;quot;Port Forward&amp;quot; on your specific router and how to add firewall exceptions to your antivirus. By default Garry's Mod will use the ports 27005 and 27015 (UDP and TCP) however if you choose to run more than one server at the same time you will need to unblock two ports for each server (eg 27006 and 27016)&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
A more extensive list of console commands [[Console_Commands|here]].&lt;br /&gt;
&lt;br /&gt;
== ULX ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== WUMA ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=1117436840 WUMA] allows server administrators to restrict entities and loadouts to particular usergroups or players.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [https://wiki.metrostroi.net/turbostroi.zip here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1075</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1075"/>
		<updated>2018-01-10T13:30:44Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: Added a section about WUMA to the Tips section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Server =&lt;br /&gt;
You should be able to connect to your server using the &amp;quot;LAN&amp;quot; tab in your Garry's Mod server browser or by using the &amp;quot;LAN&amp;quot; tab in the steam &amp;quot;Servers&amp;quot; window. If you use any form of firewall or your router has a built in firewall other players probably won't be able to connect to your server. To solve this you need to tell your firewall to allow certain network traffic though to your game server. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Do not complete the following steps unless you know what you are doing- adding firewall exceptions can make your computer and network less secure.'''&amp;lt;br&amp;gt;&lt;br /&gt;
The exact process of adding &amp;quot;exceptions&amp;quot; to your networks firewalls depends heavily on what hardware/ software you are using. You are probably best looking up a guide of how to &amp;quot;Port Forward&amp;quot; on your specific router and how to add firewall exceptions to your antivirus. By default Garry's Mod will use the ports 27005 and 27015 (UDP and TCP) however if you choose to run more than one server at the same time you will need to unblock two ports for each server (eg 27006 and 27016)&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
A more extensive list of console commands [https://wiki.metrostroi.net/wiki/Console_Commands here].&lt;br /&gt;
&lt;br /&gt;
== ULX ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== WUMA ==&lt;br /&gt;
[http://steamcommunity.com/sharedfiles/filedetails/?id=1117436840 WUMA] allows server administrators to restrict entities and loadouts to particular usergroups or players.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [https://wiki.metrostroi.net/turbostroi.zip here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Client_configuration&amp;diff=1074</id>
		<title>Client configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Client_configuration&amp;diff=1074"/>
		<updated>2018-01-10T13:08:25Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: Reformatted and clarified the video settings section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_клиента&lt;br /&gt;
| en = Client_configuration&lt;br /&gt;
}}&lt;br /&gt;
= Playing in Singleplayer =&lt;br /&gt;
It is highly recommended that you create a dedicated server on your local network even when just playing by yourself (it will be visible in the LAN tab in the Garrys mod server list). There is a separate guide for installing and configuring a dedicated server [https://wiki.metrostroi.net/wiki/Server_configuration here].&amp;lt;br&amp;gt;&lt;br /&gt;
== Legacy Content ==&lt;br /&gt;
For a dedicated server you '''DO NOT NEED''' to download the content from the Github repository anymore, it is highly recommended that you delete the Github Content if you still have it. If you did not know about the Metrostroi Github (you installed Metrostroi after the August 2, 2017 Update) then ignore about this paragraph. '''Old addons like the 81-717.6, Ema cargo or Drivable Trams - MUST BE unsubscribed from or deleted.'''&lt;br /&gt;
== Performance ==&lt;br /&gt;
To get the best possible performance make use that you are using the latest versions of Garry's Mod, Metrostroi and any Metrostroi maps.&lt;br /&gt;
In the &amp;quot;Advanced&amp;quot; section of you Garry's Mod video settings please also ensure the following:&lt;br /&gt;
* &amp;quot;'''Model detail'''&amp;quot; and &amp;quot;'''Texture detail'''&amp;quot; are set to &amp;quot;'''High'''&amp;quot; (Solves the problem of invisible doors, bodies and bogeys).&lt;br /&gt;
* &amp;quot;'''Antialiasing mode'''&amp;quot; is set to anything other than &amp;quot;'''None'''&amp;quot; (Solves the problem with the transparency of some elements including windows).&lt;br /&gt;
* &amp;quot;'''Shadow detail'''&amp;quot; is set to &amp;quot;'''High'''&amp;quot; (Solves the problem with lights from backlighting).&lt;br /&gt;
&lt;br /&gt;
''Reducing the video settings in the game will not improve game performance, because of the Source Engine!!''&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1044</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1044"/>
		<updated>2017-11-30T11:49:34Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Server.cfg */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Server =&lt;br /&gt;
You should be able to connect to your server using the &amp;quot;LAN&amp;quot; tab in your Garry's Mod server browser or by using the &amp;quot;LAN&amp;quot; tab in the steam &amp;quot;Servers&amp;quot; window. If you use any form of firewall or your router has a built in firewall other players probably won't be able to connect to your server. To solve this you need to tell your firewall to allow certain network traffic though to your game server. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Do not complete the following steps unless you know what you are doing- adding firewall exceptions can make your computer and network less secure.'''&amp;lt;br&amp;gt;&lt;br /&gt;
The exact process of adding &amp;quot;exceptions&amp;quot; to your networks firewalls depends heavily on what hardware/ software you are using. You are probably best looking up a guide of how to &amp;quot;Port Forward&amp;quot; on your specific router and how to add firewall exceptions to your antivirus. By default Garry's Mod will use the ports 27005 and 27015 (UDP and TCP) however if you choose to run more than one server at the same time you will need to unblock two ports for each server (eg 27006 and 27016)&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
A more extensive list of console commands [https://wiki.metrostroi.net/wiki/Console_Commands here].&lt;br /&gt;
&lt;br /&gt;
== ULX ==&lt;br /&gt;
Add [http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] to your server. ULX is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [https://wiki.metrostroi.net/turbostroi.zip here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1043</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=1043"/>
		<updated>2017-11-30T11:47:05Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Connecting to the Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Server =&lt;br /&gt;
You should be able to connect to your server using the &amp;quot;LAN&amp;quot; tab in your Garry's Mod server browser or by using the &amp;quot;LAN&amp;quot; tab in the steam &amp;quot;Servers&amp;quot; window. If you use any form of firewall or your router has a built in firewall other players probably won't be able to connect to your server. To solve this you need to tell your firewall to allow certain network traffic though to your game server. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Do not complete the following steps unless you know what you are doing- adding firewall exceptions can make your computer and network less secure.'''&amp;lt;br&amp;gt;&lt;br /&gt;
The exact process of adding &amp;quot;exceptions&amp;quot; to your networks firewalls depends heavily on what hardware/ software you are using. You are probably best looking up a guide of how to &amp;quot;Port Forward&amp;quot; on your specific router and how to add firewall exceptions to your antivirus. By default Garry's Mod will use the ports 27005 and 27015 (UDP and TCP) however if you choose to run more than one server at the same time you will need to unblock two ports for each server (eg 27006 and 27016)&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
== ULX ==&lt;br /&gt;
Add [http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] to your server. ULX is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [https://wiki.metrostroi.net/turbostroi.zip here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Train_spawning&amp;diff=989</id>
		<title>Train spawning</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Train_spawning&amp;diff=989"/>
		<updated>2017-11-25T17:41:25Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title = &lt;br /&gt;
| ru = Спавн_состава&lt;br /&gt;
| en = Train_spawning&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=Spawning a train=&lt;br /&gt;
When you joined on metrostroi servers, when properly installed mod, appear tabs in Entity, Weapons, etc. menu.&lt;br /&gt;
&lt;br /&gt;
'''There are 2 ways to spawn a train:'''&lt;br /&gt;
&lt;br /&gt;
* Train Spawner&lt;br /&gt;
* Entity Menu&lt;br /&gt;
&lt;br /&gt;
==Using the Train Spawner==&lt;br /&gt;
Click on Train Spawner:&lt;br /&gt;
&lt;br /&gt;
[[File:guide1.png]]&lt;br /&gt;
&lt;br /&gt;
Train Spawner have some options for train setting like you want: skins, ARS type...&lt;br /&gt;
&lt;br /&gt;
[[File:guide3.png]]&lt;br /&gt;
&lt;br /&gt;
Select options:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Options&lt;br /&gt;
|-&lt;br /&gt;
|Train	&lt;br /&gt;
|Train type&lt;br /&gt;
|-&lt;br /&gt;
|Wagons	&lt;br /&gt;
|Wagon number in train&lt;br /&gt;
|-&lt;br /&gt;
|Texture	&lt;br /&gt;
|Skin&lt;br /&gt;
|-&lt;br /&gt;
|Passenger Texture	&lt;br /&gt;
|Salon skin&lt;br /&gt;
|-&lt;br /&gt;
|Cabin Texture	&lt;br /&gt;
|Pult skin&lt;br /&gt;
|-&lt;br /&gt;
|Adverts	&lt;br /&gt;
|Adverts types in salon&lt;br /&gt;
|-&lt;br /&gt;
|Cran Type	&lt;br /&gt;
|[[File:guide4.png]]&lt;br /&gt;
|-&lt;br /&gt;
|Train line pressure 	&lt;br /&gt;
|Pressure in train line&lt;br /&gt;
|-&lt;br /&gt;
|Autodrive panels	&lt;br /&gt;
|[[File:guide5.png|400px]]&lt;br /&gt;
|-&lt;br /&gt;
|ARS type [http://wiki.nashtransport.ru/wiki/%D0%90%D0%A0%D0%A1 АРС]	&lt;br /&gt;
|[[File:guide6.png|400px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Using Entity menu==&lt;br /&gt;
&lt;br /&gt;
[[File:guide2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Категория:Driving]]&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=988</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=988"/>
		<updated>2017-11-25T17:35:27Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Installing Mods */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
&lt;br /&gt;
= Connecting to the Server =&lt;br /&gt;
You should be able to connect to your server using the &amp;quot;LAN&amp;quot; tab in your Garry's Mod server browser or by using the &amp;quot;LAN&amp;quot; tab in the steam &amp;quot;Servers&amp;quot; window. If you use any form of firewall or your router has a built in firewall other players probably won't be able to connect to your server. To solve this you need to tell your firewall to allow certain network traffic though to your game server. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Do not complete the following steps unless you know what you are doing- adding firewall exceptions can make your computer and network less secure.'''&amp;lt;br&amp;gt;&lt;br /&gt;
The exact process of adding &amp;quot;exceptions&amp;quot; to your networks firewalls depends heavily on what hardware/ software you are using. You are probably best looking up a guide of how to &amp;quot;Port Forward&amp;quot; on your specific router and how to add firewall exceptions to your antivirus. By default Garry's Mod will use the ports 27005 and 27015(UDP and TCP) however if you choose to run more than one server at the same time you will need to unblock two ports for each server (eg 27006 and 27016)&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
== ULX ==&lt;br /&gt;
Add [http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] to your server. ULX is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [https://wiki.metrostroi.net/turbostroi.zip here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Client_configuration&amp;diff=987</id>
		<title>Client configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Client_configuration&amp;diff=987"/>
		<updated>2017-11-25T17:34:44Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_клиента&lt;br /&gt;
| en = Client_configuration&lt;br /&gt;
}}&lt;br /&gt;
= Singleplayer Game =&lt;br /&gt;
It is highly recommended that you create a dedicated server on your local network (it will be visible in the LAN tab in the Garrys mod server list). There is a separate guide for installing and configuring a dedicated server [https://wiki.metrostroi.net/wiki/Server_configuration here].&amp;lt;br&amp;gt;&lt;br /&gt;
For a dedicated server you '''DO NOT NEED''' download the content from the Github anymore, it is highly recommended to delete the Github Content if you still have it. If you did not know about the Metrostroi`s Github, it means you came to Metrostroi after August 2, 2017 (2017 Update), then ignore about this paragraph. '''Old addons like 81-717.6 or Ema cargo, Drivable Trams - MUST BE unsubscribed from or deleted.'''&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''For a comfortable game please ensure the following:'''&lt;br /&gt;
* The latest version of Garrys Mod, Metrostroi and any Metrostroi maps are installed.&lt;br /&gt;
* In the video settings the detail level of &amp;quot;models and textures&amp;quot; is ''high'' '''(Solves the problem of invisible doors, bodies, bogeys)'''.&lt;br /&gt;
* In the video settings &amp;quot;anti-aliasing&amp;quot; is ''enabled'' '''(Solves the problem with the transparency of some elements including windows)'''.&lt;br /&gt;
* In the video settings the shadows settings are ''high'' '''(Solves the problem with lights from backlighting)'''.&lt;br /&gt;
&lt;br /&gt;
''Reducing the video settings in the game will not improve game performance, because of the Source Engine!!''&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=986</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=986"/>
		<updated>2017-11-25T17:21:49Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: Added a section about connecting to the server.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this simply add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
= Connecting to the Server =&lt;br /&gt;
You should be able to connect to your server using the &amp;quot;LAN&amp;quot; tab in your Garry's Mod server browser or by using the &amp;quot;LAN&amp;quot; tab in the steam &amp;quot;Servers&amp;quot; window. If you use any form of firewall or your router has a built in firewall other players probably won't be able to connect to your server. To solve this you need to tell your firewall to allow certain network traffic though to your game server. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Do not complete the following steps unless you know what you are doing- adding firewall exceptions can make your computer and network less secure.'''&amp;lt;br&amp;gt;&lt;br /&gt;
The exact process of adding &amp;quot;exceptions&amp;quot; to your networks firewalls depends heavily on what hardware/ software you are using. You are probably best looking up a guide of how to &amp;quot;Port Forward&amp;quot; on your specific router and how to add firewall exceptions to your antivirus. By default Garry's Mod will use the ports 27005 and 27015(UDP and TCP) however if you choose to run more than one server at the same time you will need to unblock two ports for each server (eg 27006 and 27016)&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
== ULX ==&lt;br /&gt;
Add [http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] to your server. ULX is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [https://wiki.metrostroi.net/turbostroi.zip here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=985</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=985"/>
		<updated>2017-11-25T16:57:41Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Installing Mods */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this simply add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
== ULX ==&lt;br /&gt;
Add [http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] to your server. ULX is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [https://wiki.metrostroi.net/turbostroi.zip here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=973</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=973"/>
		<updated>2017-11-24T18:45:27Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Creating a Collection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Metrostroi Subway Simulator -  Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this simply add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
== ULX ==&lt;br /&gt;
Add [http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] to your server. ULX is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [https://wiki.metrostroi.net/turbostroi.zip here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=972</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=972"/>
		<updated>2017-11-24T18:44:54Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Creating a Collection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs&lt;br /&gt;
| lang = en&lt;br /&gt;
| title =&lt;br /&gt;
| ru = Настройка_сервера&lt;br /&gt;
| en = Server configuration&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* Metrostroi Subway Simulator - [https://steamcommunity.com/workshop/filedetails/?id=1095130789 Scripts]&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this simply add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
== ULX ==&lt;br /&gt;
Add [http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] to your server. ULX is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [https://wiki.metrostroi.net/turbostroi.zip here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=967</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=967"/>
		<updated>2017-11-24T18:17:37Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: /* Creating a Collection */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* Metrostroi Subway Simulator - Scripts&lt;br /&gt;
* A Metrostroi map you want to use (mostly listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this simply add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
== ULX ==&lt;br /&gt;
Add [http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] to your server. ULX is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [http://rghost.net/8SrcqCYZW here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=966</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=966"/>
		<updated>2017-11-24T18:16:51Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection. To install Metrostroi you add the following mods to your collection:&lt;br /&gt;
* [http://steamcommunity.com/workshop/filedetails/?id=261801217 Metrostroi (Subway Simulator)]&lt;br /&gt;
* Metrostroi Subway Simulator - Content Pack part (1 to 6)&lt;br /&gt;
* Metrostroi Subway Simulator - Scripts&lt;br /&gt;
* A Metrostroi maps you want to use (listed [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here])&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You can find the names of most metrostroi maps [https://wiki.metrostroi.net/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BA%D0%B0%D1%80%D1%82 here] to replace &amp;quot;NAME_OF_THE_MAP_YOU_WANT&amp;quot;.&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this simply add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
== ULX ==&lt;br /&gt;
Add [http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] to your server. ULX is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [http://rghost.net/8SrcqCYZW here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=965</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=965"/>
		<updated>2017-11-24T18:09:11Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection.&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this simply add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
== ULX ==&lt;br /&gt;
Add [http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] to your server. ULX is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [http://rghost.net/8SrcqCYZW here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place the &amp;quot;.dll&amp;quot; into your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=964</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=964"/>
		<updated>2017-11-24T18:08:22Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection.&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this simply add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
== ULX ==&lt;br /&gt;
Add [http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] to your server. ULX is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;br /&gt;
== Turbostroi ==&lt;br /&gt;
You can download the &amp;quot;Turbostroi&amp;quot; binary from [http://rghost.net/8SrcqCYZW here]. Without it your server will perform quite poorly. Unzip the downloaded file and then place it in your &amp;quot;garrysmod\lua\bin&amp;quot; directory as the README directs.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=963</id>
		<title>Server configuration</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Server_configuration&amp;diff=963"/>
		<updated>2017-11-24T17:59:21Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: Новая страница: «= Installing SteamCMD = SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You ca…»&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Installing SteamCMD =&lt;br /&gt;
SteamCMD is a command line tool that makes setting up servers for Garry's Mod (and most other Source engine based games) very easy. You can download it for Windows and Linux from the [https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Valve Developer Wiki]. &lt;br /&gt;
= Installing the Server (Windows) =&lt;br /&gt;
To download and install your server enter the following script into command prompt or save it as a batch file (paste it into notepad, click &amp;quot;Save As..&amp;quot;, set the &amp;quot;Save as type&amp;quot; to &amp;quot;All Files (*.*)&amp;quot; and append &amp;quot;.bat&amp;quot; or &amp;quot;.cmd&amp;quot; to the filename). &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;PATH_TO_STEAMCMD\steamcmd.exe&amp;quot; +login anonymous +force_install_dir &amp;quot;PATH_FOR_SERVER&amp;quot; +app_update 4020 validate +quit&lt;br /&gt;
pause&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Running the batch file will start to download a Garry's Mod to the &amp;quot;PATH_FOR_SERVER&amp;quot; directory you specified. This process may take some time depending on the speed of your internet connection.&lt;br /&gt;
= Creating a Collection =&lt;br /&gt;
The most straightforward way to add mods to your server is to create a steam workshop collection. You can do this by navigating to the [http://steamcommunity.com/workshop/browse/?section=collections&amp;amp;appid=4000 Garry's Mod Steam Workshop &amp;quot;Collections&amp;quot; section] and clicking [http://steamcommunity.com/workshop/editcollection/?appid=4000 &amp;quot;Create Collection&amp;quot;]. When you've named and branded your collection head over to the Workshop pages for any of the mods you want to add and click &amp;quot;Add to Collection&amp;quot; then choose the name of your server collection.&lt;br /&gt;
= Installing Mods =&lt;br /&gt;
Using command line arguments you can configure your server to automatically install/ update all of the items in a collection. Save the following script as a batch file in the same path as your Garry's Mod server is installed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe +maxplayers 20 -console +host_workshop_collection YOUR_COLLECTION_ID +gamemode sandbox +map NAME_OF_THE_MAP_YOU_WANT&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Please note that the &amp;quot;gm_metrostroi_b50&amp;quot; has a lighting issue that may cause your server fail when starting up due to a &amp;quot;Engine hunk overflow!&amp;quot;. To fix this simply add &amp;quot; +r_hunkalloclightmaps 0&amp;quot; to the end of your command line arguments.'''&amp;lt;br&amp;gt;&lt;br /&gt;
If you have followed the above steps correctly you should now have a fully functional Metrostroi server. If you don't, for whatever reason, the Garry's Mod wiki has a more general (but more detailed guide) on how to set one up [https://wiki.garrysmod.com/page/Category:Server_Owners here].&lt;br /&gt;
= Tips =&lt;br /&gt;
== Server.cfg ==&lt;br /&gt;
You can set the name, password, wagon limit and other important things by editing the &amp;quot;server.cfg&amp;quot; in &amp;quot;garrysmod\cfg&amp;quot;. Below are some useful lines to put in this file:&lt;br /&gt;
* hostname &amp;quot;SERVER_NAME_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxwagons &amp;quot;WAGON_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains &amp;quot;TRAIN_LIMIT_HERE&amp;quot;&lt;br /&gt;
* metrostroi_maxtrains_onplayer &amp;quot;MAX_TRAINS_PER_PLAYER_HERE&amp;quot;&lt;br /&gt;
== ULX ==&lt;br /&gt;
Add [http://steamcommunity.com/sharedfiles/filedetails/?id=557962280 ULX] to your server. ULX is an admin tool that will make dealing with players and changing maps much easier.&lt;br /&gt;
== Garry's Mod Wiki ==&lt;br /&gt;
Check out the [https://wiki.garrysmod.com/page/Category:Server_Owners &amp;quot;Server Owners&amp;quot; section on the Garry's Mod Wiki]. It has some helpful tutorials on [https://wiki.garrysmod.com/page/Loading_URL setting a loading screen] and other more advanced topics not covered here.&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
	<entry>
		<id>https://wiki.metrostroi.net/index.php?title=Installing&amp;diff=949</id>
		<title>Installing</title>
		<link rel="alternate" type="text/html" href="https://wiki.metrostroi.net/index.php?title=Installing&amp;diff=949"/>
		<updated>2017-11-23T22:36:23Z</updated>

		<summary type="html">&lt;p&gt;SpaceCheese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Langs | lang = en | ru = Установка | en = Installing }}&lt;br /&gt;
{{cleanup}}&lt;br /&gt;
[[File:Metrologo_new.png|thumb|300px]]&lt;br /&gt;
__NOTOC__&lt;br /&gt;
= Metrostroi =&lt;br /&gt;
Metrostroi is a free modification (add-on) for the Garry's mod. It simulates the most of train systems with D.C. and A.C. engines.&lt;br /&gt;
These are official trains, that are simulated:&lt;br /&gt;
* E, Em508, Ezh, Ezh1&lt;br /&gt;
* 81-717/714 (MVM &amp;amp; LVZ)&lt;br /&gt;
* Ezh3, Em508T&lt;br /&gt;
* Ema502, Em501&lt;br /&gt;
* 81-720/721 &amp;quot;Yauza&amp;quot; (D.C. from 1997)&lt;br /&gt;
* 81-722/723/724 &amp;quot;Yubileyniy&amp;quot;&lt;br /&gt;
=Installation=&lt;br /&gt;
==Install Garry's mod game first==&lt;br /&gt;
[https://en.wikipedia.org/wiki/Garry%E2%80%99s_Mod Garry's mod]. You can buy it in Steam [http://store.steampowered.com/app/4000/ Steam].&lt;br /&gt;
&lt;br /&gt;
==Metrostroi Installation==&lt;br /&gt;
The proposed variant of installing the Metrostroi mod is a subscription to add-ons and then playing on existing Metrostroi servers (this is enough for playing on servers)&lt;br /&gt;
&lt;br /&gt;
To do this, go to the Steam Workshop in the Garrys mod section and search for Metrostroi Subway Simulator and also subscribe to the addons of the cars that are in 6 parts, they MUST BE ALSO SUBSCRIBED. (In any case, check whether Garrys mod subscribed to these add-ons or not, it happens that Steam is feeling bad and as if addon subscribed but still does not work when you go into the game. For avoid this error you must try 1-2 times to restart the game before playing on servers first, if it did not help unsubscribe from add-ons and subscribe again if it did not help this way try to reinstall the game and subscribe on add-ons on the pure Garrys client mod)&lt;br /&gt;
&lt;br /&gt;
'''Addons COLLECTION:''' &lt;br /&gt;
http://steamcommunity.com/sharedfiles/filedetails/?id=1098503782&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DRIVING MANUALS (ENG SOON):'''&lt;br /&gt;
https://drive.google.com/drive/folders/0B5oqrYR283jWTFhkUkcwZnhWR1E?usp=sharing&lt;br /&gt;
&lt;br /&gt;
=Singleplayer Game=&lt;br /&gt;
For singleplayer game, it is highly recommended to create a dedicated server in your local network (it will be visible in the LAN tab in the Garrys mod server list.) For a dedicated server, its configuration there is a separate guide from the link bellow&lt;br /&gt;
&lt;br /&gt;
http://wiki.metrostroi.net/index.php?title=%CD%E0%F1%F2%F0%EE%E9%EA%E0_%F1%E5%F0%E2%E5%F0%E0&lt;br /&gt;
&lt;br /&gt;
For a dedicated server now you '''DO NOT NEED''' download content from the Github, it is highly recommended to delete Github Content if you still have it. If you did not know about the Metrostroi`s Github, it means you came to MetrostroI after August 2, 2017, (2017 Update) then forget about this paragraph. '''Also old addons like 81-717.6 or Ema cargo, Drivable Trams - MUST BE in unsubscribed state or deleted.&lt;br /&gt;
&lt;br /&gt;
'''For a comfortable game just be sure you checked the following:'''&lt;br /&gt;
&lt;br /&gt;
* The latest version of Garrys Mod with installed modifications of Metrostroi and his maps&lt;br /&gt;
* In the video settings the detail level of &amp;quot;models and textures&amp;quot; is high. '''(Solves the problem of invisible doors, bodies, bogeys)'''&lt;br /&gt;
* In the video settings enabled &amp;quot;anti-aliasing&amp;quot;. '''(Solves the problem with the glasses, the transparency of some elements)'''&lt;br /&gt;
* In the video settings the shadows settings are ''high''. '''(Solves the problem with lights from backlighting)'''&lt;br /&gt;
&lt;br /&gt;
''Optimization by reducing the settings in the game will not give you anything, because of the Source Engine!!''&lt;br /&gt;
&lt;br /&gt;
=Multiplayer game=&lt;br /&gt;
&lt;br /&gt;
To play on public servers with other players, just go to the game section Find a server and search by key map names. All the maps except b46 now are in separated packs in the Steam Workshop, so install them, otherwise you will not have models in place of the map, there will be ERRORS and blue textures'''(It indicates that you have not content somewhere and the game can not find it) '''&lt;br /&gt;
&lt;br /&gt;
There are two types of servers: ranked and unranked. In ranked servers you need to pass exams to drive a train, which are not recommended for new players. Unranked servers are free-to-drive, where you can spawn and drive without any exams.&lt;br /&gt;
&lt;br /&gt;
Note that the maps are separated ADDONS, their AUTHORS can make mistakes on maps and also use content from other addons, usually in such cases the author creates and indicator with additional addons they are asked to subscribe to. We advise you to follow such instructions. Below you can see the list of maps and links to their pages in the Steam Workshop, do not forget that circumstances can change - authors can update maps by adding or removing the necessary content from the page of their Steam page.&lt;br /&gt;
&lt;br /&gt;
==Maps==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;font-size:105%&amp;quot;&lt;br /&gt;
! '''Map name''' !! '''Signalling''' !! '''Tracks''' !! '''Informer''' !! '''Link to download''' !! '''Additional'''&lt;br /&gt;
|-&lt;br /&gt;
|gm_metrostroi_b46_lite&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|[[http://steamcommunity.com/sharedfiles/filedetails/?id=261801217 Link]]&lt;br /&gt;
| Beta version&lt;br /&gt;
|-&lt;br /&gt;
|gm_metrostroi_b50&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|[[http://steamcommunity.com/workshop/filedetails/?id=306834272 Link]]&lt;br /&gt;
| Beta version&lt;br /&gt;
|-&lt;br /&gt;
|gm_mus_orange_metro_h&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|[[http://steamcommunity.com/sharedfiles/filedetails/?id=562813441 Link]]&lt;br /&gt;
|-&lt;br /&gt;
|gm_mus_crimson_line_tox_v9_2&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|'''no'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|gm_mus_loopline_e&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|[[http://steamcommunity.com/workshop/filedetails/?id=302370120 Link]]&lt;br /&gt;
|-&lt;br /&gt;
|gm_mus_neoorange_d&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|[[http://steamcommunity.com/workshop/filedetails/?id=302370120 Link]]&lt;br /&gt;
|-&lt;br /&gt;
|gm_metrostroi_practice_d_v2&lt;br /&gt;
|'''no'''&lt;br /&gt;
|'''no'''&lt;br /&gt;
|'''no'''&lt;br /&gt;
|[[http://steamcommunity.com/sharedfiles/filedetails/?id=631510717 Link]]&lt;br /&gt;
|-&lt;br /&gt;
|gm_mus_orange_line_long_f&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|'''no'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|gm_mus_orange_line_e&lt;br /&gt;
|'''no'''&lt;br /&gt;
|'''no'''&lt;br /&gt;
|'''no'''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|gm_mus_orange_line_c&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes(?)&lt;br /&gt;
|[[http://steamcommunity.com/sharedfiles/filedetails/?id=562813441 Link]]&lt;br /&gt;
|-&lt;br /&gt;
|gm_mus_crimson_line_a&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|[[http://steamcommunity.com/sharedfiles/filedetails/?id=562813441 Link]]&lt;br /&gt;
|-&lt;br /&gt;
|gm_mus_crimson_line_b_n&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|[[http://steamcommunity.com/sharedfiles/filedetails/?id=562813441 Link]]&lt;br /&gt;
|-&lt;br /&gt;
|gm_metro_crossline_m12&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|[[http://steamcommunity.com/sharedfiles/filedetails/?id=1100004221 Link]]&lt;br /&gt;
|-&lt;br /&gt;
|gm_metronvl&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|[[http://steamcommunity.com/sharedfiles/filedetails/?id=782009017 Link]]&lt;br /&gt;
|-&lt;br /&gt;
|gm_metro_rural_line_v29&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|[[http://steamcommunity.com/workshop/filedetails/?id=873230929 Link]]&lt;br /&gt;
|-&lt;br /&gt;
|gm_jar_pll_remastered_v8&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|yes&lt;br /&gt;
|[[http://steamcommunity.com/sharedfiles/filedetails/?id=843936402 Link]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Категория:Установка]]&lt;/div&gt;</summary>
		<author><name>SpaceCheese</name></author>
	</entry>
</feed>