<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.empiresmod.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Neoony</id>
	<title>Empires Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.empiresmod.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Neoony"/>
	<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/Special:Contributions/Neoony"/>
	<updated>2026-09-27T03:59:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.4</generator>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=11158</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=11158"/>
		<updated>2025-09-01T21:32:04Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Dedicated Server - APT */ Fix the UDP 27005 port forwarding mention, 27005 is only outbound&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map con_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27015&lt;br /&gt;
* TCP 27015 (This is only for RCON, best to keep closed, or if you intend to use RCON then only allow specific IPs for security)&lt;br /&gt;
&#039;&#039;UDP 27005 is only used outbound, no need to port forward&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:  &lt;br /&gt;
For some reason, windows srcds.exe needs to have steam client installed to be able to generate .mdmp from crashes, along with running with -nobreakpad&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
 mkdir -p /etc/apt/keyrings/&lt;br /&gt;
 wget -qO- https://deb1.ws.maxmaton.nl/debian/signing.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/maxmaton.gpg &amp;gt;/dev/null&lt;br /&gt;
 echo &#039;deb [signed-by=/etc/apt/keyrings/maxmaton.gpg] http://deb.maxmaton.nl/debian buster main non-free&#039; | sudo tee /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;When it shows the license agreement, you have to press TAB to put your cursor to OK button.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27015&lt;br /&gt;
* TCP 27015 (This is only for RCON, best to keep closed, or if you intend to use RCON then only allow specific IPs for security)&lt;br /&gt;
&#039;&#039;UDP 27005 is only used outbound, no need to port forward&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package :  &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Warning!&#039;&#039; &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;Takes a long time to install.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;This pack is no longer maintained, and has outdated versions of maps.&#039;&#039;  &amp;lt;br&amp;gt;&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
Typing quit in server console will automatically restart the server. &amp;lt;br&amp;gt;&lt;br /&gt;
When server crashes it will restart automatically. (unless it freezes) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in &#039;&#039;&#039;/var/lib/empires&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=11157</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=11157"/>
		<updated>2025-09-01T21:31:33Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Dedicated Server - SteamCMD */ Fix the UDP 27005 port forwarding mention, its only outbound&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map con_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27015&lt;br /&gt;
* TCP 27015 (This is only for RCON, best to keep closed, or if you intend to use RCON then only allow specific IPs for security)&lt;br /&gt;
&#039;&#039;UDP 27005 is only used outbound, no need to port forward&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note:  &lt;br /&gt;
For some reason, windows srcds.exe needs to have steam client installed to be able to generate .mdmp from crashes, along with running with -nobreakpad&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
 mkdir -p /etc/apt/keyrings/&lt;br /&gt;
 wget -qO- https://deb1.ws.maxmaton.nl/debian/signing.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/maxmaton.gpg &amp;gt;/dev/null&lt;br /&gt;
 echo &#039;deb [signed-by=/etc/apt/keyrings/maxmaton.gpg] http://deb.maxmaton.nl/debian buster main non-free&#039; | sudo tee /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;When it shows the license agreement, you have to press TAB to put your cursor to OK button.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package :  &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Warning!&#039;&#039; &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;Takes a long time to install.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;This pack is no longer maintained, and has outdated versions of maps.&#039;&#039;  &amp;lt;br&amp;gt;&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
Typing quit in server console will automatically restart the server. &amp;lt;br&amp;gt;&lt;br /&gt;
When server crashes it will restart automatically. (unless it freezes) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in &#039;&#039;&#039;/var/lib/empires&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Research&amp;diff=11156</id>
		<title>Research</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Research&amp;diff=11156"/>
		<updated>2025-08-25T15:17:07Z</updated>

		<summary type="html">&lt;p&gt;Neoony: Add the https://ekstergans.eu/empires/radar/ tool&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Sitenav|Research}}&lt;br /&gt;
&lt;br /&gt;
{{Note|Research requires that the team have a [[Radar]] facility operational.}}&lt;br /&gt;
[[Image:Comm_research1.jpg|right|thumb|Commander Research Menu]]&lt;br /&gt;
&lt;br /&gt;
The [[Commander]] may research various technologies to make his team and their vehicles and players much more powerful. Following a traditional [[RTS]]-style tech tree, the progression through research is branched and varied. Two teams may take completely different paths for research depending on their play style. &lt;br /&gt;
&lt;br /&gt;
The best place for information on each tech is the [http://empiresmod.com/docs/research_tree_appendix.htm Empires Mod Research Tree Appendix]. However, for the correct research paths, please check the Official Tech Tree image at the bottom of this page.&lt;br /&gt;
&lt;br /&gt;
== Researching ==&lt;br /&gt;
Researching is handled by the [[Commander]] and requires the presence of a [[Radar]] facility. There is a &#039;&#039;Research&#039;&#039; button in the lower right corner of the commander interface, clicking this will bring up a dialogue showing current research progress and a link to the tech tree for further research. Clicking on the &#039;&#039;View Tree&#039;&#039; button will show the 5 base trees as seen above (Physics, Chemistry, Mechanical Engineering, Electrical Engineering, and Biology). After you have researched and entered one of the 6 base trees, you will see something like this:&lt;br /&gt;
[[Image:Comm_research.jpg|800px|center]]&lt;br /&gt;
* An icon with a red outline is something that is not researched yet.&lt;br /&gt;
* An icon with a green outline is something that has been researched.&lt;br /&gt;
* The tri icon represents that you must research the tree in order to get to the sub-items.&lt;br /&gt;
* A square icon represents a researchable item.&lt;br /&gt;
Research takes time, generally a minute or two for each item.&lt;br /&gt;
{{Note|Once a research entry is complete, a message is sent to all players on the commander&#039;s team informing them of the advancement.}}&lt;br /&gt;
&lt;br /&gt;
== Tech Tree Tools ==  &lt;br /&gt;
A tool showing the current research tree (by ekstergans).&amp;lt;br&amp;gt;&lt;br /&gt;
Updates automatically from the empires_scripts gitlab repository.&amp;lt;br&amp;gt;&lt;br /&gt;
https://ekstergans.eu/empires/radar/  &lt;br /&gt;
&lt;br /&gt;
== Tech Tree Images ==&lt;br /&gt;
A number of graphical representations of the tech tree are floating around out there, some widely used, others not. Below you will find some of these. Only the first one is the actual official version.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tech Tree for Current Release:&#039;&#039;&#039;&lt;br /&gt;
{|&lt;br /&gt;
| [[Image:empires_techtree_2.14.x_coloured.png|1024px|Empires 2.13.x Tech Tree]]&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
&#039;&#039;&#039;Older Tech Trees:&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
| [[Image:Empires 241 TechTree.png|thumb|Empires 2.41 Tech Tree with production details (Printable Version)]]&lt;br /&gt;
| [[Image:Tech_tree.jpg|thumb|Official Tech Tree Image]]&lt;br /&gt;
| [[Image:EmpiresSteamR1TechTree.gif|thumb|Steam Release Tech Tree with production details (Printable Version)]]&lt;br /&gt;
| [[Image:Empires225bTechTree.gif|thumb|2.25b Tech Tree with production details (Printable Version)]]&lt;br /&gt;
| [[Image:Empires224TechTreeIcon.gif|thumb|2.24 Tech Tree (icons) with production details (Printable Version)]]&lt;br /&gt;
| [[Image:Empires224TechTree.gif|thumb|2.24 Tech Tree with production details (Printable Version)]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Empires223TechTree.gif|thumb|2.23 Tech Tree with production details (Printable Version)]]&lt;br /&gt;
| [[Image:Empires21TechTree.gif|thumb|2.1 Tech Tree with production details (Printable Version)]] &lt;br /&gt;
| [[Image:Physics_research_tree.png|thumb|Physics Tree (Printable Version)]]&lt;br /&gt;
| [[Image:Mech_research_tree.png|thumb|Mechanical Engineering Tree (Printable Version)]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Biologie_research_tree.png|thumb|Biology Tree (Printable Version)]]&lt;br /&gt;
| [[Image:Electrical_research_tree.png|thumb|Electrical Engineering Tree (Printable Version)]]&lt;br /&gt;
| [[Image:Chemistry_research_tree.png|thumb|Chemistry Tree (Printable Version)]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Gameplay|Research]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=11155</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=11155"/>
		<updated>2025-08-11T20:20:03Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Dedicated Server - SteamCMD */ Note about needing steam client for windows srcds.exe to generate .mdmp, along with -nobreakpad&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map con_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
Note:  &lt;br /&gt;
For some reason, windows srcds.exe needs to have steam client installed to be able to generate .mdmp from crashes, along with running with -nobreakpad&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
 mkdir -p /etc/apt/keyrings/&lt;br /&gt;
 wget -qO- https://deb1.ws.maxmaton.nl/debian/signing.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/maxmaton.gpg &amp;gt;/dev/null&lt;br /&gt;
 echo &#039;deb [signed-by=/etc/apt/keyrings/maxmaton.gpg] http://deb.maxmaton.nl/debian buster main non-free&#039; | sudo tee /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;When it shows the license agreement, you have to press TAB to put your cursor to OK button.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package :  &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Warning!&#039;&#039; &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;Takes a long time to install.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;This pack is no longer maintained, and has outdated versions of maps.&#039;&#039;  &amp;lt;br&amp;gt;&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
Typing quit in server console will automatically restart the server. &amp;lt;br&amp;gt;&lt;br /&gt;
When server crashes it will restart automatically. (unless it freezes) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in &#039;&#039;&#039;/var/lib/empires&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Version/2.38.x&amp;diff=11126</id>
		<title>Version/2.38.x</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Version/2.38.x&amp;diff=11126"/>
		<updated>2025-06-20T20:47:18Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SitenavNested|:Change_Log|Patch notes}}&lt;br /&gt;
== 2.38.0 ==&lt;br /&gt;
{{FuturePatch}}&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2025-06-20)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Replaced vehicle shell particle effects with the new [https://developer.valvesoftware.com/wiki/Particle_System_Overview particle system]. Each cannon can (and now does) have a different trail of particles.&lt;br /&gt;
** This may make it easier to identify the locations of artillery tanks, and notice incoming artillery shells.&lt;br /&gt;
* Large rework of the vehicle heat mechanics&lt;br /&gt;
** Added a fourth &amp;quot;Overheat&amp;quot; heat region.&lt;br /&gt;
*** Now there is &amp;quot;Low&amp;quot; (Green), &amp;quot;Medium&amp;quot; (Yellow), &amp;quot;High&amp;quot; (Orange), and &amp;quot;Overheat&amp;quot; (Red)&lt;br /&gt;
** The portion of the heat bar that is not filled will still be displayed, but in a way more muted color.&lt;br /&gt;
** The positions of the various heat regions can be defined per-engine.&lt;br /&gt;
** When a weapon cannot fire due to overheating, the ammo indicator for that weapon will turn red. &lt;br /&gt;
*** This was already in the code, but the definition of overheating used was incorrect so this condition was never actually triggered.&lt;br /&gt;
** Engines will now begin stalling at the High region, and completely stall at the Overheat region.&lt;br /&gt;
** Weapons can have a &amp;quot;Critical Heat Zone&amp;quot;. When a weapon is fired while the vehicle is in this zone or above, then it will fire a crit.&lt;br /&gt;
*** Crit shells can have a different firing sound, impact sound, and trail particles.&lt;br /&gt;
*** Crit shells do increased damage&lt;br /&gt;
*** Only the Plasma cannon currently uses this feature, and likely only the plasma weapons will use this mechanic.&lt;br /&gt;
*** Only shells have crits implemented. If this idea is kept, then we&#039;d want to implement the same for MGs, missiles, and grenades.&lt;br /&gt;
** Due to simplifications of the engine stall code, the &amp;quot;Heat Stall Penalty&amp;quot; value on engines now indicates the maximum amount the throttle can be reduced to via engine overheating, instead of the square root of the maximum amount the throttle can be reduced to via engine overheating.&lt;br /&gt;
* Added an additional info panel to the vehicle HUD&lt;br /&gt;
** This panel is displayed to players currently inside a tank&lt;br /&gt;
** The panel shows the following information, from left to right:&lt;br /&gt;
*** The armor the vehicle has equipped&lt;br /&gt;
*** The engine the vehicle has equipped&lt;br /&gt;
*** The current number of passengers, out of the vehicle&#039;s total capacity&lt;br /&gt;
*** Whether the vehicle will not detonate mines (i.e., the driver or a passenger has the Defuse skill)&lt;br /&gt;
*** Whether the vehicle has a spawn point&lt;br /&gt;
* Added Pykrete Armor&lt;br /&gt;
** Pykrete armor is made of ice reinforced with complex hydrocarbon chains.&lt;br /&gt;
** It uses ambient humidity to slowly regenerate when vehicle heat is in the low region, but melts faster in higher heat regions. This introduces a new melting/regeneration mechanic to the game.&lt;br /&gt;
* Research now drains resources over time, instead of spending all of the resources up-front.&lt;br /&gt;
** Commanders can pause and resume research at any time.&lt;br /&gt;
** If there is insufficient resources for research to continue, then research is paused automatically. &lt;br /&gt;
*** The entire team will hear the &amp;quot;Insufficient Resources&amp;quot; sound clip.&lt;br /&gt;
** When research is complete, the entire team (and all spectators) will hear the &amp;quot;Research is now complete&amp;quot; sound effect, instead of just the commander.&lt;br /&gt;
** Added a new mapmaking entity &amp;lt;code&amp;gt;emp_logic_resource_drain&amp;lt;/code&amp;gt; to allow mapmakers to specify their own similar resource drains.&lt;br /&gt;
* Improved the resources HUD display. The resource total and income are now displayed more accurately than before.&lt;br /&gt;
** Resource total updates more frequently, to better reflect the actual value. Previously it was tied to a timer.&lt;br /&gt;
**Resource income now displays all manual adjustments to income, not just income from refineries. This should cover all gains/losses but to list some examples it includes resource adjustments from vehicle purchases, vehicle carcass recycling and building purchases/refunds.&lt;br /&gt;
**Recurring resource income is now displayed alongside the dynamic income, this figure excludes manual adjustments and resource drains. Essentially, this displays income from recurring sources, for example refineries.&lt;br /&gt;
* Engineer and Commander radars now also spot fully-built enemy buildings, in addition to enemy vehicles.&lt;br /&gt;
* Added additional HUD icons for certain F-menu requests.&lt;br /&gt;
* Added additional cancellation and suppression criteria for certain F-menu requests.&lt;br /&gt;
** Notably, requests for ammo, health, and repairs are automatically cancelled as soon as any health or ammo is recieved, as appropriate.&lt;br /&gt;
* Added new listener mapmaking entities, &amp;lt;code&amp;gt;emp_logic_resource_listener&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;emp_logic_ticket_listener&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;emp_logic_research_listener&amp;lt;/code&amp;gt;. &lt;br /&gt;
* Added a sound effect that plays when a tank loads ammo.&lt;br /&gt;
* Pressing the suicide hotkey (delete by default) while already dead force-kills you, preventing engineers from reviving you.&lt;br /&gt;
* The debug console command &amp;lt;code&amp;gt;emp_debug_spawn_shell&amp;lt;/code&amp;gt; now has three parameters:&lt;br /&gt;
** 1: The weapon index of the shell to spawn&lt;br /&gt;
** 2: The number of shells to spawn (between 1 and 128)&lt;br /&gt;
** 3: Whether or not the shell is a crit shell.&lt;br /&gt;
* Commanders can now see player request icons from further away, especially requests for commander attention.&lt;br /&gt;
** This distance is 12k units for commander attention requests and 6k units for other requests&lt;br /&gt;
** For comparison, requests are normally 3k units and revive icons 4k units&lt;br /&gt;
&lt;br /&gt;
=== Bugfixes ===&lt;br /&gt;
* The C++ code for the mini-map has been extensively refactored. This update resolves several longstanding issues and improves maintainability, making it easier for developers to add new features and enhancements.&lt;br /&gt;
* Fixed a bug causing homing missiles to fire without any spread when fired without entering missile lock.&lt;br /&gt;
* Fixed a crash involving the vehicle info HUD element.&lt;br /&gt;
* Fixed a bug where reviving in water would cause the player to appear far beneath the surface.&lt;br /&gt;
* Fixed a bug where players changing teams to spectator while in a vehicle retain collision.&lt;br /&gt;
* Fixed some issues with the method in which tips were selected to be displayed on the loading screen.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
&lt;br /&gt;
==== Buildings ====&lt;br /&gt;
* Armory&lt;br /&gt;
** Reduced Carcass Removal Time from 30 to 10&lt;br /&gt;
* Barracks&lt;br /&gt;
** Reduced Carcass Removal Time from 30 to 20&lt;br /&gt;
* Radar&lt;br /&gt;
** Reduced Carcass Removal Time from 30 to 15&lt;br /&gt;
* Repair Pad&lt;br /&gt;
** Reduced Carcass Removal Time from 30 to 15&lt;br /&gt;
&lt;br /&gt;
==== Research ====&lt;br /&gt;
* All research costs have been divided by 60, to account for the change from up-front costs to res/second costs.&lt;br /&gt;
* Added a research item for APC spawn points.&lt;br /&gt;
** Costs 4 resources per second for 120 seconds. (480 resources in total.)&lt;br /&gt;
* Added a research item for Pykrete Armor in the Chemistry tree within Improved Heat Transfer Fluids, next to Advanced Coolant Engine.&lt;br /&gt;
* APC Chassis is researched by default&lt;br /&gt;
* The Homing Missiles research now unlocks the 2-slot homing missile instead of the 3-slot homing missile&lt;br /&gt;
* Re-enabled research for Salvo Homing Missiles and TOW Guided Missiles&lt;br /&gt;
* Nuclear Warhead&lt;br /&gt;
** Increased research cost from 4 to 5 (Total cost 1200)&lt;br /&gt;
** Increased research time from 180 to 240&lt;br /&gt;
&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* NF Heavy Carbine (SMG3)&lt;br /&gt;
** Improved Overall Weapon Spread&lt;br /&gt;
**Increased damage per bullet from 27 to 37&lt;br /&gt;
** Increased Time between shoots from 0.12 to 0.20&lt;br /&gt;
** Increased minimal damage per bullet from 13 to 18&lt;br /&gt;
** Decreased clip size from 20 to 12&lt;br /&gt;
*** Also adjusted spawn/max ammo counts - engineer spawns with 4 clips and scout spawns with 5 clips. (Without ammo increase skill.)&lt;br /&gt;
&lt;br /&gt;
=== Vehicle Chassis ===&lt;br /&gt;
* NF &amp;amp; BE APC&lt;br /&gt;
** Increased available weight from 235 to 265&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Armors ====&lt;br /&gt;
* Capacitive Armor&lt;br /&gt;
** Buff&lt;br /&gt;
*** Decreased Cost per plate from 20 to 18&lt;br /&gt;
*** Increased Health per plate from 80 to 110&lt;br /&gt;
*** Decreased Damage To Heat Absorbed from 0.1 to 0.05&lt;br /&gt;
** Nerf&lt;br /&gt;
*** Increased Weight per plate from 15 to 18&lt;br /&gt;
*** Added Speed To Damage Modifier 0.000035&lt;br /&gt;
*** Decreased Infantry Grenade Resist from 0.55 to 0.35&lt;br /&gt;
*** Decreased Infantry Mine Resist from 0.55 to 0.50&lt;br /&gt;
*** Decreased Infantry Missile Resist from 0.40 to 0.20&lt;br /&gt;
*** Decreased Infantry Mortar Resist from 0.40 to 0.20&lt;br /&gt;
*** Decreased Infantry Explosive Sticky Resist from 0.25 to 0.20&lt;br /&gt;
*** Decreased Infantry Sticky Stun Resist from 0.25 to 0.15&lt;br /&gt;
*** Decreased Squad Arty Resist from 0.55 to 0.40&lt;br /&gt;
* Composite&lt;br /&gt;
** Increase Sticky Bomb Resistance from -0.716 to -0.6&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Engines ====&lt;br /&gt;
* All Chassis&lt;br /&gt;
** Increased Heat Dissipation for Advanced Coolant Engine by 1&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Shells and missiles now use uniform circular distribution when applying spread instead of bounded uniform distribution.&lt;br /&gt;
** All this means is that spread is applied using a radius around the crosshair instead of using random min/max bounds. (Circular distribution instead of square.)&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Decreased damage from 84 to 60&lt;br /&gt;
** Now fires 2x damage crit shells when in the high (orange) heat region or above&lt;br /&gt;
* Salvo Homing Missiles&lt;br /&gt;
** Increased cost from 105 to 150&lt;br /&gt;
** Increased clip size from 4 to 10&lt;br /&gt;
** Increased reload time from 3.75 to 8&lt;br /&gt;
** Increased missile lock on range from 5000 to 8000&lt;br /&gt;
** Decreased lock on time from 0.6 to 0.5&lt;br /&gt;
** Decreased lock on radius from 0.35 to 0.2&lt;br /&gt;
** Decreased lock on range modifier from 0.00040 to 0.00025&lt;br /&gt;
** Decreased damage from 40 to 28&lt;br /&gt;
** Increased Heat from 3 to 5&lt;br /&gt;
** Decreased weight from 100 to 80&lt;br /&gt;
** Increased Explosion range from 80 to 150&lt;br /&gt;
* Homing Missiles (2-slot)&lt;br /&gt;
** Increased cost from 80 to 95&lt;br /&gt;
** Decreased missile Speed from 2500 to 2300&lt;br /&gt;
** Decreased weight from 70 to 60&lt;br /&gt;
* TOW Guided Missiles&lt;br /&gt;
** Increased cost from 135 to 150&lt;br /&gt;
** Increased Missile speed from 2100 to 2300&lt;br /&gt;
** Increased Missile Range from 6500 to 8000&lt;br /&gt;
** Increased clip size from 5 to 6&lt;br /&gt;
** Increased Explosion Radius from 115 to 150&lt;br /&gt;
** Decreased Cycle Time from 1.3 to 1.25&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Damage from 80 to 90&lt;br /&gt;
** Reduced Biological Damage from 10 to 5&lt;br /&gt;
* Biological Missile Launcher&lt;br /&gt;
** Increased Damage from 50 to 60&lt;br /&gt;
** Reduced Biological Damage from 10 to 5&lt;br /&gt;
* Homing Missile Launcher&lt;br /&gt;
** Increased Lock On Radius from 0.1 to 0.2&lt;br /&gt;
** Reduced Lock On Range Multiplier from 0.00025 to 0.0001875&lt;br /&gt;
*** Lock On time increased from between 0.5 to 2.5 seconds to between 0.5 to 2 (up to 40% faster)&lt;br /&gt;
* Biological Grenade Launcher&lt;br /&gt;
** Reduced Cycle Time from 2 to 1.6&lt;br /&gt;
** Increased Clip Size from 6 to 8&lt;br /&gt;
** Reduced Total Ammo Clips from 5 to 4&lt;br /&gt;
** Reduced Vehicle Biological Damage from 10 to 5&lt;br /&gt;
** Increased Vehicle Bio Time from 4 to 5&lt;br /&gt;
* Medium Artillery Cannon&lt;br /&gt;
** Increased Projectile Spread from 0.001 to 0.25&lt;br /&gt;
* High-Explosive Artillery Cannon&lt;br /&gt;
** Increased Projectile Spread from 0.001 to 0.30&lt;br /&gt;
* Ranged Artillery Cannon&lt;br /&gt;
** Increased Projectile Spread from 0.001 to 0.15&lt;br /&gt;
&lt;br /&gt;
=== Other changes  ===&lt;br /&gt;
&lt;br /&gt;
* Several unused features have been removed:&lt;br /&gt;
** Research can no longer upgrade ammo damage.&lt;br /&gt;
** Vehicle weapons can no longer be &amp;quot;disabled&amp;quot;, and research cannot disable vehicle weapons.&lt;br /&gt;
** Servers can no longer disable vehicle horns with the &amp;lt;code&amp;gt;emp_sv_vehicle_allow_horns&amp;lt;/code&amp;gt; cvar&lt;br /&gt;
* Increased the default value of the &amp;lt;code&amp;gt;emp_sv_vehicle_fadeout_time&amp;lt;/code&amp;gt; cvar from 30 seconds to 180 seconds.&lt;br /&gt;
* Increased the default value of the &amp;lt;code&amp;gt;emp_sv_vehicle_fadeout_time_partial&amp;lt;/code&amp;gt; cvar from 30 seconds to 60 seconds.&lt;br /&gt;
* We did a large refactor to the minimap code. You shouldn&#039;t notice any huge changes, but the scaling might be slightly off from what it was before. This can be adjusted with the &amp;lt;code&amp;gt;emp_map_size&amp;lt;/code&amp;gt; cvar.&lt;br /&gt;
* Removed some less useful statistics from the vehicle preview in the vehicle creation panel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Patch Notes]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Change_Log&amp;diff=10981</id>
		<title>Change Log</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Change_Log&amp;diff=10981"/>
		<updated>2024-04-30T19:50:05Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Source Engine (2013 branch) */ fix wrong date on 2.36.3 release&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is an overview of the published versions of empires:&lt;br /&gt;
&lt;br /&gt;
== Source Engine (2013 branch) ==&lt;br /&gt;
{{VersionTableHeader}}&lt;br /&gt;
{{VersionTableRow|patches=4|2.36|3|2024-04-20}}&lt;br /&gt;
{{VersionTableRow|2.36|2|2024-02-24}}&lt;br /&gt;
{{VersionTableRow|2.36|1|2024-02-18}}&lt;br /&gt;
{{VersionTableRow|2.36|0|2024-02-17}}&lt;br /&gt;
{{VersionTableRow|patches=3|2.35|2|2023-07-15}}&lt;br /&gt;
{{VersionTableRow|2.35|1|2023-07-08}}&lt;br /&gt;
{{VersionTableRow|2.35|0|2023-06-18}}&lt;br /&gt;
{{VersionTableRow|patches=9|2.34|9|2023-03-05}}&lt;br /&gt;
{{VersionTableRow|2.34|8}}&lt;br /&gt;
{{VersionTableRow|2.34|7}}&lt;br /&gt;
{{VersionTableRow|2.34|6}}&lt;br /&gt;
{{VersionTableRow|2.34|5}}&lt;br /&gt;
{{VersionTableRow|2.34|4}}&lt;br /&gt;
{{VersionTableRow|2.34|3}}&lt;br /&gt;
{{VersionTableRow|2.34|2}}&lt;br /&gt;
{{VersionTableRow|2.34|1|2022-01-16}}&lt;br /&gt;
{{VersionTableRow|patches=5|2.33|5|2022-01-01}}&lt;br /&gt;
{{VersionTableRow|2.33|4}}&lt;br /&gt;
{{VersionTableRow|2.33|3}}&lt;br /&gt;
{{VersionTableRow|2.33|2}}&lt;br /&gt;
{{VersionTableRow|2.33|1}}&lt;br /&gt;
{{VersionTableRow|patches=2|2.32|2}}&lt;br /&gt;
{{VersionTableRow|2.32|1}}&lt;br /&gt;
{{VersionTableRow|patches=2|2.31|2}}&lt;br /&gt;
{{VersionTableRow|2.31|1}}&lt;br /&gt;
{{VersionTableRow|patches=10|2.30|10}}&lt;br /&gt;
{{VersionTableRow|2.30|9}}&lt;br /&gt;
{{VersionTableRow|2.30|8}}&lt;br /&gt;
{{VersionTableRow|2.30|7}}&lt;br /&gt;
{{VersionTableRow|2.30|6}}&lt;br /&gt;
{{VersionTableRow|2.30|5}}&lt;br /&gt;
{{VersionTableRow|2.30|4|2021-01-22}}&lt;br /&gt;
{{VersionTableRow|2.30|3}}&lt;br /&gt;
{{VersionTableRow|2.30|2}}&lt;br /&gt;
{{VersionTableRow|2.30|1|2020-12-05}}&lt;br /&gt;
{{VersionTableRow|patches=6|2.29|6}}&lt;br /&gt;
{{VersionTableRow|2.29|5}}&lt;br /&gt;
{{VersionTableRow|2.29|4}}&lt;br /&gt;
{{VersionTableRow|2.29|3}}&lt;br /&gt;
{{VersionTableRow|2.29|2}}&lt;br /&gt;
{{VersionTableRow|2.29|1}}&lt;br /&gt;
{{VersionTableRow|patches=8|2.28|8}}&lt;br /&gt;
{{VersionTableRow|2.28|7}}&lt;br /&gt;
{{VersionTableRow|2.28|6}}&lt;br /&gt;
{{VersionTableRow|2.28|5}}&lt;br /&gt;
{{VersionTableRow|2.28|4}}&lt;br /&gt;
{{VersionTableRow|2.28|3}}&lt;br /&gt;
{{VersionTableRow|2.28|2}}&lt;br /&gt;
{{VersionTableRow|2.28|1}}&lt;br /&gt;
{{VersionTableRow|patches=1|2.27|1}}&lt;br /&gt;
{{VersionTableRow|patches=8|2.26|8}}&lt;br /&gt;
{{VersionTableRow|2.26|7}}&lt;br /&gt;
{{VersionTableRow|2.26|6}}&lt;br /&gt;
{{VersionTableRow|2.26|5}}&lt;br /&gt;
{{VersionTableRow|2.26|4}}&lt;br /&gt;
{{VersionTableRow|2.26|3}}&lt;br /&gt;
{{VersionTableRow|2.26|2}}&lt;br /&gt;
{{VersionTableRow|2.26|1}}&lt;br /&gt;
{{VersionTableRow|patches=9|2.25|9}}&lt;br /&gt;
{{VersionTableRow|2.25|8}}&lt;br /&gt;
{{VersionTableRow|2.25|7}}&lt;br /&gt;
{{VersionTableRow|2.25|6}}&lt;br /&gt;
{{VersionTableRow|2.25|5}}&lt;br /&gt;
{{VersionTableRow|2.25|4}}&lt;br /&gt;
{{VersionTableRow|2.25|3}}&lt;br /&gt;
{{VersionTableRow|2.25|2}}&lt;br /&gt;
{{VersionTableRow|2.25|1}}&lt;br /&gt;
{{VersionTableRow|patches=4|2.24|4}}&lt;br /&gt;
{{VersionTableRow|2.24|3}}&lt;br /&gt;
{{VersionTableRow|2.24|2}}&lt;br /&gt;
{{VersionTableRow|2.24|1}}&lt;br /&gt;
{{VersionTableRow|patches=3|2.23|3}}&lt;br /&gt;
{{VersionTableRow|2.23|2}}&lt;br /&gt;
{{VersionTableRow|2.23|1}}&lt;br /&gt;
{{VersionTableRow|patches=2|2.22|2}}&lt;br /&gt;
{{VersionTableRow|2.22|1}}&lt;br /&gt;
{{VersionTableRow|patches=6|2.21|6}}&lt;br /&gt;
{{VersionTableRow|2.21|5}}&lt;br /&gt;
{{VersionTableRow|2.21|4}}&lt;br /&gt;
{{VersionTableRow|2.21|3}}&lt;br /&gt;
{{VersionTableRow|2.21|2}}&lt;br /&gt;
{{VersionTableRow|2.21|1}}&lt;br /&gt;
{{VersionTableRow|patches=2|2.20|2}}&lt;br /&gt;
{{VersionTableRow|2.20|1}}&lt;br /&gt;
{{VersionTableRow|patches=1|2.19|1}}&lt;br /&gt;
{{VersionTableRow|patches=2|2.18|2}}&lt;br /&gt;
{{VersionTableRow|2.18|1}}&lt;br /&gt;
{{VersionTableRow|patches=4|2.17|4}}&lt;br /&gt;
{{VersionTableRow|2.17|3}}&lt;br /&gt;
{{VersionTableRow|2.17|2}}&lt;br /&gt;
{{VersionTableRow|2.17|1|2018-08-15}}&amp;lt;!-- Last version to have a forum post --&amp;gt;&lt;br /&gt;
{{VersionTableRow|patches=4|2.16|4}}&lt;br /&gt;
{{VersionTableRow|2.16|3}}&lt;br /&gt;
{{VersionTableRow|2.16|2}}&lt;br /&gt;
{{VersionTableRow|2.16|1}}&lt;br /&gt;
{{VersionTableRow|patches=11|2.15|11}}&lt;br /&gt;
{{VersionTableRow|2.15|10}}&lt;br /&gt;
{{VersionTableRow|2.15|9}}&lt;br /&gt;
{{VersionTableRow|2.15|8}}&lt;br /&gt;
{{VersionTableRow|2.15|7}}&lt;br /&gt;
{{VersionTableRow|2.15|6}}&lt;br /&gt;
{{VersionTableRow|2.15|5}}&lt;br /&gt;
{{VersionTableRow|2.15|4}}&lt;br /&gt;
{{VersionTableRow|2.15|3}}&lt;br /&gt;
{{VersionTableRow|2.15|2}}&lt;br /&gt;
{{VersionTableRow|2.15|1}}&lt;br /&gt;
{{VersionTableRow|patches=7|2.14|7}}&lt;br /&gt;
{{VersionTableRow|2.14|6}}&lt;br /&gt;
{{VersionTableRow|2.14|5}}&lt;br /&gt;
{{VersionTableRow|2.14|4}}&lt;br /&gt;
{{VersionTableRow|2.14|3}}&lt;br /&gt;
{{VersionTableRow|2.14|2}}&lt;br /&gt;
{{VersionTableRow|2.14|1}}&lt;br /&gt;
{{VersionTableRow|patches=5|2.13|5}}&lt;br /&gt;
{{VersionTableRow|2.13|4}}&lt;br /&gt;
{{VersionTableRow|2.13|3}}&lt;br /&gt;
{{VersionTableRow|2.13|2}}&lt;br /&gt;
{{VersionTableRow|2.13|1}}&lt;br /&gt;
{{VersionTableRow|patches=1|2.12|1}}&lt;br /&gt;
{{VersionTableRow|patches=1|2.11|1}}&lt;br /&gt;
{{VersionTableRow|patches=1|2.10|0|2016-9-25}}&lt;br /&gt;
{{VersionTableRow|patches=4|2.9|3}}&lt;br /&gt;
{{VersionTableRow|2.9|2}}&lt;br /&gt;
{{VersionTableRow|2.9|1}}&lt;br /&gt;
{{VersionTableRow|2.9|0|2016-08-13}} &amp;lt;!--First linux release--&amp;gt;&lt;br /&gt;
{{VersionTableRow|patches=1|2.8|0|2016-05-08}}&lt;br /&gt;
{{VersionTableRow|patches=1|2.7|0|2016-02-17}}&lt;br /&gt;
{{VersionTableRow|patches=12|2.6|9|2015-06-27}}&lt;br /&gt;
{{VersionTableRow|2.6|8|2015-05-10}}&lt;br /&gt;
{{VersionTableRow|2.6|7a}}&lt;br /&gt;
{{VersionTableRow|2.6|7|2015-05-04}}&lt;br /&gt;
{{VersionTableRow|2.6|6|2015-04-25}}&lt;br /&gt;
{{VersionTableRow|2.6|5|2015-03-28}}&lt;br /&gt;
{{VersionTableRow|2.6|4a|2015-03-22}}&lt;br /&gt;
{{VersionTableRow|2.6|4|2015-03-21}}&lt;br /&gt;
{{VersionTableRow|2.6|3|2015-03-14}}&lt;br /&gt;
{{VersionTableRow|2.6|2|2015-02-12}}&lt;br /&gt;
{{VersionTableRow|2.6|1|2015-01-27}}&lt;br /&gt;
{{VersionTableRow|2.6|0|2015-01-14}}&lt;br /&gt;
{{VersionTableRowOld|patches=10|2.52|.9|2015-01-10}}&amp;lt;!--Even though these use the 3 version system, we still need to use the old template to prevent conflicts later.--&amp;gt;&lt;br /&gt;
{{VersionTableRowOld|2.52|.8|2014-12-25}}&lt;br /&gt;
{{VersionTableRowOld|2.52|.7|2014-12-13}}&lt;br /&gt;
{{VersionTableRowOld|2.52|.6|2014-11-29}}&lt;br /&gt;
{{VersionTableRowOld|2.52|.5|2014-11-21}}&lt;br /&gt;
{{VersionTableRowOld|2.52|.4|2014-11-16}}&lt;br /&gt;
{{VersionTableRowOld|2.52|.3|2014-11-08}}&lt;br /&gt;
{{VersionTableRowOld|2.52|.2|2014-10-21}}&lt;br /&gt;
{{VersionTableRowOld|2.52|.1|2014-10-18}}&lt;br /&gt;
{{VersionTableRowOld|2.52||2014-09-28}}&lt;br /&gt;
{{VersionTableRowOld|patches=1|2.51||2014-09-28}}&lt;br /&gt;
{{VersionTableRowOld|patches=4|2.5| RC4}}&lt;br /&gt;
{{VersionTableRowOld|2.5| RC3}}&lt;br /&gt;
{{VersionTableRowOld|2.5| RC2}}&lt;br /&gt;
{{VersionTableRowOld|2.5| RC1|2014-03-26}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Source Engine (orange box branch) ==&lt;br /&gt;
&lt;br /&gt;
{{VersionTableHeader}}&lt;br /&gt;
{{VersionTableRowOld|patches=1|2.41||2013-03-23}}&lt;br /&gt;
{{VersionTableRowOld|patches=1|2.4||2012-12-27}}&lt;br /&gt;
{{VersionTableRowOld|patches=2|Steam Release| 2|2011-11-26}}&amp;lt;!--Also called 2.4. A whole lot of changes had their changelogs combined here.--&amp;gt;&lt;br /&gt;
{{VersionTableRowOld|Steam Release| 1|2011-03-09}}&amp;lt;!--A version &amp;quot;between 2.30 and 2.31&amp;quot;--&amp;gt;&lt;br /&gt;
{{VersionTableRowOld|patches=1|2.31|a|2011-02-22}}&lt;br /&gt;
{{VersionTableRowOld|patches=1|2.30||2010-11-21}}&lt;br /&gt;
{{VersionTableRowOld|patches=1|2.29||2010-11-8}}&lt;br /&gt;
{{VersionTableRowOld|patches=2|2.28|b|2010-10-28}}&lt;br /&gt;
{{VersionTableRowOld|2.28||2010-10-11}}&lt;br /&gt;
{{VersionTableRowOld|patches=1|2.27||2010-09-30}}&lt;br /&gt;
{{VersionTableRowOld|patches=3|2.26||2010-09-25}}&lt;br /&gt;
{{VersionTableRowOld|2.26| Rc2|2010-09-23}}&lt;br /&gt;
{{VersionTableRowOld|2.26| Rc1|2010-09-23}}&lt;br /&gt;
{{VersionTableRowOld|patches=3|2.25|b|2010-04-29}}&lt;br /&gt;
{{VersionTableRowOld|2.25|a|2010-04-18}}&lt;br /&gt;
{{VersionTableRowOld|2.25||2010-04-14}}&lt;br /&gt;
{{VersionTableRowOld|patches=5|2.24|e|2009-07-24|type=Linux hotfix}}&lt;br /&gt;
{{VersionTableRowOld|2.24|d|2009-05-21}}&lt;br /&gt;
{{VersionTableRowOld|2.24|c|2009-05-08|type=Balancing hotfix}}&lt;br /&gt;
{{VersionTableRowOld|2.24|b|2009-05-08}}&lt;br /&gt;
{{VersionTableRowOld|2.24||2009-05-07|type=Prerelease}}&lt;br /&gt;
{{VersionTableRowOld|patches=4|2.2|3|2009-03-14}}&lt;br /&gt;
{{VersionTableRowOld|2.2|2|2009-01-19}}&lt;br /&gt;
{{VersionTableRowOld|2.2|1|2008-12-30}}&lt;br /&gt;
{{VersionTableRowOld|2.2||2008-12-13}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Source Engine (hl2 branch) ==&lt;br /&gt;
&lt;br /&gt;
{{VersionTableHeader}}&lt;br /&gt;
{{VersionTableRowOld|patches=2|2.1|1|2008-01-03}}&lt;br /&gt;
{{VersionTableRowOld|2.1||2008-01-02}}&lt;br /&gt;
{{VersionTableRowOld|patches=1|2.0||2007-11-30}}&lt;br /&gt;
{{VersionTableRowOld|patches=10|1.0|71|2006-07-31}}&lt;br /&gt;
{{VersionTableRowOld|1.0|7|2006-07-23}}&lt;br /&gt;
{{VersionTableRowOld|1.0|6|2006-07-2}}&lt;br /&gt;
{{VersionTableRowOld|1.0|5|2006-05-14}}&amp;lt;!--First version to have a forum post--&amp;gt;&lt;br /&gt;
{{VersionTableRowOld|1.0|4}}&lt;br /&gt;
{{VersionTableRowOld|1.0|31}}&lt;br /&gt;
{{VersionTableRowOld|1.0|3}}&lt;br /&gt;
{{VersionTableRowOld|1.0|2}}&lt;br /&gt;
{{VersionTableRowOld|1.0|1|2006-03-17}}&lt;br /&gt;
{{VersionTableRowOld|1.0||2006-03-04}}&lt;br /&gt;
|}&lt;br /&gt;
== Refractor 2 Engine ==&lt;br /&gt;
&lt;br /&gt;
{{VersionTableHeader}}&lt;br /&gt;
{{VersionTableRowOld|patches=1|0.2||2004-04-10}}&lt;br /&gt;
{{VersionTableRowOld|patches=2|0.1||2004-02-08}}&lt;br /&gt;
{{VersionTableRowOld|0.1||2004-01-10}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Misc. Pages ==&lt;br /&gt;
{{fixme|These pages contain content that needs to be split up into the redlink pages above.}}&lt;br /&gt;
* [[Change_Log_(2.8-2.25)|2.8 - 2.25]]&lt;br /&gt;
* [[Change_Log_(pre_2.25)|2.25 and older]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10977</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10977"/>
		<updated>2024-03-12T22:12:56Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Dedicated Server - SteamCMD */ fix outdated district map name in the start command :D&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map con_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
 mkdir -p /etc/apt/keyrings/&lt;br /&gt;
 wget -qO- https://deb1.ws.maxmaton.nl/debian/signing.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/maxmaton.gpg &amp;gt;/dev/null&lt;br /&gt;
 echo &#039;deb [signed-by=/etc/apt/keyrings/maxmaton.gpg] http://deb.maxmaton.nl/debian buster main non-free&#039; | sudo tee /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;When it shows the license agreement, you have to press TAB to put your cursor to OK button.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package :  &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Warning!&#039;&#039; &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;Takes a long time to install.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;This pack is no longer maintained, and has outdated versions of maps.&#039;&#039;  &amp;lt;br&amp;gt;&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
Typing quit in server console will automatically restart the server. &amp;lt;br&amp;gt;&lt;br /&gt;
When server crashes it will restart automatically. (unless it freezes) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in &#039;&#039;&#039;/var/lib/empires&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10969</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10969"/>
		<updated>2024-02-21T20:40:01Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Dedicated Server - APT */ mention the TAB key on license during installation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
 mkdir -p /etc/apt/keyrings/&lt;br /&gt;
 wget -qO- https://deb1.ws.maxmaton.nl/debian/signing.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/maxmaton.gpg &amp;gt;/dev/null&lt;br /&gt;
 echo &#039;deb [signed-by=/etc/apt/keyrings/maxmaton.gpg] http://deb.maxmaton.nl/debian buster main non-free&#039; | sudo tee /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;When it shows the license agreement, you have to press TAB to put your cursor to OK button.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package :  &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Warning!&#039;&#039; &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;Takes a long time to install.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;This pack is no longer maintained, and has outdated versions of maps.&#039;&#039;  &amp;lt;br&amp;gt;&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
Typing quit in server console will automatically restart the server. &amp;lt;br&amp;gt;&lt;br /&gt;
When server crashes it will restart automatically. (unless it freezes) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in &#039;&#039;&#039;/var/lib/empires&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10968</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10968"/>
		<updated>2024-02-21T20:37:40Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Dedicated Server - APT */ remove the deprecated apt-key method and adjust the modern method, as also folder needs to be created on debian 10&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
 mkdir -p /etc/apt/keyrings/&lt;br /&gt;
 wget -qO- https://deb1.ws.maxmaton.nl/debian/signing.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/maxmaton.gpg &amp;gt;/dev/null&lt;br /&gt;
 echo &#039;deb [signed-by=/etc/apt/keyrings/maxmaton.gpg] http://deb.maxmaton.nl/debian buster main non-free&#039; | sudo tee /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package :  &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Warning!&#039;&#039; &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;Takes a long time to install.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;This pack is no longer maintained, and has outdated versions of maps.&#039;&#039;  &amp;lt;br&amp;gt;&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
Typing quit in server console will automatically restart the server. &amp;lt;br&amp;gt;&lt;br /&gt;
When server crashes it will restart automatically. (unless it freezes) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in &#039;&#039;&#039;/var/lib/empires&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10967</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10967"/>
		<updated>2024-02-21T20:21:23Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Dedicated Server - APT */ Remove the debian 11 and 12 mentions, the GDB/lib32gcc1 actually does not work and produces errors when starting server, had no luck getting it to work with new lib32gcc-s1 in 11 and 12 - not sure what issues that causes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
The above is deprecated way of adding the key and repo. This is the new way, but I have yet to test it on Debian 10 or 11 (only tried 12)&lt;br /&gt;
 wget -qO- https://deb1.ws.maxmaton.nl/debian/signing.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/maxmaton.gpg &amp;gt;/dev/null&lt;br /&gt;
 echo &#039;deb [signed-by=/etc/apt/keyrings/maxmaton.gpg] http://deb.maxmaton.nl/debian buster main non-free&#039; | sudo tee /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package :  &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Warning!&#039;&#039; &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;Takes a long time to install.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;This pack is no longer maintained, and has outdated versions of maps.&#039;&#039;  &amp;lt;br&amp;gt;&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
Typing quit in server console will automatically restart the server. &amp;lt;br&amp;gt;&lt;br /&gt;
When server crashes it will restart automatically. (unless it freezes) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in &#039;&#039;&#039;/var/lib/empires&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10966</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10966"/>
		<updated>2024-02-21T18:14:52Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Dedicated Server - APT */ add debian 12 notes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
Debian 11 has some packages deprecated, this method will not work as described. However you can start with Debian 10 and then later upgrade to 11. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
(Debian 12 would need &amp;quot;apt install lib32gcc-sl&amp;quot; ... Debian 12 guide to be updated)&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
The above is deprecated way of adding the key and repo. This is the new way, but I have yet to test it on Debian 10 or 11 (only tried 12)&lt;br /&gt;
 wget -qO- https://deb1.ws.maxmaton.nl/debian/signing.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/maxmaton.gpg &amp;gt;/dev/null&lt;br /&gt;
 echo &#039;deb [signed-by=/etc/apt/keyrings/maxmaton.gpg] http://deb.maxmaton.nl/debian buster main non-free&#039; | sudo tee /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package :  &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Warning!&#039;&#039; &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;Takes a long time to install.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;This pack is no longer maintained, and has outdated versions of maps.&#039;&#039;  &amp;lt;br&amp;gt;&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
Typing quit in server console will automatically restart the server. &amp;lt;br&amp;gt;&lt;br /&gt;
When server crashes it will restart automatically. (unless it freezes) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in &#039;&#039;&#039;/var/lib/empires&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10965</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10965"/>
		<updated>2024-02-21T17:47:04Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Dedicated Server - APT */ add nondeprecated way of adding a key and repo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
Debian 11 has some packages deprecated, this method will not work as described. However you can start with Debian 10 and then later upgrade to 11. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
The above is deprecated way of adding the key and repo. This is the new way, but I have yet to test it on Debian 10 or 11 (only 12)&lt;br /&gt;
 wget -qO- https://deb1.ws.maxmaton.nl/debian/signing.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/maxmaton.gpg &amp;gt;/dev/null&lt;br /&gt;
 echo &#039;deb [signed-by=/etc/apt/keyrings/maxmaton.gpg] http://deb.maxmaton.nl/debian buster main non-free&#039; | sudo tee /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package :  &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Warning!&#039;&#039; &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;Takes a long time to install.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;This pack is no longer maintained, and has outdated versions of maps.&#039;&#039;  &amp;lt;br&amp;gt;&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
Typing quit in server console will automatically restart the server. &amp;lt;br&amp;gt;&lt;br /&gt;
When server crashes it will restart automatically. (unless it freezes) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in &#039;&#039;&#039;/var/lib/empires&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10964</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10964"/>
		<updated>2024-02-20T20:50:30Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Dedicated Server - APT */ mention that the map pack is not maintained&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
Debian 11 has some packages deprecated, this method will not work as described. However you can start with Debian 10 and then later upgrade to 11. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package :  &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;Warning!&#039;&#039; &amp;lt;br&amp;gt; &lt;br /&gt;
&#039;&#039;Takes a long time to install.&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;This pack is no longer maintained, and has outdated versions of maps.&#039;&#039;  &amp;lt;br&amp;gt;&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
Typing quit in server console will automatically restart the server. &amp;lt;br&amp;gt;&lt;br /&gt;
When server crashes it will restart automatically. (unless it freezes) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in &#039;&#039;&#039;/var/lib/empires&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Sourcemod_Plugins&amp;diff=10952</id>
		<title>Sourcemod Plugins</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Sourcemod_Plugins&amp;diff=10952"/>
		<updated>2024-02-06T17:00:05Z</updated>

		<summary type="html">&lt;p&gt;Neoony: EventTimeleftHostname is 100% my plugin -.-&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
=Sourcemod installation=&lt;br /&gt;
Check the following page for guide how to install Metamod and Sourcemod: [[Sourcemod]]&lt;br /&gt;
=Empires Specific Plugins=&lt;br /&gt;
Empires has a few specific plugins coded by members of its community, you can find them on [https://git.empiresmod.com/sourcemod Empires&#039; Gitlab].&lt;br /&gt;
==Draftpick==&lt;br /&gt;
[[Draftpick]] is a [[Sourcemod]] plugin by [[Mikleo]], it is responsible for automatically balancing the players between teams using statistics gathered by [[Empstats]]. It includes four types of Draft.&lt;br /&gt;
==Empfun==&lt;br /&gt;
[[Empfun]] is a [[Sourcemod]] plugin by [[Mikleo]], it adds a way to manipulate entities within the game and create custom scenarios.&lt;br /&gt;
==Empstats==&lt;br /&gt;
[[Empstats]] is a [[Sourcemod]] plugin by [[Mikleo]], it tracks various statistics.&lt;br /&gt;
==Emputils==&lt;br /&gt;
[[Emputils]] is a [[Sourcemod]] plugin by [[Mikleo]], it contains various utilities to be used by other plugins.&lt;br /&gt;
==EventTimeleftHostname==&lt;br /&gt;
[[EventTimeleftHostname]] is a [[Sourcemod]] plugin by [[Neoony]], it allows server owners to display a countdown in their server&#039;s title.&lt;br /&gt;
==Lawlietstats==&lt;br /&gt;
[[Lawlietstats]] is a [[Sourcemod]] plugin by [[Lawliet]], it collects various informations.&lt;br /&gt;
==Lobby==&lt;br /&gt;
[[Lobby]] is a [[Sourcemod]] plugin by [[Neoony]], it controls the Lobby Server.&lt;br /&gt;
==NoCommExtendVote==&lt;br /&gt;
&#039;&#039;&#039;No Commander Extend Vote&#039;&#039;&#039; or [[NCEV]] for short is a [[Sourcemod]] plugin by [[Neoony]], it automatically detects commanders and only allows the game to start if both teams have a commander. &amp;lt;br /&amp;gt;&lt;br /&gt;
==PugPlugin==&lt;br /&gt;
==ResearchInfo==&lt;br /&gt;
[[ResearchInfo]] is a [[Sourcemod]] plugin by [[Neoony]], gives a chat command to show what your team has researched in console. Unstable and unfinished. WIP&lt;br /&gt;
==sameIPBlock==&lt;br /&gt;
[[sameIPBlock]] is a [[Sourcemod]] plugin by [[Neoony]], only allows players to join from unique IP address.&lt;br /&gt;
==SourcemodOffsets==&lt;br /&gt;
[[SourcemodOffsets]] is a [[Sourcemod]] plugin by [[Neoony]], it automatically updates the sourcemod offsets required for Empires when they change.&lt;br /&gt;
==SquadControl==&lt;br /&gt;
[[Squadcontrol]] is a [[Sourcemod]] plugin by [[Mikleo]], it adds various utilities for Empires.&lt;br /&gt;
==Surrender==&lt;br /&gt;
[[Surrender]] is a [[SourceMod]] plugin by [[Neoony]], it allows players to trigger a vote to surrender which if successful destroys their [[Command Vehicle]].&amp;lt;br /&amp;gt;&lt;br /&gt;
==Updater==&lt;br /&gt;
[[Updater]] is a [[Sourcemod]] plugin by &amp;lt;&amp;gt; and updated for Empires by [[Neoony]], it allows servers to automatically update their plugins.&lt;br /&gt;
==Ungrief==&lt;br /&gt;
[[Ungrief]] is a [[Sourcemod]] plugin by [[Theowningone]] and updated by [[Neoony]], it allows admins to teleport the [[Command Vehicle]].&lt;br /&gt;
==Votetime==&lt;br /&gt;
[[Votetime]] is a [[Sourcemod]] plugin by [[Mikleo]], it adds commands to control the commander vote timer.&lt;br /&gt;
==vprofReport==&lt;br /&gt;
[[vprofReport]] is a [[Sourcemod]] plugin by [[Neoony]], automatically start &amp;quot;vprof&amp;quot; at certain number of clients on the server and then generates report when the round ends.&lt;br /&gt;
=Generic Plugins=&lt;br /&gt;
== End of Round AllTalk ==&lt;br /&gt;
Original Plugin: https://forums.alliedmods.net/showthread.php?p=1246351&lt;br /&gt;
== Chat Triggers ==&lt;br /&gt;
Plugin link: https://forums.alliedmods.net/showthread.php?p=585758 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Advertisements 2.0 ==&lt;br /&gt;
Plugin link: https://forums.alliedmods.net/showthread.php?t=155705 &amp;lt;br /&amp;gt;&lt;br /&gt;
Simple advertisements plugin. It supports center, chat, hint, menu and top messages.&lt;br /&gt;
== SourceBans++ ==&lt;br /&gt;
Plugin link: https://sbpp.github.io/ &amp;lt;br /&amp;gt;&lt;br /&gt;
Unofficial more updated version of SourceBans. &amp;lt;br /&amp;gt;&lt;br /&gt;
-SourceBans++ is a majorly improved version of SourceBans 1.4.11 which was developed by GameConnect. &amp;lt;br /&amp;gt;&lt;br /&gt;
Those major improvements include a new design, more stable web application, login via steam account and much more community made customizations. &amp;lt;br /&amp;gt;&lt;br /&gt;
== SourceBot ==&lt;br /&gt;
&#039;&#039;Original Plugin link:&#039;&#039; https://forums.alliedmods.net/showthread.php?p=883997 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TeamSwitch ==&lt;br /&gt;
Plugin link: https://forums.alliedmods.net/showthread.php?p=587405 &amp;lt;br /&amp;gt;&lt;br /&gt;
This is a fully mod-independent team switching plugin, which gives an admin the ability to switch players to the opposite team either immediately,  &amp;lt;br /&amp;gt;&lt;br /&gt;
when they die, or at the end of the round (where appropriate). &amp;lt;br /&amp;gt;&lt;br /&gt;
Players can also be switched to spectators. &amp;lt;br /&amp;gt;&lt;br /&gt;
TeamSwitch detects which mod it is being run on at startup and configures itself accordingly. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ultimate Mapchooser 3.4.5 ==&lt;br /&gt;
Plugin link: https://forums.alliedmods.net/showthread.php?t=134190 &amp;lt;br /&amp;gt;&lt;br /&gt;
Ultimate Mapchooser allows for increased control over map selection. This includes: &amp;lt;br /&amp;gt;&lt;br /&gt;
* Random selection of the next map. &amp;lt;br /&amp;gt;&lt;br /&gt;
* Which maps are added to votes &amp;lt;br /&amp;gt;&lt;br /&gt;
* Which maps are available for nominations &amp;lt;br /&amp;gt;&lt;br /&gt;
You can control how the randomization works by dividing your map rotation into groups, and controlling the weights of each group or each individual map, &amp;lt;br /&amp;gt;&lt;br /&gt;
specify a minimum or maximum number of players allowed on the server for the map to be available, specify how many maps from a group are allowed in a vote, etc. &amp;lt;br /&amp;gt;&lt;br /&gt;
EDIT: It seems the original version isnt working even with Creepers event fix for end of map votes. &amp;lt;br /&amp;gt;&lt;br /&gt;
Here is cyberkillers version: https://github.com/CyberKiller/Ultimate-Mapchooser &amp;lt;br /&amp;gt;&lt;br /&gt;
But it might be a little outdated...&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Execute Configs ==&lt;br /&gt;
&#039;&#039;Original Plugin link:&#039;&#039; https://forums.alliedmods.net/showthread.php?t=67620&amp;lt;br /&amp;gt;&lt;br /&gt;
This plugin executes configs when there are either a certain amount of clients on, a certain event occurs, a certain round starts or when there are a certain amount of minutes left on the map. &amp;lt;br /&amp;gt;&lt;br /&gt;
You can use this to disable alltalk above x clients, or to change the map when the timelimit hits, etc. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;More updated version (1.2.4) + added empires roundstart/gamestart events:&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/executeconfigs &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Sourcemod]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Sourcemod&amp;diff=10951</id>
		<title>Sourcemod</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Sourcemod&amp;diff=10951"/>
		<updated>2024-02-06T16:51:05Z</updated>

		<summary type="html">&lt;p&gt;Neoony: Add info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sourcemod allows you to extend Empires without having access to the C++ code.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
* Install MetaMod:&lt;br /&gt;
** Download for [https://www.sourcemm.net/downloads.php?branch=stable Metamod]&lt;br /&gt;
** Copy the Addons folder into your empires folder&lt;br /&gt;
* Download sourcemod: http://www.sourcemod.net/downloads.php?branch=stable&lt;br /&gt;
* Copy the cfg and addons folders to your empires folder&lt;br /&gt;
* Install some [[Sourcemod Plugins]]&lt;br /&gt;
&lt;br /&gt;
Make sure to edit following file: .../empires/empires/addons/metamod.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
Put the following in (overwrite what is already there): &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;file&amp;quot;    &amp;quot;empires/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also just in case, remove any x64 files in metamod &amp;lt;br /&amp;gt;&lt;br /&gt;
Windows: &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod_x64.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod\bin\win64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\x64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\sourcemod_mm.x64.dll &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linux: &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod_x64.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod\bin\linux64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod\bin\linuxsteamrt64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\x64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\sourcemod_mm.x64.so &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
It was once causing some issue for someone. Empires does not support x64, so just delete any such files to avoid any issues. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing Plugins ==&lt;br /&gt;
Empires has a lot of [[Game_events_added | game events]] you can make use of. For an example of plugins you can make see our [https://git.empiresmod.com/sourcemod/ sourcemod repository].&lt;br /&gt;
&lt;br /&gt;
== Compiling from Source ==&lt;br /&gt;
Thanks to people smarter than me, compiling from source is pretty easy. &amp;lt;br /&amp;gt;&lt;br /&gt;
Take your source-file or source-text and pop it in this: http://www.sourcemod.net/compiler.php &amp;lt;br /&amp;gt;&lt;br /&gt;
Download your compiled plugin, and put it in your sourcemod/plugins folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or you can use spcomp.exe inside your sourcemod folders (\addons\sourcemod\scripting\spcomp.exe) (for windows) &amp;lt;br /&amp;gt;&lt;br /&gt;
Just drag and drop your source-file onto the .exe. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sourcemod offsets and signatures ==&lt;br /&gt;
&#039;&#039;&#039;Get latest offsets ready to use here&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/sourcemodoffsets &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you have issues with invalid signatures. &amp;lt;br /&amp;gt;&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;L 03/18/2017 - 00:02:51: [SDKTOOLS] Invalid detour address passed - Disabling detour to prevent crashes&lt;br /&gt;
L 03/18/2017 - 00:02:51: [SM] Exception reported: Entity Outputs are disabled - See error logs for details&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Choice 1.&#039;&#039;&#039; &#039;&#039;&#039;Just download latest ready to use offsets here:&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/sourcemodoffsets &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Choice 2.&#039;&#039;&#039; Replace the linux signatures in sdkhooks and sdktools files with the mac signatures. (this is already included in the above release)  &amp;lt;br /&amp;gt;&lt;br /&gt;
This is rather temporary fix and needs testing &amp;lt;br /&amp;gt;&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;/* CBaseEntityOutput::FireOutput */&lt;br /&gt;
	&amp;quot;#default&amp;quot;&lt;br /&gt;
	{&lt;br /&gt;
		&amp;quot;Signatures&amp;quot;&lt;br /&gt;
		{&lt;br /&gt;
			&amp;quot;FireOutput&amp;quot;&lt;br /&gt;
			{&lt;br /&gt;
				&amp;quot;library&amp;quot;	&amp;quot;server&amp;quot;&lt;br /&gt;
				&amp;quot;windows&amp;quot;	&amp;quot;\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\x2A\x8B\x45\x2A\x53\x56\x8B\x2A\x2A\x57\x8B\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\xC7&amp;quot;&lt;br /&gt;
				&amp;quot;linux&amp;quot;		&amp;quot;@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f&amp;quot;&lt;br /&gt;
				&amp;quot;mac&amp;quot;		&amp;quot;@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f&amp;quot;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Dumping updated Sourcemod offsets and signatures ==&lt;br /&gt;
Related thread: https://forums.empiresmod.com/index.php?threads/calculating-updated-sourcemod-vtable-offsets.20571/  &amp;lt;br /&amp;gt;&lt;br /&gt;
Tool needed: https://delftelectronics.nl/empires/tools/vtablescanner3.zip  &amp;lt;br /&amp;gt;&lt;br /&gt;
The tool requires linux. If you are running 64bit linux, you will probably need to run the following to be able to run 32bit apps:  &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg --add-architecture i386&lt;br /&gt;
apt-get update&lt;br /&gt;
apt install libc6:i386 libelf1:i386&amp;lt;/pre&amp;gt;&lt;br /&gt;
Unpack the vtablescanner3.zip anywhere in your linux. &amp;lt;br /&amp;gt;&lt;br /&gt;
Next you need a server.so file from your dedicated server which is located in /empires_dedicated/empires/bin &amp;lt;br /&amp;gt;&lt;br /&gt;
Copy server.so to the Release folder in the vtablescanner folder that you extracted. (vtablescanner/Release/server.so) &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now open your terminal inside the Release folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
And enter the following command: &lt;br /&gt;
&amp;lt;pre&amp;gt;LD_LIBRARY_PATH=&amp;quot;./&amp;quot; ./vtabledump ./server.so &#039;_ZTV10CEmpPlayer&#039; &amp;gt;dump.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
The outputted RAW offsets are now located in vtablescanner/Release/dump.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Now if you want to output a proper file for SourceMod. &amp;lt;br /&amp;gt;&lt;br /&gt;
Open the terminal again inside Release folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
Type: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;./createoffsetscript &amp;gt;dumpsmoffsets.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
This output file is the game.empires.txt which you can put into your: &amp;lt;br /&amp;gt;&lt;br /&gt;
\addons\sourcemod\gamedata\sdkhooks.games\custom\game.empires.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
\addons\sourcemod\gamedata\sdktools.games\custom\game.empires.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Also check this for offsets that need adjusting after a dump: https://git.empiresmod.com/sourcemod/sourcemodoffsets/issues/1&#039;&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plugin-Making tips ==&lt;br /&gt;
Dumping:&lt;br /&gt;
To get a dump of entity properties specific to empires and similar things, use following commands. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_teprops&amp;quot;&#039;&#039;&#039; - Dumps tempentity props to a file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_netprops_xml&amp;quot;&#039;&#039;&#039; - Dumps the networkable property table as an XML file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_netprops&amp;quot;&#039;&#039;&#039; - Dumps the networkable property table as a text file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_classes&amp;quot;&#039;&#039;&#039; - Dumps the class list as a text file  &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_datamaps&amp;quot;&#039;&#039;&#039; - Dumps the data map list as a text file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_admcache&amp;quot;&#039;&#039;&#039; - Dumps the admin cache for debugging  &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_handles&amp;quot;&#039;&#039;&#039; - Dumps Handle usage to a file for finding Handle leaks  &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Just add a filename after the command and you will find the dump files in empires folder.  &amp;lt;br /&amp;gt;&lt;br /&gt;
Just using some of those commands might make your client/server hang or even crash, but it will probably still make the dump, or just retry.  &amp;lt;br /&amp;gt;&lt;br /&gt;
------&lt;br /&gt;
&#039;&#039;&#039;Colors for messages:&#039;&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
Custom colors usable by PrintToChat and similar. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;Examples:&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;\x079764FF BE&lt;br /&gt;
\x07FF2323 NF&lt;br /&gt;
&lt;br /&gt;
PrintToChatAll(&amp;quot;\x04[PLUGIN]\x079764FF BE\x01 not ready&amp;quot;);&lt;br /&gt;
PrintToChatAll(&amp;quot;\x04[PLUGIN]\x01 Commander left\x07FF2323 NF&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;\x07&#039;&#039;&#039; - &#039;&#039;Type of coloring/message (custom colors seem to only work with \x07 and \x08)&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;9764FF&#039;&#039;&#039; - &#039;&#039;HTML &#039;&#039;&#039;RRGGBB&#039;&#039;&#039; color without the &#039;&#039;&#039;#&#039;&#039;&#039; (You can pick your own color for example here: https://www.w3schools.com/colors/colors_picker.asp)&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Neoony&#039;s color standards:&#039;&#039;&#039; (Updated 18.4.2017 - Added player name color&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;\x01 for standard text&lt;br /&gt;
\x04 for plugin things (example: &amp;quot;\x04[NCEV]\x01&amp;quot;) [green]&lt;br /&gt;
\x079764FF for Brenodi Empire team [eyedropped from chat text]&lt;br /&gt;
\x07FF2323 for Northern Faction team [eyedropped from chat text]&lt;br /&gt;
\x07CB4491 for Both teams [mixed color of BE and NF, somewhat pink]&lt;br /&gt;
\x07CCCCCC for Spectators [gray]&lt;br /&gt;
\x07ff6600 for player name, if you cant use team colors for that [orange]&lt;br /&gt;
\x073399ff for displaying time, mainly seconds [light blue]&lt;br /&gt;
\x07008000 for enabled, unlocked or simply positive [green]&lt;br /&gt;
\x07b30000 for disabled, locked or simply negative, also for warnings [red]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Sourcemod]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Sourcemod&amp;diff=10950</id>
		<title>Sourcemod</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Sourcemod&amp;diff=10950"/>
		<updated>2024-02-06T16:40:52Z</updated>

		<summary type="html">&lt;p&gt;Neoony: I hate this wiki formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sourcemod allows you to extend Empires without having access to the C++ code.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
* Install MetaMod:&lt;br /&gt;
** Download for [https://www.sourcemm.net/downloads.php?branch=stable Metamod]&lt;br /&gt;
** Copy the Addons folder into your empires folder&lt;br /&gt;
* Download sourcemod: http://www.sourcemod.net/downloads.php?branch=stable&lt;br /&gt;
* Copy the cfg and addons folders to your empires folder&lt;br /&gt;
* Install some [[Sourcemod Plugins]]&lt;br /&gt;
&lt;br /&gt;
Make sure to edit following file: .../empires/empires/addons/metamod.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
Put the following in: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;file&amp;quot;    &amp;quot;empires/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also just in case, remove any x64 files in metamod &amp;lt;br /&amp;gt;&lt;br /&gt;
Windows: &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod_x64.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod\bin\win64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\x64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\sourcemod_mm.x64.dll &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linux: &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod_x64.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod\bin\linux64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod\bin\linuxsteamrt64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\x64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\sourcemod_mm.x64.so &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
It was once causing some issue for someone. Empires does not support x64, so just delete any such files to avoid any issues. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing Plugins ==&lt;br /&gt;
Empires has a lot of [[Game_events_added | game events]] you can make use of. For an example of plugins you can make see our [https://git.empiresmod.com/sourcemod/ sourcemod repository].&lt;br /&gt;
&lt;br /&gt;
== Compiling from Source ==&lt;br /&gt;
Thanks to people smarter than me, compiling from source is pretty easy. &amp;lt;br /&amp;gt;&lt;br /&gt;
Take your source-file or source-text and pop it in this: http://www.sourcemod.net/compiler.php &amp;lt;br /&amp;gt;&lt;br /&gt;
Download your compiled plugin, and put it in your sourcemod/plugins folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or you can use spcomp.exe inside your sourcemod folders (\addons\sourcemod\scripting\spcomp.exe) (for windows) &amp;lt;br /&amp;gt;&lt;br /&gt;
Just drag and drop your source-file onto the .exe. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sourcemod offsets and signatures ==&lt;br /&gt;
&#039;&#039;&#039;Get latest offsets ready to use here&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/sourcemodoffsets &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you have issues with invalid signatures. &amp;lt;br /&amp;gt;&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;L 03/18/2017 - 00:02:51: [SDKTOOLS] Invalid detour address passed - Disabling detour to prevent crashes&lt;br /&gt;
L 03/18/2017 - 00:02:51: [SM] Exception reported: Entity Outputs are disabled - See error logs for details&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Choice 1.&#039;&#039;&#039; &#039;&#039;&#039;Just download latest ready to use offsets here:&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/sourcemodoffsets &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Choice 2.&#039;&#039;&#039; Replace the linux signatures in sdkhooks and sdktools files with the mac signatures. (this is already included in the above release)  &amp;lt;br /&amp;gt;&lt;br /&gt;
This is rather temporary fix and needs testing &amp;lt;br /&amp;gt;&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;/* CBaseEntityOutput::FireOutput */&lt;br /&gt;
	&amp;quot;#default&amp;quot;&lt;br /&gt;
	{&lt;br /&gt;
		&amp;quot;Signatures&amp;quot;&lt;br /&gt;
		{&lt;br /&gt;
			&amp;quot;FireOutput&amp;quot;&lt;br /&gt;
			{&lt;br /&gt;
				&amp;quot;library&amp;quot;	&amp;quot;server&amp;quot;&lt;br /&gt;
				&amp;quot;windows&amp;quot;	&amp;quot;\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\x2A\x8B\x45\x2A\x53\x56\x8B\x2A\x2A\x57\x8B\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\xC7&amp;quot;&lt;br /&gt;
				&amp;quot;linux&amp;quot;		&amp;quot;@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f&amp;quot;&lt;br /&gt;
				&amp;quot;mac&amp;quot;		&amp;quot;@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f&amp;quot;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Dumping updated Sourcemod offsets and signatures ==&lt;br /&gt;
Related thread: https://forums.empiresmod.com/index.php?threads/calculating-updated-sourcemod-vtable-offsets.20571/  &amp;lt;br /&amp;gt;&lt;br /&gt;
Tool needed: https://delftelectronics.nl/empires/tools/vtablescanner3.zip  &amp;lt;br /&amp;gt;&lt;br /&gt;
The tool requires linux. If you are running 64bit linux, you will probably need to run the following to be able to run 32bit apps:  &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg --add-architecture i386&lt;br /&gt;
apt-get update&lt;br /&gt;
apt install libc6:i386 libelf1:i386&amp;lt;/pre&amp;gt;&lt;br /&gt;
Unpack the vtablescanner3.zip anywhere in your linux. &amp;lt;br /&amp;gt;&lt;br /&gt;
Next you need a server.so file from your dedicated server which is located in /empires_dedicated/empires/bin &amp;lt;br /&amp;gt;&lt;br /&gt;
Copy server.so to the Release folder in the vtablescanner folder that you extracted. (vtablescanner/Release/server.so) &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now open your terminal inside the Release folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
And enter the following command: &lt;br /&gt;
&amp;lt;pre&amp;gt;LD_LIBRARY_PATH=&amp;quot;./&amp;quot; ./vtabledump ./server.so &#039;_ZTV10CEmpPlayer&#039; &amp;gt;dump.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
The outputted RAW offsets are now located in vtablescanner/Release/dump.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Now if you want to output a proper file for SourceMod. &amp;lt;br /&amp;gt;&lt;br /&gt;
Open the terminal again inside Release folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
Type: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;./createoffsetscript &amp;gt;dumpsmoffsets.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
This output file is the game.empires.txt which you can put into your: &amp;lt;br /&amp;gt;&lt;br /&gt;
\addons\sourcemod\gamedata\sdkhooks.games\custom\game.empires.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
\addons\sourcemod\gamedata\sdktools.games\custom\game.empires.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Also check this for offsets that need adjusting after a dump: https://git.empiresmod.com/sourcemod/sourcemodoffsets/issues/1&#039;&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plugin-Making tips ==&lt;br /&gt;
Dumping:&lt;br /&gt;
To get a dump of entity properties specific to empires and similar things, use following commands. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_teprops&amp;quot;&#039;&#039;&#039; - Dumps tempentity props to a file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_netprops_xml&amp;quot;&#039;&#039;&#039; - Dumps the networkable property table as an XML file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_netprops&amp;quot;&#039;&#039;&#039; - Dumps the networkable property table as a text file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_classes&amp;quot;&#039;&#039;&#039; - Dumps the class list as a text file  &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_datamaps&amp;quot;&#039;&#039;&#039; - Dumps the data map list as a text file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_admcache&amp;quot;&#039;&#039;&#039; - Dumps the admin cache for debugging  &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_handles&amp;quot;&#039;&#039;&#039; - Dumps Handle usage to a file for finding Handle leaks  &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Just add a filename after the command and you will find the dump files in empires folder.  &amp;lt;br /&amp;gt;&lt;br /&gt;
Just using some of those commands might make your client/server hang or even crash, but it will probably still make the dump, or just retry.  &amp;lt;br /&amp;gt;&lt;br /&gt;
------&lt;br /&gt;
&#039;&#039;&#039;Colors for messages:&#039;&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
Custom colors usable by PrintToChat and similar. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;Examples:&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;\x079764FF BE&lt;br /&gt;
\x07FF2323 NF&lt;br /&gt;
&lt;br /&gt;
PrintToChatAll(&amp;quot;\x04[PLUGIN]\x079764FF BE\x01 not ready&amp;quot;);&lt;br /&gt;
PrintToChatAll(&amp;quot;\x04[PLUGIN]\x01 Commander left\x07FF2323 NF&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;\x07&#039;&#039;&#039; - &#039;&#039;Type of coloring/message (custom colors seem to only work with \x07 and \x08)&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;9764FF&#039;&#039;&#039; - &#039;&#039;HTML &#039;&#039;&#039;RRGGBB&#039;&#039;&#039; color without the &#039;&#039;&#039;#&#039;&#039;&#039; (You can pick your own color for example here: https://www.w3schools.com/colors/colors_picker.asp)&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Neoony&#039;s color standards:&#039;&#039;&#039; (Updated 18.4.2017 - Added player name color&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;\x01 for standard text&lt;br /&gt;
\x04 for plugin things (example: &amp;quot;\x04[NCEV]\x01&amp;quot;) [green]&lt;br /&gt;
\x079764FF for Brenodi Empire team [eyedropped from chat text]&lt;br /&gt;
\x07FF2323 for Northern Faction team [eyedropped from chat text]&lt;br /&gt;
\x07CB4491 for Both teams [mixed color of BE and NF, somewhat pink]&lt;br /&gt;
\x07CCCCCC for Spectators [gray]&lt;br /&gt;
\x07ff6600 for player name, if you cant use team colors for that [orange]&lt;br /&gt;
\x073399ff for displaying time, mainly seconds [light blue]&lt;br /&gt;
\x07008000 for enabled, unlocked or simply positive [green]&lt;br /&gt;
\x07b30000 for disabled, locked or simply negative, also for warnings [red]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Sourcemod]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Sourcemod&amp;diff=10949</id>
		<title>Sourcemod</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Sourcemod&amp;diff=10949"/>
		<updated>2024-02-06T16:40:19Z</updated>

		<summary type="html">&lt;p&gt;Neoony: Fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sourcemod allows you to extend Empires without having access to the C++ code.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
* Install MetaMod:&lt;br /&gt;
** Download for [https://www.sourcemm.net/downloads.php?branch=stable Metamod]&lt;br /&gt;
** Copy the Addons folder into your empires folder&lt;br /&gt;
* Download sourcemod: http://www.sourcemod.net/downloads.php?branch=stable&lt;br /&gt;
* Copy the cfg and addons folders to your empires folder&lt;br /&gt;
* Install some [[Sourcemod Plugins]]&lt;br /&gt;
&lt;br /&gt;
Make sure to edit following file: .../empires/empires/addons/metamod.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
Put the following in: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;file&amp;quot;    &amp;quot;empires/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also just in case, remove any x64 files in metamod &amp;lt;br /&amp;gt;&lt;br /&gt;
Windows:&lt;br /&gt;
addons\metamod_x64.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod\bin\win64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\x64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\sourcemod_mm.x64.dll &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Linux:&lt;br /&gt;
addons\metamod_x64.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod\bin\linux64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod\bin\linuxsteamrt64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\x64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\sourcemod_mm.x64.so &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
It was once causing some issue for someone. Empires does not support x64, so just delete any such files to avoid any issues. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing Plugins ==&lt;br /&gt;
Empires has a lot of [[Game_events_added | game events]] you can make use of. For an example of plugins you can make see our [https://git.empiresmod.com/sourcemod/ sourcemod repository].&lt;br /&gt;
&lt;br /&gt;
== Compiling from Source ==&lt;br /&gt;
Thanks to people smarter than me, compiling from source is pretty easy. &amp;lt;br /&amp;gt;&lt;br /&gt;
Take your source-file or source-text and pop it in this: http://www.sourcemod.net/compiler.php &amp;lt;br /&amp;gt;&lt;br /&gt;
Download your compiled plugin, and put it in your sourcemod/plugins folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or you can use spcomp.exe inside your sourcemod folders (\addons\sourcemod\scripting\spcomp.exe) (for windows) &amp;lt;br /&amp;gt;&lt;br /&gt;
Just drag and drop your source-file onto the .exe. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sourcemod offsets and signatures ==&lt;br /&gt;
&#039;&#039;&#039;Get latest offsets ready to use here&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/sourcemodoffsets &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you have issues with invalid signatures. &amp;lt;br /&amp;gt;&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;L 03/18/2017 - 00:02:51: [SDKTOOLS] Invalid detour address passed - Disabling detour to prevent crashes&lt;br /&gt;
L 03/18/2017 - 00:02:51: [SM] Exception reported: Entity Outputs are disabled - See error logs for details&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Choice 1.&#039;&#039;&#039; &#039;&#039;&#039;Just download latest ready to use offsets here:&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/sourcemodoffsets &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Choice 2.&#039;&#039;&#039; Replace the linux signatures in sdkhooks and sdktools files with the mac signatures. (this is already included in the above release)  &amp;lt;br /&amp;gt;&lt;br /&gt;
This is rather temporary fix and needs testing &amp;lt;br /&amp;gt;&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;/* CBaseEntityOutput::FireOutput */&lt;br /&gt;
	&amp;quot;#default&amp;quot;&lt;br /&gt;
	{&lt;br /&gt;
		&amp;quot;Signatures&amp;quot;&lt;br /&gt;
		{&lt;br /&gt;
			&amp;quot;FireOutput&amp;quot;&lt;br /&gt;
			{&lt;br /&gt;
				&amp;quot;library&amp;quot;	&amp;quot;server&amp;quot;&lt;br /&gt;
				&amp;quot;windows&amp;quot;	&amp;quot;\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\x2A\x8B\x45\x2A\x53\x56\x8B\x2A\x2A\x57\x8B\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\xC7&amp;quot;&lt;br /&gt;
				&amp;quot;linux&amp;quot;		&amp;quot;@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f&amp;quot;&lt;br /&gt;
				&amp;quot;mac&amp;quot;		&amp;quot;@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f&amp;quot;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Dumping updated Sourcemod offsets and signatures ==&lt;br /&gt;
Related thread: https://forums.empiresmod.com/index.php?threads/calculating-updated-sourcemod-vtable-offsets.20571/  &amp;lt;br /&amp;gt;&lt;br /&gt;
Tool needed: https://delftelectronics.nl/empires/tools/vtablescanner3.zip  &amp;lt;br /&amp;gt;&lt;br /&gt;
The tool requires linux. If you are running 64bit linux, you will probably need to run the following to be able to run 32bit apps:  &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg --add-architecture i386&lt;br /&gt;
apt-get update&lt;br /&gt;
apt install libc6:i386 libelf1:i386&amp;lt;/pre&amp;gt;&lt;br /&gt;
Unpack the vtablescanner3.zip anywhere in your linux. &amp;lt;br /&amp;gt;&lt;br /&gt;
Next you need a server.so file from your dedicated server which is located in /empires_dedicated/empires/bin &amp;lt;br /&amp;gt;&lt;br /&gt;
Copy server.so to the Release folder in the vtablescanner folder that you extracted. (vtablescanner/Release/server.so) &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now open your terminal inside the Release folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
And enter the following command: &lt;br /&gt;
&amp;lt;pre&amp;gt;LD_LIBRARY_PATH=&amp;quot;./&amp;quot; ./vtabledump ./server.so &#039;_ZTV10CEmpPlayer&#039; &amp;gt;dump.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
The outputted RAW offsets are now located in vtablescanner/Release/dump.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Now if you want to output a proper file for SourceMod. &amp;lt;br /&amp;gt;&lt;br /&gt;
Open the terminal again inside Release folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
Type: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;./createoffsetscript &amp;gt;dumpsmoffsets.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
This output file is the game.empires.txt which you can put into your: &amp;lt;br /&amp;gt;&lt;br /&gt;
\addons\sourcemod\gamedata\sdkhooks.games\custom\game.empires.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
\addons\sourcemod\gamedata\sdktools.games\custom\game.empires.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Also check this for offsets that need adjusting after a dump: https://git.empiresmod.com/sourcemod/sourcemodoffsets/issues/1&#039;&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plugin-Making tips ==&lt;br /&gt;
Dumping:&lt;br /&gt;
To get a dump of entity properties specific to empires and similar things, use following commands. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_teprops&amp;quot;&#039;&#039;&#039; - Dumps tempentity props to a file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_netprops_xml&amp;quot;&#039;&#039;&#039; - Dumps the networkable property table as an XML file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_netprops&amp;quot;&#039;&#039;&#039; - Dumps the networkable property table as a text file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_classes&amp;quot;&#039;&#039;&#039; - Dumps the class list as a text file  &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_datamaps&amp;quot;&#039;&#039;&#039; - Dumps the data map list as a text file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_admcache&amp;quot;&#039;&#039;&#039; - Dumps the admin cache for debugging  &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_handles&amp;quot;&#039;&#039;&#039; - Dumps Handle usage to a file for finding Handle leaks  &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Just add a filename after the command and you will find the dump files in empires folder.  &amp;lt;br /&amp;gt;&lt;br /&gt;
Just using some of those commands might make your client/server hang or even crash, but it will probably still make the dump, or just retry.  &amp;lt;br /&amp;gt;&lt;br /&gt;
------&lt;br /&gt;
&#039;&#039;&#039;Colors for messages:&#039;&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
Custom colors usable by PrintToChat and similar. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;Examples:&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;\x079764FF BE&lt;br /&gt;
\x07FF2323 NF&lt;br /&gt;
&lt;br /&gt;
PrintToChatAll(&amp;quot;\x04[PLUGIN]\x079764FF BE\x01 not ready&amp;quot;);&lt;br /&gt;
PrintToChatAll(&amp;quot;\x04[PLUGIN]\x01 Commander left\x07FF2323 NF&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;\x07&#039;&#039;&#039; - &#039;&#039;Type of coloring/message (custom colors seem to only work with \x07 and \x08)&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;9764FF&#039;&#039;&#039; - &#039;&#039;HTML &#039;&#039;&#039;RRGGBB&#039;&#039;&#039; color without the &#039;&#039;&#039;#&#039;&#039;&#039; (You can pick your own color for example here: https://www.w3schools.com/colors/colors_picker.asp)&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Neoony&#039;s color standards:&#039;&#039;&#039; (Updated 18.4.2017 - Added player name color&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;\x01 for standard text&lt;br /&gt;
\x04 for plugin things (example: &amp;quot;\x04[NCEV]\x01&amp;quot;) [green]&lt;br /&gt;
\x079764FF for Brenodi Empire team [eyedropped from chat text]&lt;br /&gt;
\x07FF2323 for Northern Faction team [eyedropped from chat text]&lt;br /&gt;
\x07CB4491 for Both teams [mixed color of BE and NF, somewhat pink]&lt;br /&gt;
\x07CCCCCC for Spectators [gray]&lt;br /&gt;
\x07ff6600 for player name, if you cant use team colors for that [orange]&lt;br /&gt;
\x073399ff for displaying time, mainly seconds [light blue]&lt;br /&gt;
\x07008000 for enabled, unlocked or simply positive [green]&lt;br /&gt;
\x07b30000 for disabled, locked or simply negative, also for warnings [red]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Sourcemod]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Sourcemod&amp;diff=10948</id>
		<title>Sourcemod</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Sourcemod&amp;diff=10948"/>
		<updated>2024-02-06T16:31:58Z</updated>

		<summary type="html">&lt;p&gt;Neoony: Fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sourcemod allows you to extend Empires without having access to the C++ code.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
* Install MetaMod:&lt;br /&gt;
** Download for [https://www.sourcemm.net/downloads.php?branch=stable Metamod]&lt;br /&gt;
** Copy the Addons folder into your empires folder&lt;br /&gt;
* Download sourcemod: http://www.sourcemod.net/downloads.php?branch=stable&lt;br /&gt;
* Copy the cfg and addons folders to your empires folder&lt;br /&gt;
* Install some [[Sourcemod Plugins]]&lt;br /&gt;
&lt;br /&gt;
Make sure to edit following file: .../empires/empires/addons/metamod.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
Put the following in: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;file&amp;quot;    &amp;quot;empires/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also just in case, remove any x64 files in metamod &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod_x64.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod\bin\win64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\sourcemod\bin\x64&lt;br /&gt;
addons\sourcemod\bin\sourcemod_mm.x64.dll&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
It was once causing some issue for someone. Empires does not support x64, so just delete any such files to avoid any issues. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing Plugins ==&lt;br /&gt;
Empires has a lot of [[Game_events_added | game events]] you can make use of. For an example of plugins you can make see our [https://git.empiresmod.com/sourcemod/ sourcemod repository].&lt;br /&gt;
&lt;br /&gt;
== Compiling from Source ==&lt;br /&gt;
Thanks to people smarter than me, compiling from source is pretty easy. &amp;lt;br /&amp;gt;&lt;br /&gt;
Take your source-file or source-text and pop it in this: http://www.sourcemod.net/compiler.php &amp;lt;br /&amp;gt;&lt;br /&gt;
Download your compiled plugin, and put it in your sourcemod/plugins folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or you can use spcomp.exe inside your sourcemod folders (\addons\sourcemod\scripting\spcomp.exe) (for windows) &amp;lt;br /&amp;gt;&lt;br /&gt;
Just drag and drop your source-file onto the .exe. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sourcemod offsets and signatures ==&lt;br /&gt;
&#039;&#039;&#039;Get latest offsets ready to use here&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/sourcemodoffsets &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you have issues with invalid signatures. &amp;lt;br /&amp;gt;&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;L 03/18/2017 - 00:02:51: [SDKTOOLS] Invalid detour address passed - Disabling detour to prevent crashes&lt;br /&gt;
L 03/18/2017 - 00:02:51: [SM] Exception reported: Entity Outputs are disabled - See error logs for details&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Choice 1.&#039;&#039;&#039; &#039;&#039;&#039;Just download latest ready to use offsets here:&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/sourcemodoffsets &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Choice 2.&#039;&#039;&#039; Replace the linux signatures in sdkhooks and sdktools files with the mac signatures. (this is already included in the above release)  &amp;lt;br /&amp;gt;&lt;br /&gt;
This is rather temporary fix and needs testing &amp;lt;br /&amp;gt;&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;/* CBaseEntityOutput::FireOutput */&lt;br /&gt;
	&amp;quot;#default&amp;quot;&lt;br /&gt;
	{&lt;br /&gt;
		&amp;quot;Signatures&amp;quot;&lt;br /&gt;
		{&lt;br /&gt;
			&amp;quot;FireOutput&amp;quot;&lt;br /&gt;
			{&lt;br /&gt;
				&amp;quot;library&amp;quot;	&amp;quot;server&amp;quot;&lt;br /&gt;
				&amp;quot;windows&amp;quot;	&amp;quot;\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\x2A\x8B\x45\x2A\x53\x56\x8B\x2A\x2A\x57\x8B\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\xC7&amp;quot;&lt;br /&gt;
				&amp;quot;linux&amp;quot;		&amp;quot;@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f&amp;quot;&lt;br /&gt;
				&amp;quot;mac&amp;quot;		&amp;quot;@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f&amp;quot;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Dumping updated Sourcemod offsets and signatures ==&lt;br /&gt;
Related thread: https://forums.empiresmod.com/index.php?threads/calculating-updated-sourcemod-vtable-offsets.20571/  &amp;lt;br /&amp;gt;&lt;br /&gt;
Tool needed: https://delftelectronics.nl/empires/tools/vtablescanner3.zip  &amp;lt;br /&amp;gt;&lt;br /&gt;
The tool requires linux. If you are running 64bit linux, you will probably need to run the following to be able to run 32bit apps:  &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg --add-architecture i386&lt;br /&gt;
apt-get update&lt;br /&gt;
apt install libc6:i386 libelf1:i386&amp;lt;/pre&amp;gt;&lt;br /&gt;
Unpack the vtablescanner3.zip anywhere in your linux. &amp;lt;br /&amp;gt;&lt;br /&gt;
Next you need a server.so file from your dedicated server which is located in /empires_dedicated/empires/bin &amp;lt;br /&amp;gt;&lt;br /&gt;
Copy server.so to the Release folder in the vtablescanner folder that you extracted. (vtablescanner/Release/server.so) &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now open your terminal inside the Release folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
And enter the following command: &lt;br /&gt;
&amp;lt;pre&amp;gt;LD_LIBRARY_PATH=&amp;quot;./&amp;quot; ./vtabledump ./server.so &#039;_ZTV10CEmpPlayer&#039; &amp;gt;dump.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
The outputted RAW offsets are now located in vtablescanner/Release/dump.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Now if you want to output a proper file for SourceMod. &amp;lt;br /&amp;gt;&lt;br /&gt;
Open the terminal again inside Release folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
Type: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;./createoffsetscript &amp;gt;dumpsmoffsets.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
This output file is the game.empires.txt which you can put into your: &amp;lt;br /&amp;gt;&lt;br /&gt;
\addons\sourcemod\gamedata\sdkhooks.games\custom\game.empires.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
\addons\sourcemod\gamedata\sdktools.games\custom\game.empires.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Also check this for offsets that need adjusting after a dump: https://git.empiresmod.com/sourcemod/sourcemodoffsets/issues/1&#039;&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plugin-Making tips ==&lt;br /&gt;
Dumping:&lt;br /&gt;
To get a dump of entity properties specific to empires and similar things, use following commands. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_teprops&amp;quot;&#039;&#039;&#039; - Dumps tempentity props to a file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_netprops_xml&amp;quot;&#039;&#039;&#039; - Dumps the networkable property table as an XML file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_netprops&amp;quot;&#039;&#039;&#039; - Dumps the networkable property table as a text file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_classes&amp;quot;&#039;&#039;&#039; - Dumps the class list as a text file  &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_datamaps&amp;quot;&#039;&#039;&#039; - Dumps the data map list as a text file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_admcache&amp;quot;&#039;&#039;&#039; - Dumps the admin cache for debugging  &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_handles&amp;quot;&#039;&#039;&#039; - Dumps Handle usage to a file for finding Handle leaks  &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Just add a filename after the command and you will find the dump files in empires folder.  &amp;lt;br /&amp;gt;&lt;br /&gt;
Just using some of those commands might make your client/server hang or even crash, but it will probably still make the dump, or just retry.  &amp;lt;br /&amp;gt;&lt;br /&gt;
------&lt;br /&gt;
&#039;&#039;&#039;Colors for messages:&#039;&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
Custom colors usable by PrintToChat and similar. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;Examples:&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;\x079764FF BE&lt;br /&gt;
\x07FF2323 NF&lt;br /&gt;
&lt;br /&gt;
PrintToChatAll(&amp;quot;\x04[PLUGIN]\x079764FF BE\x01 not ready&amp;quot;);&lt;br /&gt;
PrintToChatAll(&amp;quot;\x04[PLUGIN]\x01 Commander left\x07FF2323 NF&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;\x07&#039;&#039;&#039; - &#039;&#039;Type of coloring/message (custom colors seem to only work with \x07 and \x08)&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;9764FF&#039;&#039;&#039; - &#039;&#039;HTML &#039;&#039;&#039;RRGGBB&#039;&#039;&#039; color without the &#039;&#039;&#039;#&#039;&#039;&#039; (You can pick your own color for example here: https://www.w3schools.com/colors/colors_picker.asp)&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Neoony&#039;s color standards:&#039;&#039;&#039; (Updated 18.4.2017 - Added player name color&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;\x01 for standard text&lt;br /&gt;
\x04 for plugin things (example: &amp;quot;\x04[NCEV]\x01&amp;quot;) [green]&lt;br /&gt;
\x079764FF for Brenodi Empire team [eyedropped from chat text]&lt;br /&gt;
\x07FF2323 for Northern Faction team [eyedropped from chat text]&lt;br /&gt;
\x07CB4491 for Both teams [mixed color of BE and NF, somewhat pink]&lt;br /&gt;
\x07CCCCCC for Spectators [gray]&lt;br /&gt;
\x07ff6600 for player name, if you cant use team colors for that [orange]&lt;br /&gt;
\x073399ff for displaying time, mainly seconds [light blue]&lt;br /&gt;
\x07008000 for enabled, unlocked or simply positive [green]&lt;br /&gt;
\x07b30000 for disabled, locked or simply negative, also for warnings [red]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Sourcemod]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Sourcemod&amp;diff=10947</id>
		<title>Sourcemod</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Sourcemod&amp;diff=10947"/>
		<updated>2024-02-06T16:28:01Z</updated>

		<summary type="html">&lt;p&gt;Neoony: Edit the MM and SM installation steps&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sourcemod allows you to extend Empires without having access to the C++ code.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
* Install MetaMod:&lt;br /&gt;
** Download for [https://www.sourcemm.net/downloads.php?branch=stable Metamod]&lt;br /&gt;
** Copy the Addons folder into your empires folder&lt;br /&gt;
* Download sourcemod: http://www.sourcemod.net/downloads.php?branch=stable&lt;br /&gt;
* Copy the cfg and addons folders to your empires folder&lt;br /&gt;
* Install some [[Sourcemod Plugins]]&lt;br /&gt;
&lt;br /&gt;
Make sure to edit following file: .../empires/empires/addons/metamod.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
Put the following in: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;Plugin&amp;quot;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;file&amp;quot;    &amp;quot;empires/addons/metamod/bin/server&amp;quot;&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also just in case, remove any x64 files in metamod &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod_x64.vdf &amp;lt;br /&amp;gt;&lt;br /&gt;
addons\metamod\bin\win64 (delete whole folder) &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
It was once causing some issue for someone &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Developing Plugins ==&lt;br /&gt;
Empires has a lot of [[Game_events_added | game events]] you can make use of. For an example of plugins you can make see our [https://git.empiresmod.com/sourcemod/ sourcemod repository].&lt;br /&gt;
&lt;br /&gt;
== Compiling from Source ==&lt;br /&gt;
Thanks to people smarter than me, compiling from source is pretty easy. &amp;lt;br /&amp;gt;&lt;br /&gt;
Take your source-file or source-text and pop it in this: http://www.sourcemod.net/compiler.php &amp;lt;br /&amp;gt;&lt;br /&gt;
Download your compiled plugin, and put it in your sourcemod/plugins folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or you can use spcomp.exe inside your sourcemod folders (\addons\sourcemod\scripting\spcomp.exe) (for windows) &amp;lt;br /&amp;gt;&lt;br /&gt;
Just drag and drop your source-file onto the .exe. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sourcemod offsets and signatures ==&lt;br /&gt;
&#039;&#039;&#039;Get latest offsets ready to use here&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/sourcemodoffsets &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you have issues with invalid signatures. &amp;lt;br /&amp;gt;&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;L 03/18/2017 - 00:02:51: [SDKTOOLS] Invalid detour address passed - Disabling detour to prevent crashes&lt;br /&gt;
L 03/18/2017 - 00:02:51: [SM] Exception reported: Entity Outputs are disabled - See error logs for details&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Choice 1.&#039;&#039;&#039; &#039;&#039;&#039;Just download latest ready to use offsets here:&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/sourcemodoffsets &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Choice 2.&#039;&#039;&#039; Replace the linux signatures in sdkhooks and sdktools files with the mac signatures. (this is already included in the above release)  &amp;lt;br /&amp;gt;&lt;br /&gt;
This is rather temporary fix and needs testing &amp;lt;br /&amp;gt;&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;/* CBaseEntityOutput::FireOutput */&lt;br /&gt;
	&amp;quot;#default&amp;quot;&lt;br /&gt;
	{&lt;br /&gt;
		&amp;quot;Signatures&amp;quot;&lt;br /&gt;
		{&lt;br /&gt;
			&amp;quot;FireOutput&amp;quot;&lt;br /&gt;
			{&lt;br /&gt;
				&amp;quot;library&amp;quot;	&amp;quot;server&amp;quot;&lt;br /&gt;
				&amp;quot;windows&amp;quot;	&amp;quot;\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\x2A\x8B\x45\x2A\x53\x56\x8B\x2A\x2A\x57\x8B\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\xC7&amp;quot;&lt;br /&gt;
				&amp;quot;linux&amp;quot;		&amp;quot;@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f&amp;quot;&lt;br /&gt;
				&amp;quot;mac&amp;quot;		&amp;quot;@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f&amp;quot;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Dumping updated Sourcemod offsets and signatures ==&lt;br /&gt;
Related thread: https://forums.empiresmod.com/index.php?threads/calculating-updated-sourcemod-vtable-offsets.20571/  &amp;lt;br /&amp;gt;&lt;br /&gt;
Tool needed: https://delftelectronics.nl/empires/tools/vtablescanner3.zip  &amp;lt;br /&amp;gt;&lt;br /&gt;
The tool requires linux. If you are running 64bit linux, you will probably need to run the following to be able to run 32bit apps:  &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg --add-architecture i386&lt;br /&gt;
apt-get update&lt;br /&gt;
apt install libc6:i386 libelf1:i386&amp;lt;/pre&amp;gt;&lt;br /&gt;
Unpack the vtablescanner3.zip anywhere in your linux. &amp;lt;br /&amp;gt;&lt;br /&gt;
Next you need a server.so file from your dedicated server which is located in /empires_dedicated/empires/bin &amp;lt;br /&amp;gt;&lt;br /&gt;
Copy server.so to the Release folder in the vtablescanner folder that you extracted. (vtablescanner/Release/server.so) &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now open your terminal inside the Release folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
And enter the following command: &lt;br /&gt;
&amp;lt;pre&amp;gt;LD_LIBRARY_PATH=&amp;quot;./&amp;quot; ./vtabledump ./server.so &#039;_ZTV10CEmpPlayer&#039; &amp;gt;dump.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
The outputted RAW offsets are now located in vtablescanner/Release/dump.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Now if you want to output a proper file for SourceMod. &amp;lt;br /&amp;gt;&lt;br /&gt;
Open the terminal again inside Release folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
Type: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;./createoffsetscript &amp;gt;dumpsmoffsets.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
This output file is the game.empires.txt which you can put into your: &amp;lt;br /&amp;gt;&lt;br /&gt;
\addons\sourcemod\gamedata\sdkhooks.games\custom\game.empires.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
\addons\sourcemod\gamedata\sdktools.games\custom\game.empires.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Also check this for offsets that need adjusting after a dump: https://git.empiresmod.com/sourcemod/sourcemodoffsets/issues/1&#039;&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plugin-Making tips ==&lt;br /&gt;
Dumping:&lt;br /&gt;
To get a dump of entity properties specific to empires and similar things, use following commands. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_teprops&amp;quot;&#039;&#039;&#039; - Dumps tempentity props to a file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_netprops_xml&amp;quot;&#039;&#039;&#039; - Dumps the networkable property table as an XML file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_netprops&amp;quot;&#039;&#039;&#039; - Dumps the networkable property table as a text file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_classes&amp;quot;&#039;&#039;&#039; - Dumps the class list as a text file  &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_datamaps&amp;quot;&#039;&#039;&#039; - Dumps the data map list as a text file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_admcache&amp;quot;&#039;&#039;&#039; - Dumps the admin cache for debugging  &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_handles&amp;quot;&#039;&#039;&#039; - Dumps Handle usage to a file for finding Handle leaks  &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Just add a filename after the command and you will find the dump files in empires folder.  &amp;lt;br /&amp;gt;&lt;br /&gt;
Just using some of those commands might make your client/server hang or even crash, but it will probably still make the dump, or just retry.  &amp;lt;br /&amp;gt;&lt;br /&gt;
------&lt;br /&gt;
&#039;&#039;&#039;Colors for messages:&#039;&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
Custom colors usable by PrintToChat and similar. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;Examples:&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;\x079764FF BE&lt;br /&gt;
\x07FF2323 NF&lt;br /&gt;
&lt;br /&gt;
PrintToChatAll(&amp;quot;\x04[PLUGIN]\x079764FF BE\x01 not ready&amp;quot;);&lt;br /&gt;
PrintToChatAll(&amp;quot;\x04[PLUGIN]\x01 Commander left\x07FF2323 NF&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;\x07&#039;&#039;&#039; - &#039;&#039;Type of coloring/message (custom colors seem to only work with \x07 and \x08)&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;9764FF&#039;&#039;&#039; - &#039;&#039;HTML &#039;&#039;&#039;RRGGBB&#039;&#039;&#039; color without the &#039;&#039;&#039;#&#039;&#039;&#039; (You can pick your own color for example here: https://www.w3schools.com/colors/colors_picker.asp)&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Neoony&#039;s color standards:&#039;&#039;&#039; (Updated 18.4.2017 - Added player name color&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;\x01 for standard text&lt;br /&gt;
\x04 for plugin things (example: &amp;quot;\x04[NCEV]\x01&amp;quot;) [green]&lt;br /&gt;
\x079764FF for Brenodi Empire team [eyedropped from chat text]&lt;br /&gt;
\x07FF2323 for Northern Faction team [eyedropped from chat text]&lt;br /&gt;
\x07CB4491 for Both teams [mixed color of BE and NF, somewhat pink]&lt;br /&gt;
\x07CCCCCC for Spectators [gray]&lt;br /&gt;
\x07ff6600 for player name, if you cant use team colors for that [orange]&lt;br /&gt;
\x073399ff for displaying time, mainly seconds [light blue]&lt;br /&gt;
\x07008000 for enabled, unlocked or simply positive [green]&lt;br /&gt;
\x07b30000 for disabled, locked or simply negative, also for warnings [red]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Sourcemod]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Sourcemod_Plugins&amp;diff=10946</id>
		<title>Sourcemod Plugins</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Sourcemod_Plugins&amp;diff=10946"/>
		<updated>2024-02-06T16:20:37Z</updated>

		<summary type="html">&lt;p&gt;Neoony: Add clearer link to installation guide for SM/MM&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
=Sourcemod installation=&lt;br /&gt;
Check the following page for guide how to install Metamod and Sourcemod: [[Sourcemod]]&lt;br /&gt;
=Empires Specific Plugins=&lt;br /&gt;
Empires has a few specific plugins coded by members of its community, you can find them on [https://git.empiresmod.com/sourcemod Empires&#039; Gitlab].&lt;br /&gt;
==Draftpick==&lt;br /&gt;
[[Draftpick]] is a [[Sourcemod]] plugin by [[Mikleo]], it is responsible for automatically balancing the players between teams using statistics gathered by [[Empstats]]. It includes four types of Draft.&lt;br /&gt;
==Empfun==&lt;br /&gt;
[[Empfun]] is a [[Sourcemod]] plugin by [[Mikleo]], it adds a way to manipulate entities within the game and create custom scenarios.&lt;br /&gt;
==Empstats==&lt;br /&gt;
[[Empstats]] is a [[Sourcemod]] plugin by [[Mikleo]], it tracks various statistics.&lt;br /&gt;
==Emputils==&lt;br /&gt;
[[Emputils]] is a [[Sourcemod]] plugin by [[Mikleo]], it contains various utilities to be used by other plugins.&lt;br /&gt;
==EventTimeleftHostname==&lt;br /&gt;
[[EventTimeleftHostname]] is a [[Sourcemod]] plugin by &amp;lt;&amp;gt; and updated for Empires by [[Neoony]], it allows server owners to display a countdown in their server&#039;s title.&lt;br /&gt;
==Lawlietstats==&lt;br /&gt;
[[Lawlietstats]] is a [[Sourcemod]] plugin by [[Lawliet]], it collects various informations.&lt;br /&gt;
==Lobby==&lt;br /&gt;
[[Lobby]] is a [[Sourcemod]] plugin by [[Neoony]], it controls the Lobby Server.&lt;br /&gt;
==NoCommExtendVote==&lt;br /&gt;
&#039;&#039;&#039;No Commander Extend Vote&#039;&#039;&#039; or [[NCEV]] for short is a [[Sourcemod]] plugin by [[Neoony]], it automatically detects commanders and only allows the game to start if both teams have a commander. &amp;lt;br /&amp;gt;&lt;br /&gt;
==PugPlugin==&lt;br /&gt;
==ResearchInfo==&lt;br /&gt;
[[ResearchInfo]] is a [[Sourcemod]] plugin by [[Neoony]], gives a chat command to show what your team has researched in console. Unstable and unfinished. WIP&lt;br /&gt;
==sameIPBlock==&lt;br /&gt;
[[sameIPBlock]] is a [[Sourcemod]] plugin by [[Neoony]], only allows players to join from unique IP address.&lt;br /&gt;
==SourcemodOffsets==&lt;br /&gt;
[[SourcemodOffsets]] is a [[Sourcemod]] plugin by [[Neoony]], it automatically updates the sourcemod offsets required for Empires when they change.&lt;br /&gt;
==SquadControl==&lt;br /&gt;
[[Squadcontrol]] is a [[Sourcemod]] plugin by [[Mikleo]], it adds various utilities for Empires.&lt;br /&gt;
==Surrender==&lt;br /&gt;
[[Surrender]] is a [[SourceMod]] plugin by [[Neoony]], it allows players to trigger a vote to surrender which if successful destroys their [[Command Vehicle]].&amp;lt;br /&amp;gt;&lt;br /&gt;
==Updater==&lt;br /&gt;
[[Updater]] is a [[Sourcemod]] plugin by &amp;lt;&amp;gt; and updated for Empires by [[Neoony]], it allows servers to automatically update their plugins.&lt;br /&gt;
==Ungrief==&lt;br /&gt;
[[Ungrief]] is a [[Sourcemod]] plugin by [[Theowningone]] and updated by [[Neoony]], it allows admins to teleport the [[Command Vehicle]].&lt;br /&gt;
==Votetime==&lt;br /&gt;
[[Votetime]] is a [[Sourcemod]] plugin by [[Mikleo]], it adds commands to control the commander vote timer.&lt;br /&gt;
==vprofReport==&lt;br /&gt;
[[vprofReport]] is a [[Sourcemod]] plugin by [[Neoony]], automatically start &amp;quot;vprof&amp;quot; at certain number of clients on the server and then generates report when the round ends.&lt;br /&gt;
=Generic Plugins=&lt;br /&gt;
== End of Round AllTalk ==&lt;br /&gt;
Original Plugin: https://forums.alliedmods.net/showthread.php?p=1246351&lt;br /&gt;
== Chat Triggers ==&lt;br /&gt;
Plugin link: https://forums.alliedmods.net/showthread.php?p=585758 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Advertisements 2.0 ==&lt;br /&gt;
Plugin link: https://forums.alliedmods.net/showthread.php?t=155705 &amp;lt;br /&amp;gt;&lt;br /&gt;
Simple advertisements plugin. It supports center, chat, hint, menu and top messages.&lt;br /&gt;
== SourceBans++ ==&lt;br /&gt;
Plugin link: https://sbpp.github.io/ &amp;lt;br /&amp;gt;&lt;br /&gt;
Unofficial more updated version of SourceBans. &amp;lt;br /&amp;gt;&lt;br /&gt;
-SourceBans++ is a majorly improved version of SourceBans 1.4.11 which was developed by GameConnect. &amp;lt;br /&amp;gt;&lt;br /&gt;
Those major improvements include a new design, more stable web application, login via steam account and much more community made customizations. &amp;lt;br /&amp;gt;&lt;br /&gt;
== SourceBot ==&lt;br /&gt;
&#039;&#039;Original Plugin link:&#039;&#039; https://forums.alliedmods.net/showthread.php?p=883997 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TeamSwitch ==&lt;br /&gt;
Plugin link: https://forums.alliedmods.net/showthread.php?p=587405 &amp;lt;br /&amp;gt;&lt;br /&gt;
This is a fully mod-independent team switching plugin, which gives an admin the ability to switch players to the opposite team either immediately,  &amp;lt;br /&amp;gt;&lt;br /&gt;
when they die, or at the end of the round (where appropriate). &amp;lt;br /&amp;gt;&lt;br /&gt;
Players can also be switched to spectators. &amp;lt;br /&amp;gt;&lt;br /&gt;
TeamSwitch detects which mod it is being run on at startup and configures itself accordingly. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ultimate Mapchooser 3.4.5 ==&lt;br /&gt;
Plugin link: https://forums.alliedmods.net/showthread.php?t=134190 &amp;lt;br /&amp;gt;&lt;br /&gt;
Ultimate Mapchooser allows for increased control over map selection. This includes: &amp;lt;br /&amp;gt;&lt;br /&gt;
* Random selection of the next map. &amp;lt;br /&amp;gt;&lt;br /&gt;
* Which maps are added to votes &amp;lt;br /&amp;gt;&lt;br /&gt;
* Which maps are available for nominations &amp;lt;br /&amp;gt;&lt;br /&gt;
You can control how the randomization works by dividing your map rotation into groups, and controlling the weights of each group or each individual map, &amp;lt;br /&amp;gt;&lt;br /&gt;
specify a minimum or maximum number of players allowed on the server for the map to be available, specify how many maps from a group are allowed in a vote, etc. &amp;lt;br /&amp;gt;&lt;br /&gt;
EDIT: It seems the original version isnt working even with Creepers event fix for end of map votes. &amp;lt;br /&amp;gt;&lt;br /&gt;
Here is cyberkillers version: https://github.com/CyberKiller/Ultimate-Mapchooser &amp;lt;br /&amp;gt;&lt;br /&gt;
But it might be a little outdated...&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Execute Configs ==&lt;br /&gt;
&#039;&#039;Original Plugin link:&#039;&#039; https://forums.alliedmods.net/showthread.php?t=67620&amp;lt;br /&amp;gt;&lt;br /&gt;
This plugin executes configs when there are either a certain amount of clients on, a certain event occurs, a certain round starts or when there are a certain amount of minutes left on the map. &amp;lt;br /&amp;gt;&lt;br /&gt;
You can use this to disable alltalk above x clients, or to change the map when the timelimit hits, etc. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;More updated version (1.2.4) + added empires roundstart/gamestart events:&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/executeconfigs &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Sourcemod]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10945</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10945"/>
		<updated>2024-02-03T19:54:54Z</updated>

		<summary type="html">&lt;p&gt;Neoony: additional info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
Debian 11 has some packages deprecated, this method will not work as described. However you can start with Debian 10 and then later upgrade to 11. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package (warning, takes a long time to install):&lt;br /&gt;
&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
Typing quit in server console will automatically restart the server. &amp;lt;br&amp;gt;&lt;br /&gt;
When server crashes it will restart automatically. (unless it freezes) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in &#039;&#039;&#039;/var/lib/empires&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10944</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10944"/>
		<updated>2024-02-03T19:48:49Z</updated>

		<summary type="html">&lt;p&gt;Neoony: fix formatting&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
Debian 11 has some packages deprecated, this method will not work as described. However you can start with Debian 10 and then later upgrade to 11. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package (warning, takes a long time to install):&lt;br /&gt;
&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
Server folder is located in &#039;&#039;&#039;/var/lib/empires&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10943</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10943"/>
		<updated>2024-02-03T19:47:56Z</updated>

		<summary type="html">&lt;p&gt;Neoony: fix path&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
Debian 11 has some packages deprecated, this method will not work as described. However you can start with Debian 10 and then later upgrade to 11. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package (warning, takes a long time to install):&lt;br /&gt;
&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in /var/lib/empires&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/bin/empires-server&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10942</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10942"/>
		<updated>2024-02-03T18:38:56Z</updated>

		<summary type="html">&lt;p&gt;Neoony: remove fixme&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
Debian 11 has some packages deprecated, this method will not work as described. However you can start with Debian 10 and then later upgrade to 11. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package (warning, takes a long time to install):&lt;br /&gt;
&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in /var/lib/empires&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/lib/systemd/system/empires-server.service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10941</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10941"/>
		<updated>2024-02-03T18:14:38Z</updated>

		<summary type="html">&lt;p&gt;Neoony: Add video and APT explanation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
{{Fixme|Now tested and working good}}&lt;br /&gt;
&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Video tutorial: https://www.youtube.com/watch?v=RVvJTphiG24 &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
Debian 11 has some packages deprecated, this method will not work as described. However you can start with Debian 10 and then later upgrade to 11. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package (warning, takes a long time to install):&lt;br /&gt;
&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in /var/lib/empires&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/lib/systemd/system/empires-server.service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10940</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10940"/>
		<updated>2024-02-03T17:47:25Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Dedicated Server - APT */  now tested&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
{{Fixme|Now tested and working good}}&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
Debian 11 has some packages deprecated, this method will not work as described. However you can start with Debian 10 and then later upgrade to 11. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package (warning, takes a long time to install):&lt;br /&gt;
&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in /var/lib/empires&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/lib/systemd/system/empires-server.service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10939</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10939"/>
		<updated>2024-02-03T17:45:05Z</updated>

		<summary type="html">&lt;p&gt;Neoony: APT explanation&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
{{Fixme}}&lt;br /&gt;
This method will install the server as a service, with tmux. (with tmux you run the server in a separate terminal window, so you can switch between the dedicated server and linux environment)&lt;br /&gt;
&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
Debian 11 has some packages deprecated, this method will not work as described. However you can start with Debian 10 and then later upgrade to 11. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you need to execute the following as root: &lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package (warning, takes a long time to install):&lt;br /&gt;
&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in /var/lib/empires&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/lib/systemd/system/empires-server.service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10938</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10938"/>
		<updated>2024-02-03T17:43:16Z</updated>

		<summary type="html">&lt;p&gt;Neoony: APT dedi set up changes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ServerResources}}&lt;br /&gt;
&lt;br /&gt;
Dedicated servers are like the listen servers (which can be created by pressing the &amp;quot;create server&amp;quot; button on the main menu), but they don&#039;t require a copy of the game to be running. This is less resource intensive as the server doesn&#039;t need to spend any time rendering graphics.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
There are two supported ways of installing a dedicated server. On Windows and Linux, you can install the server using the SteamCMD utility. On Debian-based distributions of linux, you can also install the server through APT, this will set it up as a service and with tmux.&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - SteamCMD ===&lt;br /&gt;
&lt;br /&gt;
The Empires Dedicated Server can be installed using the [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD] utility. The server has an appid of 460040, and must be downloaded while logged in as an anonymous user.&lt;br /&gt;
&lt;br /&gt;
To install the server on Windows:&lt;br /&gt;
*[https://developer.valvesoftware.com/wiki/SteamCMD#Downloading_SteamCMD Install SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges&lt;br /&gt;
*Browse to the location where SteamCMD was installed, and enter this command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*This same command can also be used to update Empires Dedicated Server.&lt;br /&gt;
&lt;br /&gt;
Once the server has been downloaded, you can launch the server by navigating to the installed location of SRCDS.exe and running the following console command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
srcds.exe -game &amp;quot;empires&amp;quot; -console -toconsole -secure +map emp_district402 +maxplayers 64&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To allow players to connect to your server from outside your local network, you may need to port-forward the following ports: &lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
=== Dedicated Server - APT ===&lt;br /&gt;
{{Fixme}}&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
Debian 11 has some packages deprecated, this method will not work as described. However you can start with Debian 10 and then later upgrade to 11. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward the following ports:&lt;br /&gt;
* UDP 27005 &lt;br /&gt;
* TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package (warning, takes a long time to install):&lt;br /&gt;
&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
==== Opening the server console ====&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in /var/lib/empires&lt;br /&gt;
&lt;br /&gt;
Start parameters can be edited in &#039;&#039;&#039;/etc/empires-server.conf&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
More detailed/full start parameters are inside the service &#039;&#039;&#039;/usr/lib/systemd/system/empires-server.service&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Cvars ===&lt;br /&gt;
&lt;br /&gt;
Most configuration can be done through the use of [Server Cvars]. There are several ways commands can be set to run automatically:&lt;br /&gt;
&lt;br /&gt;
* Include the command in the call to SRCDS. This is how the &amp;lt;code&amp;gt;maxplayers&amp;lt;/code&amp;gt; cvar is set in the example above. This will run the command as soon as possible.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/autoexe.cfg&amp;lt;/code&amp;gt; file. This will run the command once on server start-up, before any maps have loaded.&lt;br /&gt;
* Include the command in the &amp;lt;code&amp;gt;/cfg/server.cfg&amp;lt;/code&amp;gt; file. This will run the command every time any map loads.&lt;br /&gt;
* Include the command in a &amp;lt;code&amp;gt;/cfg/maps/[mapname].cfg&amp;lt;/code&amp;gt; file. If there is a &amp;lt;code&amp;gt;.cfg&amp;lt;/code&amp;gt; file in this directory with the same name as a map, the commands in it will be run every time that map loads. Use this for map-specific configuration changes, such as adjusting the resource multiplier or ticket count.&lt;br /&gt;
&lt;br /&gt;
The following configuration options are the ones you will most likely need to change:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Common Configuration&lt;br /&gt;
!  Command !! Description&lt;br /&gt;
|- &lt;br /&gt;
| hostname || The name of your server, as it appears in the server browser.&lt;br /&gt;
|- &lt;br /&gt;
| rcon_password || A password that can be used to send server commands remotely. &lt;br /&gt;
{{Warning|Set this to a secure password, and do not share it freely. Anyone with this password can execute admin commands on your server.}}&lt;br /&gt;
|- &lt;br /&gt;
| sv_password || If this is set, players will be required to enter this password before joining the server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_downloadurl || The URL of a [[FastDL]] server.&lt;br /&gt;
|-&lt;br /&gt;
| sv_region || A number representing the region your server is located in. A list of valid regions [[https://developer.valvesoftware.com/wiki/Sv_region can be found here]].&lt;br /&gt;
|-&lt;br /&gt;
| sv_contact || An email address players can use to contact the server owner.&lt;br /&gt;
|- &lt;br /&gt;
| sv_setsteamaccount || Link the server to a Steam account using an authentication token.&lt;br /&gt;
{{Fixme|Why/under what circumstances should this be done?}}&lt;br /&gt;
|- &lt;br /&gt;
| maxplayers || The maximum number of players allowed to join the server. This can only be set as part of the command that launches SRCDS.&lt;br /&gt;
|}&lt;br /&gt;
=== FastDL Setup ===&lt;br /&gt;
&lt;br /&gt;
The [https://developer.valvesoftware.com/wiki/FastDL FastDL system] allows server owners to specify a URL from which custom content will be downloaded. This speeds up the process of players downloading custom content when joining a server, so setting this system up is highly recommended.&lt;br /&gt;
&lt;br /&gt;
{{Fixme|We need instructions here on how to set up a FastDL server.}}&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* [https://pastebin.com/SXsp0r2F How to create an Empires Server on Windows from A to Z.]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Sourcemod&amp;diff=10853</id>
		<title>Sourcemod</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Sourcemod&amp;diff=10853"/>
		<updated>2023-12-02T16:47:52Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Developing Plugins */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sourcemod allows you to extend Empires without having access to the C++ code.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
* Install MetaMod:&lt;br /&gt;
** Download for [http://www.metamodsource.net/downloads/mmsource-1.10.6-windows.zip Windows] or [http://www.metamodsource.net/downloads/mmsource-1.10.6-windows.tar.gz Linux ]&lt;br /&gt;
** Copy the Addons folder into your empires folder&lt;br /&gt;
** Start the game&lt;br /&gt;
** Enter meta version (if the installation was succesful you should see the metamod version)&lt;br /&gt;
* Download sourcemod: http://www.sourcemod.net/downloads.php?branch=stable&lt;br /&gt;
* Copy the cfg and addons folders to your empires folder&lt;br /&gt;
* Install some [[Sourcemod Plugins]]&lt;br /&gt;
&lt;br /&gt;
== Developing Plugins ==&lt;br /&gt;
Empires has a lot of [[Game_events_added | game events]] you can make use of. For an example of plugins you can make see our [https://git.empiresmod.com/sourcemod/ sourcemod repository].&lt;br /&gt;
&lt;br /&gt;
== Compiling from Source ==&lt;br /&gt;
Thanks to people smarter than me, compiling from source is pretty easy. &amp;lt;br /&amp;gt;&lt;br /&gt;
Take your source-file or source-text and pop it in this: http://www.sourcemod.net/compiler.php &amp;lt;br /&amp;gt;&lt;br /&gt;
Download your compiled plugin, and put it in your sourcemod/plugins folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or you can use spcomp.exe inside your sourcemod folders (\addons\sourcemod\scripting\spcomp.exe) (for windows) &amp;lt;br /&amp;gt;&lt;br /&gt;
Just drag and drop your source-file onto the .exe. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sourcemod offsets and signatures ==&lt;br /&gt;
&#039;&#039;&#039;Get latest offsets ready to use here&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/sourcemodoffsets &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
If you have issues with invalid signatures. &amp;lt;br /&amp;gt;&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;L 03/18/2017 - 00:02:51: [SDKTOOLS] Invalid detour address passed - Disabling detour to prevent crashes&lt;br /&gt;
L 03/18/2017 - 00:02:51: [SM] Exception reported: Entity Outputs are disabled - See error logs for details&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Choice 1.&#039;&#039;&#039; &#039;&#039;&#039;Just download latest ready to use offsets here:&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/sourcemodoffsets &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Choice 2.&#039;&#039;&#039; Replace the linux signatures in sdkhooks and sdktools files with the mac signatures. (this is already included in the above release)  &amp;lt;br /&amp;gt;&lt;br /&gt;
This is rather temporary fix and needs testing &amp;lt;br /&amp;gt;&lt;br /&gt;
Example: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;/* CBaseEntityOutput::FireOutput */&lt;br /&gt;
	&amp;quot;#default&amp;quot;&lt;br /&gt;
	{&lt;br /&gt;
		&amp;quot;Signatures&amp;quot;&lt;br /&gt;
		{&lt;br /&gt;
			&amp;quot;FireOutput&amp;quot;&lt;br /&gt;
			{&lt;br /&gt;
				&amp;quot;library&amp;quot;	&amp;quot;server&amp;quot;&lt;br /&gt;
				&amp;quot;windows&amp;quot;	&amp;quot;\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x45\x2A\x8B\x45\x2A\x53\x56\x8B\x2A\x2A\x57\x8B\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\x89\x2A\x2A\x2A\x2A\x2A\xC7&amp;quot;&lt;br /&gt;
				&amp;quot;linux&amp;quot;		&amp;quot;@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f&amp;quot;&lt;br /&gt;
				&amp;quot;mac&amp;quot;		&amp;quot;@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f&amp;quot;&lt;br /&gt;
			}&lt;br /&gt;
		}&lt;br /&gt;
	}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Dumping updated Sourcemod offsets and signatures ==&lt;br /&gt;
Related thread: https://forums.empiresmod.com/index.php?threads/calculating-updated-sourcemod-vtable-offsets.20571/  &amp;lt;br /&amp;gt;&lt;br /&gt;
Tool needed: https://delftelectronics.nl/empires/tools/vtablescanner3.zip  &amp;lt;br /&amp;gt;&lt;br /&gt;
The tool requires linux. If you are running 64bit linux, you will probably need to run the following to be able to run 32bit apps:  &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;dpkg --add-architecture i386&lt;br /&gt;
apt-get update&lt;br /&gt;
apt install libc6:i386 libelf1:i386&amp;lt;/pre&amp;gt;&lt;br /&gt;
Unpack the vtablescanner3.zip anywhere in your linux. &amp;lt;br /&amp;gt;&lt;br /&gt;
Next you need a server.so file from your dedicated server which is located in /empires_dedicated/empires/bin &amp;lt;br /&amp;gt;&lt;br /&gt;
Copy server.so to the Release folder in the vtablescanner folder that you extracted. (vtablescanner/Release/server.so) &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now open your terminal inside the Release folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
And enter the following command: &lt;br /&gt;
&amp;lt;pre&amp;gt;LD_LIBRARY_PATH=&amp;quot;./&amp;quot; ./vtabledump ./server.so &#039;_ZTV10CEmpPlayer&#039; &amp;gt;dump.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
The outputted RAW offsets are now located in vtablescanner/Release/dump.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Now if you want to output a proper file for SourceMod. &amp;lt;br /&amp;gt;&lt;br /&gt;
Open the terminal again inside Release folder. &amp;lt;br /&amp;gt;&lt;br /&gt;
Type: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;./createoffsetscript &amp;gt;dumpsmoffsets.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
This output file is the game.empires.txt which you can put into your: &amp;lt;br /&amp;gt;&lt;br /&gt;
\addons\sourcemod\gamedata\sdkhooks.games\custom\game.empires.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
\addons\sourcemod\gamedata\sdktools.games\custom\game.empires.txt &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;Also check this for offsets that need adjusting after a dump: https://git.empiresmod.com/sourcemod/sourcemodoffsets/issues/1&#039;&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plugin-Making tips ==&lt;br /&gt;
Dumping:&lt;br /&gt;
To get a dump of entity properties specific to empires and similar things, use following commands. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_teprops&amp;quot;&#039;&#039;&#039; - Dumps tempentity props to a file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_netprops_xml&amp;quot;&#039;&#039;&#039; - Dumps the networkable property table as an XML file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_netprops&amp;quot;&#039;&#039;&#039; - Dumps the networkable property table as a text file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_classes&amp;quot;&#039;&#039;&#039; - Dumps the class list as a text file  &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_datamaps&amp;quot;&#039;&#039;&#039; - Dumps the data map list as a text file &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_admcache&amp;quot;&#039;&#039;&#039; - Dumps the admin cache for debugging  &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;&amp;quot;sm_dump_handles&amp;quot;&#039;&#039;&#039; - Dumps Handle usage to a file for finding Handle leaks  &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Just add a filename after the command and you will find the dump files in empires folder.  &amp;lt;br /&amp;gt;&lt;br /&gt;
Just using some of those commands might make your client/server hang or even crash, but it will probably still make the dump, or just retry.  &amp;lt;br /&amp;gt;&lt;br /&gt;
------&lt;br /&gt;
&#039;&#039;&#039;Colors for messages:&#039;&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
Custom colors usable by PrintToChat and similar. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;Examples:&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;\x079764FF BE&lt;br /&gt;
\x07FF2323 NF&lt;br /&gt;
&lt;br /&gt;
PrintToChatAll(&amp;quot;\x04[PLUGIN]\x079764FF BE\x01 not ready&amp;quot;);&lt;br /&gt;
PrintToChatAll(&amp;quot;\x04[PLUGIN]\x01 Commander left\x07FF2323 NF&amp;quot;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;\x07&#039;&#039;&#039; - &#039;&#039;Type of coloring/message (custom colors seem to only work with \x07 and \x08)&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;9764FF&#039;&#039;&#039; - &#039;&#039;HTML &#039;&#039;&#039;RRGGBB&#039;&#039;&#039; color without the &#039;&#039;&#039;#&#039;&#039;&#039; (You can pick your own color for example here: https://www.w3schools.com/colors/colors_picker.asp)&#039;&#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Neoony&#039;s color standards:&#039;&#039;&#039; (Updated 18.4.2017 - Added player name color&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;\x01 for standard text&lt;br /&gt;
\x04 for plugin things (example: &amp;quot;\x04[NCEV]\x01&amp;quot;) [green]&lt;br /&gt;
\x079764FF for Brenodi Empire team [eyedropped from chat text]&lt;br /&gt;
\x07FF2323 for Northern Faction team [eyedropped from chat text]&lt;br /&gt;
\x07CB4491 for Both teams [mixed color of BE and NF, somewhat pink]&lt;br /&gt;
\x07CCCCCC for Spectators [gray]&lt;br /&gt;
\x07ff6600 for player name, if you cant use team colors for that [orange]&lt;br /&gt;
\x073399ff for displaying time, mainly seconds [light blue]&lt;br /&gt;
\x07008000 for enabled, unlocked or simply positive [green]&lt;br /&gt;
\x07b30000 for disabled, locked or simply negative, also for warnings [red]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Sourcemod]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10682</id>
		<title>Version/2.34.x</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10682"/>
		<updated>2022-06-25T13:47:05Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SitenavNested|:Change_Log|Patch notes}}&lt;br /&gt;
== 2.34.7 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (TBC)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug causing the engineer tool to regain more ammo than expected when re-applying the player&#039;s class.&lt;br /&gt;
* Fixed an issue preventing map spawned ammo crates from re-supplying tanks in certain situations.&lt;br /&gt;
* Fixed an problem with the squad artillery ability being activated in areas that shouldn&#039;t be allowed. (Non sky-box.)&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* RPG Resistances and resulting Damage to Infantry is now same as Mortar&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased RPG Resist from 0 to 0.19&lt;br /&gt;
*** Reduces RPG Damage from 117 to 105&lt;br /&gt;
* Rifleman&lt;br /&gt;
** Increased RPG Resist from 0 to 0.1&lt;br /&gt;
*** Reduces RPG Damage from 130 to 117&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased RPG Resist from 0.2 to 0.28&lt;br /&gt;
*** Reduces RPG Damage from 104 to 93&lt;br /&gt;
* Engineer&lt;br /&gt;
** Increased RPG Resist from 0 to 0.1&lt;br /&gt;
*** Reduces RPG Damage from 130 to 117&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Projectile Speed from 3100 to 3300&lt;br /&gt;
** Reduced Gravity from 0.35 to 0.30&lt;br /&gt;
** Reduced Projectile Spread from 1 to 0.4&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Cost from 120 to 140&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Damage from 70 to 80&lt;br /&gt;
** Increased Recoil from 70 to 80&lt;br /&gt;
** Increased Speed from 3000 to 3100&lt;br /&gt;
** Reduced Gravity from 0.35 to 0.325&lt;br /&gt;
** Increased Explosion Radius from 150 to 200&lt;br /&gt;
** Increased Infantry Bio Damage from 4 to 6&lt;br /&gt;
&lt;br /&gt;
== 2.34.6 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-05-01)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fix order distances having incorrect unit conversion from inches to meters.&lt;br /&gt;
* Fix an exploit allowing players to refill their engineer tool to full when changing class.&lt;br /&gt;
* Disable mine detonation for players on ladders.&lt;br /&gt;
* Remove double averaging of scoreboard latency, engine code already handles it.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* Engineer &amp;amp; Rifleman&lt;br /&gt;
** Increased Mortar Resist from 0 to 0.1&lt;br /&gt;
*** Reduces Mortar Damage from 130 to 117&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased Mortar Resist from 0.1 to 0.19&lt;br /&gt;
*** Reduces Mortar Damage from 117 to 105&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased Mortar Resist from 0.2 to 0.28&lt;br /&gt;
*** Reduces Mortar Damage from 104 to 93&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced Engineer Hull Repair from 3 to 1&lt;br /&gt;
** It triples the time it takes to repair the Command Vehicle&#039;s Hull&lt;br /&gt;
* Reduced Engineer Armor Repair from 0.04 to 0.01&lt;br /&gt;
** It Quadruples the time it takes to repair the Command Vehicle&#039;s Armor&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Health from 275 to 250&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Regenaration from 0.004 to 0.002&lt;br /&gt;
* Increased Command Vehicle&#039;s Armor Damage to Heat Absorbed from 0.025 to 0.04&lt;br /&gt;
&lt;br /&gt;
{{DevNote|The Command Vehicle needs to be strong enough to withstand enemy fire for a short period of time, however this strength and the ease of repair have made it possible to use the Command Vehicle to drive into enemy fire with little to no consequence.&lt;br /&gt;
With these changes taking too much damage will cost your team time. }}&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Armors ====&lt;br /&gt;
* All Armors&lt;br /&gt;
** Increased Squad Artillery Resistance from 0 to 0.25&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Extended Range Cannon&lt;br /&gt;
** Increased Gravity from 0.1 to 0.15&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Explosion Force from 100 to 500&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Gravity from 0.04 to 0.05&lt;br /&gt;
** Increased Explosion Force from 50 to 1000&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Explosion Force from 170 to 300&lt;br /&gt;
* Upgraded Missile Launcher&lt;br /&gt;
** Reduced Heat from 6.5 to 6&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Explosion Force from 50 to 100&lt;br /&gt;
* Biological Missile Launcher&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
* Salvo Missile Launcher&lt;br /&gt;
** Reduced Weight from 60 to 55&lt;br /&gt;
** Increased Explosion Force from 20 to 50&lt;br /&gt;
* Guided Missile Launcher&lt;br /&gt;
** Reduced Heat from 9 to 8&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Clip Size from 4 to 5&lt;br /&gt;
** Increased Explosion Force from 40 to 100&lt;br /&gt;
* Homing Missile Launcher&lt;br /&gt;
** Increased Explosion Force from 40 to 500&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Mortar &amp;amp; RPG now share the same ammo&lt;br /&gt;
** It effectively reduces the amount of ammo Grenadiers carry by half&lt;br /&gt;
* Mortar&lt;br /&gt;
** Reduced Speed from 2000 to 1800&lt;br /&gt;
* Northern Faction .50cal Rifle&lt;br /&gt;
** Increased Minimal Damage from 20 to 30&lt;br /&gt;
*** It ensures that it takes 4 shots to kill an enemy on distances shorter than ~6000 units&lt;br /&gt;
&lt;br /&gt;
== 2.34.5 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-04-02)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug/exploit that was allowing refineries to be placed at no resource cost.&lt;br /&gt;
* Fixed a bug where the engineer tool kit would not recharge the correct amount if you changed your skills while it was holstered.&lt;br /&gt;
* Fixed the &amp;quot;Just in time&amp;quot; achievement being awarded to the local player even if it was a different player that triggered the achievement.&lt;br /&gt;
* Fixed some issues where the squadleader.cfg file would not execute when expected, leaving you with the wrong key binds if you specified key binds inside the file.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Heavy Machine Gun&lt;br /&gt;
** Increased firing rate from 660 RPM to 792 RPM.&lt;br /&gt;
* SMG1&lt;br /&gt;
** Reduced Max Falloff from 10k to 6k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* SMG2&lt;br /&gt;
** Reduced Max Falloff from 10k to 4k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* BEHR/NFAR&lt;br /&gt;
** Reduced Max Falloff from 10k to 8k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
* Shotgun&lt;br /&gt;
** Reduced Melee Cycle Time from 1 to 0.8&lt;br /&gt;
** Increased Melee Damage from 70 to 80&lt;br /&gt;
* NF Shot Pistol&lt;br /&gt;
** Reduced Damage from 20 to 14&lt;br /&gt;
** Reduced Cycle Time from 0.6 to 0.5&lt;br /&gt;
** Reduced Max Falloff from 10k to 2k&lt;br /&gt;
** Changed Accuracy&lt;br /&gt;
** Changed Kick&lt;br /&gt;
==== Vehicle Chassis ====&lt;br /&gt;
* Artillery Tank&lt;br /&gt;
** Removed Cannon&#039;s Yaw (movement left and right)&lt;br /&gt;
* Northern Faction Artillery Tank&lt;br /&gt;
** Increased minimum pitch (movement up and down) so the cannon does not go inside the vehicle&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Artillery Cannons&lt;br /&gt;
** Removed Recoil&lt;br /&gt;
==== Vehicle Armor ====&lt;br /&gt;
* Reflective angle modifier effective angle range has been reduced from 5 -&amp;gt; 50 degrees to 2.5 -&amp;gt; 47.5 degrees.&lt;br /&gt;
** This is a direct buff to all armors using the reflective angle modifier script attribute as it will reduce the size of the angle modifier &amp;quot;dead zone&amp;quot; (The zone in which there is no damage reduction).&lt;br /&gt;
&lt;br /&gt;
== 2.34.4 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-02-26)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== General changes ===&lt;br /&gt;
* Increased all voice line sound attenuation distance by about 1000 units.&lt;br /&gt;
* Removed unnecessary binary files from server packages. (Some client files were being shipped to server packages unnecessarily.)&lt;br /&gt;
* Added server commands to limit bunny hopping velocity gain and to enable auto bunny hopping, both are disabled by default. sv_enablebunnyhopping &amp;amp; sv_autobunnyhopping&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a server crash relating to mines not being removed correctly.&lt;br /&gt;
* Fixed a few minor issues with the squad aura indicator sometimes showing incorrectly.&lt;br /&gt;
* Fixed an issue causing prop_physics_multiplayer entities being non-solid to players.&lt;br /&gt;
* Fixed player spawn points being able to be blocked by other players.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Scout hide is now removed from players who are reviving or being revived.&lt;br /&gt;
* Added functionality for explosions to be blocked by multiple entities.&lt;br /&gt;
** This allows damage to be applied with a system where multiple entities reduce the damage toward 0, instead of everything behind an explosion ray being blocked by the same thing. This should be more dynamic and it does fix some instances where people could potentially abuse flaws in the old system. (Like throwing concussion grenades at your feet, blocking the ray and causing the damage to pass through the walls and deal damage to turrets hidden behind them...)&lt;br /&gt;
* Large explosions no longer lose damage if player body parts are blocked, this feature was added in version 2.33.1&lt;br /&gt;
** This means that some weapons will always maintain their damage if the player is in radius and in line of sight to the explosion. (Currently this affects all artillery shells and nuclear missiles.)&lt;br /&gt;
==== Buildings ====&lt;br /&gt;
* Vehicle Factory&lt;br /&gt;
** Increased Health from 250 to 350&lt;br /&gt;
** Increased Cost from 400 to 500&lt;br /&gt;
* Radar&lt;br /&gt;
** Increased Health from 200 to 250&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Concussion Grenades&lt;br /&gt;
** Increased Max Ammo from 3 to 6.&lt;br /&gt;
* Northern Faction Assault Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The NFAR is most effective while being still and firing short bursts&lt;br /&gt;
* Northern Faction SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Northern Faction SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brenodi Empire Heavy Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The BEHR is most effective while being still and firing short bursts&lt;br /&gt;
* Brenodi Empire SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Brenodi Empire SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brendo Empire Pistol 2&lt;br /&gt;
** The Brenodi Empire Pistol 2&#039;s accuracy has been improved&lt;br /&gt;
* A few of the weapons have been rebalanced, see the changes here https://git.empiresmod.com/empires_public/empires_scripts/-/merge_requests/231/diffs?commit_id=506bca8eac8be7900d5c799fce0e9c88e9ff66dd&lt;br /&gt;
&lt;br /&gt;
== 2.34.3 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/28)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added a squad member ID to both the mini-map and the Squad HUD. This can be used to locate specific players.&lt;br /&gt;
* Added player requests to the squad HUD. (Ammo/Health/Repairs)&lt;br /&gt;
* Added an indicator in the Squad HUD for players receiving the squad aura effect. (Green box next to player health when the player is receiving the benefit of the squad aura.)&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left:4em;text-align:center&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Squad HUD changes !! Mini-map changes&lt;br /&gt;
|-&lt;br /&gt;
|[[File:SquadMenuChanges 2022-01-28.png|frame|center| Added player request icons (Ammo/Health/Repairs) and an indicator for players currently receiving the squad aura effect.]]&lt;br /&gt;
||&lt;br /&gt;
[[File:MinimapSquadIDExample.png|frame|center|The minimap now shows an ID for each player in your squad, this can be used to identify where each player in the squad is on the map.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue causing explosion damage to break completely on vehicles. This was caused by a previous version, some of the explosion code was rewritten to fix a bug involving a tank&#039;s turret entity transferring damage to the tank entity. There was an oversight which was causing the damage to be prevented entirely; it should now be fixed.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resistances ====&lt;br /&gt;
* Reduced Explosive Missile Resistance (Nuclear Warhead) for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct nuclear missile hit&lt;br /&gt;
* Reduced Artillery resistance for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct high-explosive artillery shell hit.&lt;br /&gt;
==== Research ====&lt;br /&gt;
* Plasma Heavy Machine Gun&lt;br /&gt;
** Reduced Time from 90 to 60&lt;br /&gt;
** Reduced Cost from 360 to 240&lt;br /&gt;
&lt;br /&gt;
== 2.34.2 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/23)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a code typo which was causing a bug with explosion damage, meaning double damage could occur to vehicles.&lt;br /&gt;
* Fixed a few issues relating to checking a player&#039;s team for displaying icons on the minimap. Sometimes player icons wouldn&#039;t display even though they should.&lt;br /&gt;
* Fixed building smoke not calling StopEmission if the particle system is in a sleep state. (IE not being rendered but inside the player&#039;s potential visible set)&lt;br /&gt;
** What this essentially means is that building smoke will continue to change state and even when you&#039;re not looking at the building. Previously you could look away from the building, turn around and notice smoke is still there for a few frames; despite the building being repaired while you weren&#039;t looking.&lt;br /&gt;
* Fixed a typo in vehicle_armor script for BulletExplosiveResist value.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Lowered Plasma Heavy Machine gun&#039;s minimum damage from 10 -&amp;gt; 8 (It previously had no damage falloff.)&lt;br /&gt;
&lt;br /&gt;
== 2.34.1 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/16)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added cvar &amp;quot;emp_sv_drop_cooked_grenades&amp;quot;, this is disabled by default until some gameplay testing can be conducted and feedback gathered.&lt;br /&gt;
** Causes grenades to drop when players die if they had already pulled the pin out. (Excluding mines)&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue with e-repair preventing mines from being defused inside a damaged friendly building.&lt;br /&gt;
* Fixed an issue that was preventing wall gibs from spawning when destroyed. This was caused by a bug fix last patch.&lt;br /&gt;
* Fixed an issue that prevented the commander wall limit from functioning correctly.&lt;br /&gt;
* Fixed an bug relating to removal of attack targets on a player entering command view or a player entering scout hide. Both actions now remove targets instantly.&lt;br /&gt;
* Fixed some issues with how mines are triggered/detonated. Previous to this change, mines would detonate if a vehicle&#039;s &amp;quot;absbox&amp;quot; overlapped the mine bounding box. The problem with this is that the &amp;quot;absbox&amp;quot; is calculated every frame and doesn&#039;t rotate, it grows in size to encapsulate it&#039;s target. This lead to situations where a vehicle that wasn&#039;t perfectly aligned to the world origin would have a greater chance of triggering surrounding mines. The new system should be a lot more accurate and result in less frustration/guess work when trying to avoid mines.&lt;br /&gt;
* Fixed some issues relating to tanks receiving damage:&lt;br /&gt;
** Physics impact damage on tanks no longer prevents repair stations from repairing your tank. It would often be the case that a small bump when trying to enter the repair station would trigger the repair delay, this damage type is now filtered out of this feature. (For reference the delay is 10 seconds, so this can be quite frustrating for the driver.)&lt;br /&gt;
** Tanks no longer trigger the repair delay if they didn&#039;t actually take any damage from the entity trying to damage it. Previous to this change you could use a weapon that doesn&#039;t deal damage to delay a tank from repairing. This has long been an issue and the feature should now work as intended. (As an example, bullets can no longer delay a tank trying to use a repair station.)&lt;br /&gt;
** Fixed some issues where damage was being mis-attributed to players with regards to calculating assists/critical assists.&lt;br /&gt;
** Fixed an issue with tank turrets not transferring damage to the hull appropriately.&lt;br /&gt;
*** Fixed an issue with tanks taking explosion damage from the turret first, despite the hull being closer; resulting in a damage reduction. This will mostly impact gameplay when explosions occur on the top surface of tanks, they will now deal the expected amount of damage without a drop in damage. Explosions now prioritise dealing maximum possible damage in this situation, in terms of possible falloff reductions etc. This is likely going to have a bigger impact on chassis where the turret is often in the line of sight of explosions; for example NF light tanks, where the turret is easier to hit because it&#039;s shorter.&lt;br /&gt;
** Removed some code which was trying to prevent two sets of the same damage applying to vehicles per frame, this was added to prevent a vehicle&#039;s turret from transferring duplicate damage. This was crudely implemented and was preventing damage from occurring in certain situations.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced the Heat to Damage Absorbed on the Command Vehicle&#039;s armor by half.&lt;br /&gt;
* Increased Max Speed from 25 to 30 mph.&lt;br /&gt;
==== General Balance Changes ====&lt;br /&gt;
* Removed the hard-coded variable damage on mines.&lt;br /&gt;
** It was previously written in code that mines would deal double damage if triggered by a vehicle. This has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the mine had been detonated by a vehicle.&lt;br /&gt;
* Removed the hard-coded variable damage on explosive sticky grenades.&lt;br /&gt;
** It was previously written in code that sticky grenades would deal double damage to all vehicles except the command vehicle. Again, this has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the grenade had been attached to a vehicle (Excluding CV).&lt;br /&gt;
** Damage resistances have been adjusted to compensate in the scripts.&lt;br /&gt;
* Added a new script variable for use with vehicle armors &amp;quot;Flat Damage Reduction&amp;quot;. This change is to give reactive more of a unique identity, being quite resistant early game but being less effective as the game progresses and the enemy unlocks stronger weapons.&lt;br /&gt;
** Reactive now has a flat damage reduction of 5. (Resistances have been adjusted to ensure all anti-vehicle machine guns deal damage.)&lt;br /&gt;
** Reactive now has 120 HP per plate instead of 135.&lt;br /&gt;
** Composite now has a flat damage reduction of 1.&lt;br /&gt;
&lt;br /&gt;
[[Category:Patch_Notes]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10681</id>
		<title>Version/2.34.x</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10681"/>
		<updated>2022-06-25T13:10:39Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SitenavNested|:Change_Log|Patch notes}}&lt;br /&gt;
== 2.34.7 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (TBC)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug causing the engineer tool to regain more ammo than expected when re-applying the player&#039;s class.&lt;br /&gt;
* Fixed an issue preventing map spawned ammo crates from re-supplying tanks in certain situations.&lt;br /&gt;
* Fixed an problem with the squad artillery ability being activated in areas that shouldn&#039;t be allowed. (Non sky-box.)&lt;br /&gt;
* Remove spotting of players that attack buildings with a vehicle and jump out before detonation&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* RPG Resistances and resulting Damage to Infantry is now same as Mortar&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased RPG Resist from 0 to 0.19&lt;br /&gt;
*** Reduces RPG Damage from 117 to 105&lt;br /&gt;
* Rifleman&lt;br /&gt;
** Increased RPG Resist from 0 to 0.1&lt;br /&gt;
*** Reduces RPG Damage from 130 to 117&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased RPG Resist from 0.2 to 0.28&lt;br /&gt;
*** Reduces RPG Damage from 104 to 93&lt;br /&gt;
* Engineer&lt;br /&gt;
** Increased RPG Resist from 0 to 0.1&lt;br /&gt;
*** Reduces RPG Damage from 130 to 117&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Projectile Speed from 3100 to 3300&lt;br /&gt;
** Reduced Gravity from 0.35 to 0.30&lt;br /&gt;
** Reduced Projectile Spread from 1 to 0.4&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Cost from 120 to 140&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Damage from 70 to 80&lt;br /&gt;
** Increased Recoil from 70 to 80&lt;br /&gt;
** Increased Speed from 3000 to 3100&lt;br /&gt;
** Reduced Gravity from 0.35 to 0.325&lt;br /&gt;
** Increased Explosion Radius from 150 to 200&lt;br /&gt;
** Increased Infantry Bio Damage from 4 to 6&lt;br /&gt;
&lt;br /&gt;
== 2.34.6 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-05-01)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fix order distances having incorrect unit conversion from inches to meters.&lt;br /&gt;
* Fix an exploit allowing players to refill their engineer tool to full when changing class.&lt;br /&gt;
* Disable mine detonation for players on ladders.&lt;br /&gt;
* Remove double averaging of scoreboard latency, engine code already handles it.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* Engineer &amp;amp; Rifleman&lt;br /&gt;
** Increased Mortar Resist from 0 to 0.1&lt;br /&gt;
*** Reduces Mortar Damage from 130 to 117&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased Mortar Resist from 0.1 to 0.19&lt;br /&gt;
*** Reduces Mortar Damage from 117 to 105&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased Mortar Resist from 0.2 to 0.28&lt;br /&gt;
*** Reduces Mortar Damage from 104 to 93&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced Engineer Hull Repair from 3 to 1&lt;br /&gt;
** It triples the time it takes to repair the Command Vehicle&#039;s Hull&lt;br /&gt;
* Reduced Engineer Armor Repair from 0.04 to 0.01&lt;br /&gt;
** It Quadruples the time it takes to repair the Command Vehicle&#039;s Armor&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Health from 275 to 250&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Regenaration from 0.004 to 0.002&lt;br /&gt;
* Increased Command Vehicle&#039;s Armor Damage to Heat Absorbed from 0.025 to 0.04&lt;br /&gt;
&lt;br /&gt;
{{DevNote|The Command Vehicle needs to be strong enough to withstand enemy fire for a short period of time, however this strength and the ease of repair have made it possible to use the Command Vehicle to drive into enemy fire with little to no consequence.&lt;br /&gt;
With these changes taking too much damage will cost your team time. }}&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Armors ====&lt;br /&gt;
* All Armors&lt;br /&gt;
** Increased Squad Artillery Resistance from 0 to 0.25&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Extended Range Cannon&lt;br /&gt;
** Increased Gravity from 0.1 to 0.15&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Explosion Force from 100 to 500&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Gravity from 0.04 to 0.05&lt;br /&gt;
** Increased Explosion Force from 50 to 1000&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Explosion Force from 170 to 300&lt;br /&gt;
* Upgraded Missile Launcher&lt;br /&gt;
** Reduced Heat from 6.5 to 6&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Explosion Force from 50 to 100&lt;br /&gt;
* Biological Missile Launcher&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
* Salvo Missile Launcher&lt;br /&gt;
** Reduced Weight from 60 to 55&lt;br /&gt;
** Increased Explosion Force from 20 to 50&lt;br /&gt;
* Guided Missile Launcher&lt;br /&gt;
** Reduced Heat from 9 to 8&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Clip Size from 4 to 5&lt;br /&gt;
** Increased Explosion Force from 40 to 100&lt;br /&gt;
* Homing Missile Launcher&lt;br /&gt;
** Increased Explosion Force from 40 to 500&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Mortar &amp;amp; RPG now share the same ammo&lt;br /&gt;
** It effectively reduces the amount of ammo Grenadiers carry by half&lt;br /&gt;
* Mortar&lt;br /&gt;
** Reduced Speed from 2000 to 1800&lt;br /&gt;
* Northern Faction .50cal Rifle&lt;br /&gt;
** Increased Minimal Damage from 20 to 30&lt;br /&gt;
*** It ensures that it takes 4 shots to kill an enemy on distances shorter than ~6000 units&lt;br /&gt;
&lt;br /&gt;
== 2.34.5 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-04-02)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug/exploit that was allowing refineries to be placed at no resource cost.&lt;br /&gt;
* Fixed a bug where the engineer tool kit would not recharge the correct amount if you changed your skills while it was holstered.&lt;br /&gt;
* Fixed the &amp;quot;Just in time&amp;quot; achievement being awarded to the local player even if it was a different player that triggered the achievement.&lt;br /&gt;
* Fixed some issues where the squadleader.cfg file would not execute when expected, leaving you with the wrong key binds if you specified key binds inside the file.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Heavy Machine Gun&lt;br /&gt;
** Increased firing rate from 660 RPM to 792 RPM.&lt;br /&gt;
* SMG1&lt;br /&gt;
** Reduced Max Falloff from 10k to 6k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* SMG2&lt;br /&gt;
** Reduced Max Falloff from 10k to 4k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* BEHR/NFAR&lt;br /&gt;
** Reduced Max Falloff from 10k to 8k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
* Shotgun&lt;br /&gt;
** Reduced Melee Cycle Time from 1 to 0.8&lt;br /&gt;
** Increased Melee Damage from 70 to 80&lt;br /&gt;
* NF Shot Pistol&lt;br /&gt;
** Reduced Damage from 20 to 14&lt;br /&gt;
** Reduced Cycle Time from 0.6 to 0.5&lt;br /&gt;
** Reduced Max Falloff from 10k to 2k&lt;br /&gt;
** Changed Accuracy&lt;br /&gt;
** Changed Kick&lt;br /&gt;
==== Vehicle Chassis ====&lt;br /&gt;
* Artillery Tank&lt;br /&gt;
** Removed Cannon&#039;s Yaw (movement left and right)&lt;br /&gt;
* Northern Faction Artillery Tank&lt;br /&gt;
** Increased minimum pitch (movement up and down) so the cannon does not go inside the vehicle&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Artillery Cannons&lt;br /&gt;
** Removed Recoil&lt;br /&gt;
==== Vehicle Armor ====&lt;br /&gt;
* Reflective angle modifier effective angle range has been reduced from 5 -&amp;gt; 50 degrees to 2.5 -&amp;gt; 47.5 degrees.&lt;br /&gt;
** This is a direct buff to all armors using the reflective angle modifier script attribute as it will reduce the size of the angle modifier &amp;quot;dead zone&amp;quot; (The zone in which there is no damage reduction).&lt;br /&gt;
&lt;br /&gt;
== 2.34.4 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-02-26)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== General changes ===&lt;br /&gt;
* Increased all voice line sound attenuation distance by about 1000 units.&lt;br /&gt;
* Removed unnecessary binary files from server packages. (Some client files were being shipped to server packages unnecessarily.)&lt;br /&gt;
* Added server commands to limit bunny hopping velocity gain and to enable auto bunny hopping, both are disabled by default. sv_enablebunnyhopping &amp;amp; sv_autobunnyhopping&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a server crash relating to mines not being removed correctly.&lt;br /&gt;
* Fixed a few minor issues with the squad aura indicator sometimes showing incorrectly.&lt;br /&gt;
* Fixed an issue causing prop_physics_multiplayer entities being non-solid to players.&lt;br /&gt;
* Fixed player spawn points being able to be blocked by other players.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Scout hide is now removed from players who are reviving or being revived.&lt;br /&gt;
* Added functionality for explosions to be blocked by multiple entities.&lt;br /&gt;
** This allows damage to be applied with a system where multiple entities reduce the damage toward 0, instead of everything behind an explosion ray being blocked by the same thing. This should be more dynamic and it does fix some instances where people could potentially abuse flaws in the old system. (Like throwing concussion grenades at your feet, blocking the ray and causing the damage to pass through the walls and deal damage to turrets hidden behind them...)&lt;br /&gt;
* Large explosions no longer lose damage if player body parts are blocked, this feature was added in version 2.33.1&lt;br /&gt;
** This means that some weapons will always maintain their damage if the player is in radius and in line of sight to the explosion. (Currently this affects all artillery shells and nuclear missiles.)&lt;br /&gt;
==== Buildings ====&lt;br /&gt;
* Vehicle Factory&lt;br /&gt;
** Increased Health from 250 to 350&lt;br /&gt;
** Increased Cost from 400 to 500&lt;br /&gt;
* Radar&lt;br /&gt;
** Increased Health from 200 to 250&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Concussion Grenades&lt;br /&gt;
** Increased Max Ammo from 3 to 6.&lt;br /&gt;
* Northern Faction Assault Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The NFAR is most effective while being still and firing short bursts&lt;br /&gt;
* Northern Faction SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Northern Faction SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brenodi Empire Heavy Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The BEHR is most effective while being still and firing short bursts&lt;br /&gt;
* Brenodi Empire SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Brenodi Empire SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brendo Empire Pistol 2&lt;br /&gt;
** The Brenodi Empire Pistol 2&#039;s accuracy has been improved&lt;br /&gt;
* A few of the weapons have been rebalanced, see the changes here https://git.empiresmod.com/empires_public/empires_scripts/-/merge_requests/231/diffs?commit_id=506bca8eac8be7900d5c799fce0e9c88e9ff66dd&lt;br /&gt;
&lt;br /&gt;
== 2.34.3 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/28)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added a squad member ID to both the mini-map and the Squad HUD. This can be used to locate specific players.&lt;br /&gt;
* Added player requests to the squad HUD. (Ammo/Health/Repairs)&lt;br /&gt;
* Added an indicator in the Squad HUD for players receiving the squad aura effect. (Green box next to player health when the player is receiving the benefit of the squad aura.)&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left:4em;text-align:center&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Squad HUD changes !! Mini-map changes&lt;br /&gt;
|-&lt;br /&gt;
|[[File:SquadMenuChanges 2022-01-28.png|frame|center| Added player request icons (Ammo/Health/Repairs) and an indicator for players currently receiving the squad aura effect.]]&lt;br /&gt;
||&lt;br /&gt;
[[File:MinimapSquadIDExample.png|frame|center|The minimap now shows an ID for each player in your squad, this can be used to identify where each player in the squad is on the map.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue causing explosion damage to break completely on vehicles. This was caused by a previous version, some of the explosion code was rewritten to fix a bug involving a tank&#039;s turret entity transferring damage to the tank entity. There was an oversight which was causing the damage to be prevented entirely; it should now be fixed.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resistances ====&lt;br /&gt;
* Reduced Explosive Missile Resistance (Nuclear Warhead) for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct nuclear missile hit&lt;br /&gt;
* Reduced Artillery resistance for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct high-explosive artillery shell hit.&lt;br /&gt;
==== Research ====&lt;br /&gt;
* Plasma Heavy Machine Gun&lt;br /&gt;
** Reduced Time from 90 to 60&lt;br /&gt;
** Reduced Cost from 360 to 240&lt;br /&gt;
&lt;br /&gt;
== 2.34.2 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/23)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a code typo which was causing a bug with explosion damage, meaning double damage could occur to vehicles.&lt;br /&gt;
* Fixed a few issues relating to checking a player&#039;s team for displaying icons on the minimap. Sometimes player icons wouldn&#039;t display even though they should.&lt;br /&gt;
* Fixed building smoke not calling StopEmission if the particle system is in a sleep state. (IE not being rendered but inside the player&#039;s potential visible set)&lt;br /&gt;
** What this essentially means is that building smoke will continue to change state and even when you&#039;re not looking at the building. Previously you could look away from the building, turn around and notice smoke is still there for a few frames; despite the building being repaired while you weren&#039;t looking.&lt;br /&gt;
* Fixed a typo in vehicle_armor script for BulletExplosiveResist value.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Lowered Plasma Heavy Machine gun&#039;s minimum damage from 10 -&amp;gt; 8 (It previously had no damage falloff.)&lt;br /&gt;
&lt;br /&gt;
== 2.34.1 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/16)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added cvar &amp;quot;emp_sv_drop_cooked_grenades&amp;quot;, this is disabled by default until some gameplay testing can be conducted and feedback gathered.&lt;br /&gt;
** Causes grenades to drop when players die if they had already pulled the pin out. (Excluding mines)&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue with e-repair preventing mines from being defused inside a damaged friendly building.&lt;br /&gt;
* Fixed an issue that was preventing wall gibs from spawning when destroyed. This was caused by a bug fix last patch.&lt;br /&gt;
* Fixed an issue that prevented the commander wall limit from functioning correctly.&lt;br /&gt;
* Fixed an bug relating to removal of attack targets on a player entering command view or a player entering scout hide. Both actions now remove targets instantly.&lt;br /&gt;
* Fixed some issues with how mines are triggered/detonated. Previous to this change, mines would detonate if a vehicle&#039;s &amp;quot;absbox&amp;quot; overlapped the mine bounding box. The problem with this is that the &amp;quot;absbox&amp;quot; is calculated every frame and doesn&#039;t rotate, it grows in size to encapsulate it&#039;s target. This lead to situations where a vehicle that wasn&#039;t perfectly aligned to the world origin would have a greater chance of triggering surrounding mines. The new system should be a lot more accurate and result in less frustration/guess work when trying to avoid mines.&lt;br /&gt;
* Fixed some issues relating to tanks receiving damage:&lt;br /&gt;
** Physics impact damage on tanks no longer prevents repair stations from repairing your tank. It would often be the case that a small bump when trying to enter the repair station would trigger the repair delay, this damage type is now filtered out of this feature. (For reference the delay is 10 seconds, so this can be quite frustrating for the driver.)&lt;br /&gt;
** Tanks no longer trigger the repair delay if they didn&#039;t actually take any damage from the entity trying to damage it. Previous to this change you could use a weapon that doesn&#039;t deal damage to delay a tank from repairing. This has long been an issue and the feature should now work as intended. (As an example, bullets can no longer delay a tank trying to use a repair station.)&lt;br /&gt;
** Fixed some issues where damage was being mis-attributed to players with regards to calculating assists/critical assists.&lt;br /&gt;
** Fixed an issue with tank turrets not transferring damage to the hull appropriately.&lt;br /&gt;
*** Fixed an issue with tanks taking explosion damage from the turret first, despite the hull being closer; resulting in a damage reduction. This will mostly impact gameplay when explosions occur on the top surface of tanks, they will now deal the expected amount of damage without a drop in damage. Explosions now prioritise dealing maximum possible damage in this situation, in terms of possible falloff reductions etc. This is likely going to have a bigger impact on chassis where the turret is often in the line of sight of explosions; for example NF light tanks, where the turret is easier to hit because it&#039;s shorter.&lt;br /&gt;
** Removed some code which was trying to prevent two sets of the same damage applying to vehicles per frame, this was added to prevent a vehicle&#039;s turret from transferring duplicate damage. This was crudely implemented and was preventing damage from occurring in certain situations.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced the Heat to Damage Absorbed on the Command Vehicle&#039;s armor by half.&lt;br /&gt;
* Increased Max Speed from 25 to 30 mph.&lt;br /&gt;
==== General Balance Changes ====&lt;br /&gt;
* Removed the hard-coded variable damage on mines.&lt;br /&gt;
** It was previously written in code that mines would deal double damage if triggered by a vehicle. This has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the mine had been detonated by a vehicle.&lt;br /&gt;
* Removed the hard-coded variable damage on explosive sticky grenades.&lt;br /&gt;
** It was previously written in code that sticky grenades would deal double damage to all vehicles except the command vehicle. Again, this has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the grenade had been attached to a vehicle (Excluding CV).&lt;br /&gt;
** Damage resistances have been adjusted to compensate in the scripts.&lt;br /&gt;
* Added a new script variable for use with vehicle armors &amp;quot;Flat Damage Reduction&amp;quot;. This change is to give reactive more of a unique identity, being quite resistant early game but being less effective as the game progresses and the enemy unlocks stronger weapons.&lt;br /&gt;
** Reactive now has a flat damage reduction of 5. (Resistances have been adjusted to ensure all anti-vehicle machine guns deal damage.)&lt;br /&gt;
** Reactive now has 120 HP per plate instead of 135.&lt;br /&gt;
** Composite now has a flat damage reduction of 1.&lt;br /&gt;
&lt;br /&gt;
[[Category:Patch_Notes]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10680</id>
		<title>Version/2.34.x</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10680"/>
		<updated>2022-06-24T19:25:48Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SitenavNested|:Change_Log|Patch notes}}&lt;br /&gt;
== 2.34.7 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (TBC)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug causing the engineer tool to regain more ammo than expected when re-applying the player&#039;s class.&lt;br /&gt;
* Fixed an issue preventing map spawned ammo crates from re-supplying tanks in certain situations.&lt;br /&gt;
* Fixed an problem with the squad artillery ability being activated in areas that shouldn&#039;t be allowed. (Non sky-box.)&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* RPG Resistances and resulting Damage to Infantry is now same as Mortar&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased RPG Resist from 0 to 0.19&lt;br /&gt;
*** Reduces RPG Damage from 117 to 105&lt;br /&gt;
* Rifleman&lt;br /&gt;
** Increased RPG Resist from 0 to 0.1&lt;br /&gt;
*** Reduces RPG Damage from 130 to 117&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased RPG Resist from 0.2 to 0.28&lt;br /&gt;
*** Reduces RPG Damage from 104 to 93&lt;br /&gt;
* Engineer&lt;br /&gt;
** Increased RPG Resist from 0 to 0.1&lt;br /&gt;
*** Reduces RPG Damage from 130 to 117&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Projectile Speed from 3100 to 3300&lt;br /&gt;
** Reduced Gravity from 0.35 to 0.30&lt;br /&gt;
** Reduced Projectile Spread from 1 to 0.4&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Cost from 120 to 140&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Damage from 70 to 80&lt;br /&gt;
** Increased Recoil from 70 to 80&lt;br /&gt;
** Increased Speed from 3000 to 3100&lt;br /&gt;
** Reduced Gravity from 0.35 to 0.325&lt;br /&gt;
** Increased Explosion Radius from 150 to 200&lt;br /&gt;
** Increased Infantry Bio Damage from 4 to 6&lt;br /&gt;
&lt;br /&gt;
== 2.34.6 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-05-01)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fix order distances having incorrect unit conversion from inches to meters.&lt;br /&gt;
* Fix an exploit allowing players to refill their engineer tool to full when changing class.&lt;br /&gt;
* Disable mine detonation for players on ladders.&lt;br /&gt;
* Remove double averaging of scoreboard latency, engine code already handles it.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* Engineer &amp;amp; Rifleman&lt;br /&gt;
** Increased Mortar Resist from 0 to 0.1&lt;br /&gt;
*** Reduces Mortar Damage from 130 to 117&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased Mortar Resist from 0.1 to 0.19&lt;br /&gt;
*** Reduces Mortar Damage from 117 to 105&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased Mortar Resist from 0.2 to 0.28&lt;br /&gt;
*** Reduces Mortar Damage from 104 to 93&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced Engineer Hull Repair from 3 to 1&lt;br /&gt;
** It triples the time it takes to repair the Command Vehicle&#039;s Hull&lt;br /&gt;
* Reduced Engineer Armor Repair from 0.04 to 0.01&lt;br /&gt;
** It Quadruples the time it takes to repair the Command Vehicle&#039;s Armor&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Health from 275 to 250&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Regenaration from 0.004 to 0.002&lt;br /&gt;
* Increased Command Vehicle&#039;s Armor Damage to Heat Absorbed from 0.025 to 0.04&lt;br /&gt;
&lt;br /&gt;
{{DevNote|The Command Vehicle needs to be strong enough to withstand enemy fire for a short period of time, however this strength and the ease of repair have made it possible to use the Command Vehicle to drive into enemy fire with little to no consequence.&lt;br /&gt;
With these changes taking too much damage will cost your team time. }}&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Armors ====&lt;br /&gt;
* All Armors&lt;br /&gt;
** Increased Squad Artillery Resistance from 0 to 0.25&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Extended Range Cannon&lt;br /&gt;
** Increased Gravity from 0.1 to 0.15&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Explosion Force from 100 to 500&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Gravity from 0.04 to 0.05&lt;br /&gt;
** Increased Explosion Force from 50 to 1000&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Explosion Force from 170 to 300&lt;br /&gt;
* Upgraded Missile Launcher&lt;br /&gt;
** Reduced Heat from 6.5 to 6&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Explosion Force from 50 to 100&lt;br /&gt;
* Biological Missile Launcher&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
* Salvo Missile Launcher&lt;br /&gt;
** Reduced Weight from 60 to 55&lt;br /&gt;
** Increased Explosion Force from 20 to 50&lt;br /&gt;
* Guided Missile Launcher&lt;br /&gt;
** Reduced Heat from 9 to 8&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Clip Size from 4 to 5&lt;br /&gt;
** Increased Explosion Force from 40 to 100&lt;br /&gt;
* Homing Missile Launcher&lt;br /&gt;
** Increased Explosion Force from 40 to 500&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Mortar &amp;amp; RPG now share the same ammo&lt;br /&gt;
** It effectively reduces the amount of ammo Grenadiers carry by half&lt;br /&gt;
* Mortar&lt;br /&gt;
** Reduced Speed from 2000 to 1800&lt;br /&gt;
* Northern Faction .50cal Rifle&lt;br /&gt;
** Increased Minimal Damage from 20 to 30&lt;br /&gt;
*** It ensures that it takes 4 shots to kill an enemy on distances shorter than ~6000 units&lt;br /&gt;
&lt;br /&gt;
== 2.34.5 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-04-02)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug/exploit that was allowing refineries to be placed at no resource cost.&lt;br /&gt;
* Fixed a bug where the engineer tool kit would not recharge the correct amount if you changed your skills while it was holstered.&lt;br /&gt;
* Fixed the &amp;quot;Just in time&amp;quot; achievement being awarded to the local player even if it was a different player that triggered the achievement.&lt;br /&gt;
* Fixed some issues where the squadleader.cfg file would not execute when expected, leaving you with the wrong key binds if you specified key binds inside the file.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Heavy Machine Gun&lt;br /&gt;
** Increased firing rate from 660 RPM to 792 RPM.&lt;br /&gt;
* SMG1&lt;br /&gt;
** Reduced Max Falloff from 10k to 6k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* SMG2&lt;br /&gt;
** Reduced Max Falloff from 10k to 4k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* BEHR/NFAR&lt;br /&gt;
** Reduced Max Falloff from 10k to 8k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
* Shotgun&lt;br /&gt;
** Reduced Melee Cycle Time from 1 to 0.8&lt;br /&gt;
** Increased Melee Damage from 70 to 80&lt;br /&gt;
* NF Shot Pistol&lt;br /&gt;
** Reduced Damage from 20 to 14&lt;br /&gt;
** Reduced Cycle Time from 0.6 to 0.5&lt;br /&gt;
** Reduced Max Falloff from 10k to 2k&lt;br /&gt;
** Changed Accuracy&lt;br /&gt;
** Changed Kick&lt;br /&gt;
==== Vehicle Chassis ====&lt;br /&gt;
* Artillery Tank&lt;br /&gt;
** Removed Cannon&#039;s Yaw (movement left and right)&lt;br /&gt;
* Northern Faction Artillery Tank&lt;br /&gt;
** Increased minimum pitch (movement up and down) so the cannon does not go inside the vehicle&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Artillery Cannons&lt;br /&gt;
** Removed Recoil&lt;br /&gt;
==== Vehicle Armor ====&lt;br /&gt;
* Reflective angle modifier effective angle range has been reduced from 5 -&amp;gt; 50 degrees to 2.5 -&amp;gt; 47.5 degrees.&lt;br /&gt;
** This is a direct buff to all armors using the reflective angle modifier script attribute as it will reduce the size of the angle modifier &amp;quot;dead zone&amp;quot; (The zone in which there is no damage reduction).&lt;br /&gt;
&lt;br /&gt;
== 2.34.4 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-02-26)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== General changes ===&lt;br /&gt;
* Increased all voice line sound attenuation distance by about 1000 units.&lt;br /&gt;
* Removed unnecessary binary files from server packages. (Some client files were being shipped to server packages unnecessarily.)&lt;br /&gt;
* Added server commands to limit bunny hopping velocity gain and to enable auto bunny hopping, both are disabled by default. sv_enablebunnyhopping &amp;amp; sv_autobunnyhopping&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a server crash relating to mines not being removed correctly.&lt;br /&gt;
* Fixed a few minor issues with the squad aura indicator sometimes showing incorrectly.&lt;br /&gt;
* Fixed an issue causing prop_physics_multiplayer entities being non-solid to players.&lt;br /&gt;
* Fixed player spawn points being able to be blocked by other players.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Scout hide is now removed from players who are reviving or being revived.&lt;br /&gt;
* Added functionality for explosions to be blocked by multiple entities.&lt;br /&gt;
** This allows damage to be applied with a system where multiple entities reduce the damage toward 0, instead of everything behind an explosion ray being blocked by the same thing. This should be more dynamic and it does fix some instances where people could potentially abuse flaws in the old system. (Like throwing concussion grenades at your feet, blocking the ray and causing the damage to pass through the walls and deal damage to turrets hidden behind them...)&lt;br /&gt;
* Large explosions no longer lose damage if player body parts are blocked, this feature was added in version 2.33.1&lt;br /&gt;
** This means that some weapons will always maintain their damage if the player is in radius and in line of sight to the explosion. (Currently this affects all artillery shells and nuclear missiles.)&lt;br /&gt;
==== Buildings ====&lt;br /&gt;
* Vehicle Factory&lt;br /&gt;
** Increased Health from 250 to 350&lt;br /&gt;
** Increased Cost from 400 to 500&lt;br /&gt;
* Radar&lt;br /&gt;
** Increased Health from 200 to 250&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Concussion Grenades&lt;br /&gt;
** Increased Max Ammo from 3 to 6.&lt;br /&gt;
* Northern Faction Assault Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The NFAR is most effective while being still and firing short bursts&lt;br /&gt;
* Northern Faction SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Northern Faction SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brenodi Empire Heavy Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The BEHR is most effective while being still and firing short bursts&lt;br /&gt;
* Brenodi Empire SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Brenodi Empire SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brendo Empire Pistol 2&lt;br /&gt;
** The Brenodi Empire Pistol 2&#039;s accuracy has been improved&lt;br /&gt;
* A few of the weapons have been rebalanced, see the changes here https://git.empiresmod.com/empires_public/empires_scripts/-/merge_requests/231/diffs?commit_id=506bca8eac8be7900d5c799fce0e9c88e9ff66dd&lt;br /&gt;
&lt;br /&gt;
== 2.34.3 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/28)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added a squad member ID to both the mini-map and the Squad HUD. This can be used to locate specific players.&lt;br /&gt;
* Added player requests to the squad HUD. (Ammo/Health/Repairs)&lt;br /&gt;
* Added an indicator in the Squad HUD for players receiving the squad aura effect. (Green box next to player health when the player is receiving the benefit of the squad aura.)&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left:4em;text-align:center&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Squad HUD changes !! Mini-map changes&lt;br /&gt;
|-&lt;br /&gt;
|[[File:SquadMenuChanges 2022-01-28.png|frame|center| Added player request icons (Ammo/Health/Repairs) and an indicator for players currently receiving the squad aura effect.]]&lt;br /&gt;
||&lt;br /&gt;
[[File:MinimapSquadIDExample.png|frame|center|The minimap now shows an ID for each player in your squad, this can be used to identify where each player in the squad is on the map.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue causing explosion damage to break completely on vehicles. This was caused by a previous version, some of the explosion code was rewritten to fix a bug involving a tank&#039;s turret entity transferring damage to the tank entity. There was an oversight which was causing the damage to be prevented entirely; it should now be fixed.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resistances ====&lt;br /&gt;
* Reduced Explosive Missile Resistance (Nuclear Warhead) for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct nuclear missile hit&lt;br /&gt;
* Reduced Artillery resistance for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct high-explosive artillery shell hit.&lt;br /&gt;
==== Research ====&lt;br /&gt;
* Plasma Heavy Machine Gun&lt;br /&gt;
** Reduced Time from 90 to 60&lt;br /&gt;
** Reduced Cost from 360 to 240&lt;br /&gt;
&lt;br /&gt;
== 2.34.2 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/23)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a code typo which was causing a bug with explosion damage, meaning double damage could occur to vehicles.&lt;br /&gt;
* Fixed a few issues relating to checking a player&#039;s team for displaying icons on the minimap. Sometimes player icons wouldn&#039;t display even though they should.&lt;br /&gt;
* Fixed building smoke not calling StopEmission if the particle system is in a sleep state. (IE not being rendered but inside the player&#039;s potential visible set)&lt;br /&gt;
** What this essentially means is that building smoke will continue to change state and even when you&#039;re not looking at the building. Previously you could look away from the building, turn around and notice smoke is still there for a few frames; despite the building being repaired while you weren&#039;t looking.&lt;br /&gt;
* Fixed a typo in vehicle_armor script for BulletExplosiveResist value.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Lowered Plasma Heavy Machine gun&#039;s minimum damage from 10 -&amp;gt; 8 (It previously had no damage falloff.)&lt;br /&gt;
&lt;br /&gt;
== 2.34.1 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/16)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added cvar &amp;quot;emp_sv_drop_cooked_grenades&amp;quot;, this is disabled by default until some gameplay testing can be conducted and feedback gathered.&lt;br /&gt;
** Causes grenades to drop when players die if they had already pulled the pin out. (Excluding mines)&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue with e-repair preventing mines from being defused inside a damaged friendly building.&lt;br /&gt;
* Fixed an issue that was preventing wall gibs from spawning when destroyed. This was caused by a bug fix last patch.&lt;br /&gt;
* Fixed an issue that prevented the commander wall limit from functioning correctly.&lt;br /&gt;
* Fixed an bug relating to removal of attack targets on a player entering command view or a player entering scout hide. Both actions now remove targets instantly.&lt;br /&gt;
* Fixed some issues with how mines are triggered/detonated. Previous to this change, mines would detonate if a vehicle&#039;s &amp;quot;absbox&amp;quot; overlapped the mine bounding box. The problem with this is that the &amp;quot;absbox&amp;quot; is calculated every frame and doesn&#039;t rotate, it grows in size to encapsulate it&#039;s target. This lead to situations where a vehicle that wasn&#039;t perfectly aligned to the world origin would have a greater chance of triggering surrounding mines. The new system should be a lot more accurate and result in less frustration/guess work when trying to avoid mines.&lt;br /&gt;
* Fixed some issues relating to tanks receiving damage:&lt;br /&gt;
** Physics impact damage on tanks no longer prevents repair stations from repairing your tank. It would often be the case that a small bump when trying to enter the repair station would trigger the repair delay, this damage type is now filtered out of this feature. (For reference the delay is 10 seconds, so this can be quite frustrating for the driver.)&lt;br /&gt;
** Tanks no longer trigger the repair delay if they didn&#039;t actually take any damage from the entity trying to damage it. Previous to this change you could use a weapon that doesn&#039;t deal damage to delay a tank from repairing. This has long been an issue and the feature should now work as intended. (As an example, bullets can no longer delay a tank trying to use a repair station.)&lt;br /&gt;
** Fixed some issues where damage was being mis-attributed to players with regards to calculating assists/critical assists.&lt;br /&gt;
** Fixed an issue with tank turrets not transferring damage to the hull appropriately.&lt;br /&gt;
*** Fixed an issue with tanks taking explosion damage from the turret first, despite the hull being closer; resulting in a damage reduction. This will mostly impact gameplay when explosions occur on the top surface of tanks, they will now deal the expected amount of damage without a drop in damage. Explosions now prioritise dealing maximum possible damage in this situation, in terms of possible falloff reductions etc. This is likely going to have a bigger impact on chassis where the turret is often in the line of sight of explosions; for example NF light tanks, where the turret is easier to hit because it&#039;s shorter.&lt;br /&gt;
** Removed some code which was trying to prevent two sets of the same damage applying to vehicles per frame, this was added to prevent a vehicle&#039;s turret from transferring duplicate damage. This was crudely implemented and was preventing damage from occurring in certain situations.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced the Heat to Damage Absorbed on the Command Vehicle&#039;s armor by half.&lt;br /&gt;
* Increased Max Speed from 25 to 30 mph.&lt;br /&gt;
==== General Balance Changes ====&lt;br /&gt;
* Removed the hard-coded variable damage on mines.&lt;br /&gt;
** It was previously written in code that mines would deal double damage if triggered by a vehicle. This has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the mine had been detonated by a vehicle.&lt;br /&gt;
* Removed the hard-coded variable damage on explosive sticky grenades.&lt;br /&gt;
** It was previously written in code that sticky grenades would deal double damage to all vehicles except the command vehicle. Again, this has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the grenade had been attached to a vehicle (Excluding CV).&lt;br /&gt;
** Damage resistances have been adjusted to compensate in the scripts.&lt;br /&gt;
* Added a new script variable for use with vehicle armors &amp;quot;Flat Damage Reduction&amp;quot;. This change is to give reactive more of a unique identity, being quite resistant early game but being less effective as the game progresses and the enemy unlocks stronger weapons.&lt;br /&gt;
** Reactive now has a flat damage reduction of 5. (Resistances have been adjusted to ensure all anti-vehicle machine guns deal damage.)&lt;br /&gt;
** Reactive now has 120 HP per plate instead of 135.&lt;br /&gt;
** Composite now has a flat damage reduction of 1.&lt;br /&gt;
&lt;br /&gt;
[[Category:Patch_Notes]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10679</id>
		<title>Version/2.34.x</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10679"/>
		<updated>2022-06-24T19:13:18Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SitenavNested|:Change_Log|Patch notes}}&lt;br /&gt;
== 2.34.7 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (TBC)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug causing the engineer tool to regain more ammo than expected when re-applying the player&#039;s class.&lt;br /&gt;
* Fixed an issue preventing map spawned ammo crates from re-supplying tanks in certain situations.&lt;br /&gt;
* Fixed an problem with the squad artillery ability being activated in areas that shouldn&#039;t be allowed. (Non sky-box.)&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased RPG Resist from 0 to 0.19&lt;br /&gt;
*** Reduces RPG Damage from 117 to 105&lt;br /&gt;
* Rifleman&lt;br /&gt;
** Increased RPG Resist from 0 to 0.1&lt;br /&gt;
*** Reduces RPG Damage from 130 to 117&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased RPG Resist from 0.2 to 0.28&lt;br /&gt;
*** Reduces RPG Damage from 104 to 93&lt;br /&gt;
* Engineer&lt;br /&gt;
** Increased RPG Resist from 0 to 0.1&lt;br /&gt;
*** Reduces RPG Damage from 130 to 117&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Projectile Speed from 3100 to 3300&lt;br /&gt;
** Reduced Gravity from 0.35 to 0.30&lt;br /&gt;
** Reduced Projectile Spread from 1 to 0.4&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Cost from 120 to 140&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Damage from 70 to 80&lt;br /&gt;
** Increased Recoil from 70 to 80&lt;br /&gt;
** Increased Speed from 3000 to 3100&lt;br /&gt;
** Reduced Gravity from 0.35 to 0.325&lt;br /&gt;
** Increased Explosion Radius from 150 to 200&lt;br /&gt;
** Increased Infantry Bio Damage from 4 to 6&lt;br /&gt;
&lt;br /&gt;
== 2.34.6 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-05-01)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fix order distances having incorrect unit conversion from inches to meters.&lt;br /&gt;
* Fix an exploit allowing players to refill their engineer tool to full when changing class.&lt;br /&gt;
* Disable mine detonation for players on ladders.&lt;br /&gt;
* Remove double averaging of scoreboard latency, engine code already handles it.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* Engineer &amp;amp; Rifleman&lt;br /&gt;
** Increased Mortar Resist from 0 to 0.1&lt;br /&gt;
*** Reduces Mortar Damage from 130 to 117&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased Mortar Resist from 0.1 to 0.19&lt;br /&gt;
*** Reduces Mortar Damage from 117 to 105&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased Mortar Resist from 0.2 to 0.28&lt;br /&gt;
*** Reduces Mortar Damage from 104 to 93&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced Engineer Hull Repair from 3 to 1&lt;br /&gt;
** It triples the time it takes to repair the Command Vehicle&#039;s Hull&lt;br /&gt;
* Reduced Engineer Armor Repair from 0.04 to 0.01&lt;br /&gt;
** It Quadruples the time it takes to repair the Command Vehicle&#039;s Armor&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Health from 275 to 250&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Regenaration from 0.004 to 0.002&lt;br /&gt;
* Increased Command Vehicle&#039;s Armor Damage to Heat Absorbed from 0.025 to 0.04&lt;br /&gt;
&lt;br /&gt;
{{DevNote|The Command Vehicle needs to be strong enough to withstand enemy fire for a short period of time, however this strength and the ease of repair have made it possible to use the Command Vehicle to drive into enemy fire with little to no consequence.&lt;br /&gt;
With these changes taking too much damage will cost your team time. }}&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Armors ====&lt;br /&gt;
* All Armors&lt;br /&gt;
** Increased Squad Artillery Resistance from 0 to 0.25&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Extended Range Cannon&lt;br /&gt;
** Increased Gravity from 0.1 to 0.15&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Explosion Force from 100 to 500&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Gravity from 0.04 to 0.05&lt;br /&gt;
** Increased Explosion Force from 50 to 1000&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Explosion Force from 170 to 300&lt;br /&gt;
* Upgraded Missile Launcher&lt;br /&gt;
** Reduced Heat from 6.5 to 6&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Explosion Force from 50 to 100&lt;br /&gt;
* Biological Missile Launcher&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
* Salvo Missile Launcher&lt;br /&gt;
** Reduced Weight from 60 to 55&lt;br /&gt;
** Increased Explosion Force from 20 to 50&lt;br /&gt;
* Guided Missile Launcher&lt;br /&gt;
** Reduced Heat from 9 to 8&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Clip Size from 4 to 5&lt;br /&gt;
** Increased Explosion Force from 40 to 100&lt;br /&gt;
* Homing Missile Launcher&lt;br /&gt;
** Increased Explosion Force from 40 to 500&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Mortar &amp;amp; RPG now share the same ammo&lt;br /&gt;
** It effectively reduces the amount of ammo Grenadiers carry by half&lt;br /&gt;
* Mortar&lt;br /&gt;
** Reduced Speed from 2000 to 1800&lt;br /&gt;
* Northern Faction .50cal Rifle&lt;br /&gt;
** Increased Minimal Damage from 20 to 30&lt;br /&gt;
*** It ensures that it takes 4 shots to kill an enemy on distances shorter than ~6000 units&lt;br /&gt;
&lt;br /&gt;
== 2.34.5 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-04-02)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug/exploit that was allowing refineries to be placed at no resource cost.&lt;br /&gt;
* Fixed a bug where the engineer tool kit would not recharge the correct amount if you changed your skills while it was holstered.&lt;br /&gt;
* Fixed the &amp;quot;Just in time&amp;quot; achievement being awarded to the local player even if it was a different player that triggered the achievement.&lt;br /&gt;
* Fixed some issues where the squadleader.cfg file would not execute when expected, leaving you with the wrong key binds if you specified key binds inside the file.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Heavy Machine Gun&lt;br /&gt;
** Increased firing rate from 660 RPM to 792 RPM.&lt;br /&gt;
* SMG1&lt;br /&gt;
** Reduced Max Falloff from 10k to 6k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* SMG2&lt;br /&gt;
** Reduced Max Falloff from 10k to 4k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* BEHR/NFAR&lt;br /&gt;
** Reduced Max Falloff from 10k to 8k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
* Shotgun&lt;br /&gt;
** Reduced Melee Cycle Time from 1 to 0.8&lt;br /&gt;
** Increased Melee Damage from 70 to 80&lt;br /&gt;
* NF Shot Pistol&lt;br /&gt;
** Reduced Damage from 20 to 14&lt;br /&gt;
** Reduced Cycle Time from 0.6 to 0.5&lt;br /&gt;
** Reduced Max Falloff from 10k to 2k&lt;br /&gt;
** Changed Accuracy&lt;br /&gt;
** Changed Kick&lt;br /&gt;
==== Vehicle Chassis ====&lt;br /&gt;
* Artillery Tank&lt;br /&gt;
** Removed Cannon&#039;s Yaw (movement left and right)&lt;br /&gt;
* Northern Faction Artillery Tank&lt;br /&gt;
** Increased minimum pitch (movement up and down) so the cannon does not go inside the vehicle&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Artillery Cannons&lt;br /&gt;
** Removed Recoil&lt;br /&gt;
==== Vehicle Armor ====&lt;br /&gt;
* Reflective angle modifier effective angle range has been reduced from 5 -&amp;gt; 50 degrees to 2.5 -&amp;gt; 47.5 degrees.&lt;br /&gt;
** This is a direct buff to all armors using the reflective angle modifier script attribute as it will reduce the size of the angle modifier &amp;quot;dead zone&amp;quot; (The zone in which there is no damage reduction).&lt;br /&gt;
&lt;br /&gt;
== 2.34.4 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-02-26)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== General changes ===&lt;br /&gt;
* Increased all voice line sound attenuation distance by about 1000 units.&lt;br /&gt;
* Removed unnecessary binary files from server packages. (Some client files were being shipped to server packages unnecessarily.)&lt;br /&gt;
* Added server commands to limit bunny hopping velocity gain and to enable auto bunny hopping, both are disabled by default. sv_enablebunnyhopping &amp;amp; sv_autobunnyhopping&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a server crash relating to mines not being removed correctly.&lt;br /&gt;
* Fixed a few minor issues with the squad aura indicator sometimes showing incorrectly.&lt;br /&gt;
* Fixed an issue causing prop_physics_multiplayer entities being non-solid to players.&lt;br /&gt;
* Fixed player spawn points being able to be blocked by other players.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Scout hide is now removed from players who are reviving or being revived.&lt;br /&gt;
* Added functionality for explosions to be blocked by multiple entities.&lt;br /&gt;
** This allows damage to be applied with a system where multiple entities reduce the damage toward 0, instead of everything behind an explosion ray being blocked by the same thing. This should be more dynamic and it does fix some instances where people could potentially abuse flaws in the old system. (Like throwing concussion grenades at your feet, blocking the ray and causing the damage to pass through the walls and deal damage to turrets hidden behind them...)&lt;br /&gt;
* Large explosions no longer lose damage if player body parts are blocked, this feature was added in version 2.33.1&lt;br /&gt;
** This means that some weapons will always maintain their damage if the player is in radius and in line of sight to the explosion. (Currently this affects all artillery shells and nuclear missiles.)&lt;br /&gt;
==== Buildings ====&lt;br /&gt;
* Vehicle Factory&lt;br /&gt;
** Increased Health from 250 to 350&lt;br /&gt;
** Increased Cost from 400 to 500&lt;br /&gt;
* Radar&lt;br /&gt;
** Increased Health from 200 to 250&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Concussion Grenades&lt;br /&gt;
** Increased Max Ammo from 3 to 6.&lt;br /&gt;
* Northern Faction Assault Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The NFAR is most effective while being still and firing short bursts&lt;br /&gt;
* Northern Faction SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Northern Faction SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brenodi Empire Heavy Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The BEHR is most effective while being still and firing short bursts&lt;br /&gt;
* Brenodi Empire SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Brenodi Empire SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brendo Empire Pistol 2&lt;br /&gt;
** The Brenodi Empire Pistol 2&#039;s accuracy has been improved&lt;br /&gt;
* A few of the weapons have been rebalanced, see the changes here https://git.empiresmod.com/empires_public/empires_scripts/-/merge_requests/231/diffs?commit_id=506bca8eac8be7900d5c799fce0e9c88e9ff66dd&lt;br /&gt;
&lt;br /&gt;
== 2.34.3 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/28)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added a squad member ID to both the mini-map and the Squad HUD. This can be used to locate specific players.&lt;br /&gt;
* Added player requests to the squad HUD. (Ammo/Health/Repairs)&lt;br /&gt;
* Added an indicator in the Squad HUD for players receiving the squad aura effect. (Green box next to player health when the player is receiving the benefit of the squad aura.)&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left:4em;text-align:center&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Squad HUD changes !! Mini-map changes&lt;br /&gt;
|-&lt;br /&gt;
|[[File:SquadMenuChanges 2022-01-28.png|frame|center| Added player request icons (Ammo/Health/Repairs) and an indicator for players currently receiving the squad aura effect.]]&lt;br /&gt;
||&lt;br /&gt;
[[File:MinimapSquadIDExample.png|frame|center|The minimap now shows an ID for each player in your squad, this can be used to identify where each player in the squad is on the map.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue causing explosion damage to break completely on vehicles. This was caused by a previous version, some of the explosion code was rewritten to fix a bug involving a tank&#039;s turret entity transferring damage to the tank entity. There was an oversight which was causing the damage to be prevented entirely; it should now be fixed.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resistances ====&lt;br /&gt;
* Reduced Explosive Missile Resistance (Nuclear Warhead) for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct nuclear missile hit&lt;br /&gt;
* Reduced Artillery resistance for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct high-explosive artillery shell hit.&lt;br /&gt;
==== Research ====&lt;br /&gt;
* Plasma Heavy Machine Gun&lt;br /&gt;
** Reduced Time from 90 to 60&lt;br /&gt;
** Reduced Cost from 360 to 240&lt;br /&gt;
&lt;br /&gt;
== 2.34.2 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/23)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a code typo which was causing a bug with explosion damage, meaning double damage could occur to vehicles.&lt;br /&gt;
* Fixed a few issues relating to checking a player&#039;s team for displaying icons on the minimap. Sometimes player icons wouldn&#039;t display even though they should.&lt;br /&gt;
* Fixed building smoke not calling StopEmission if the particle system is in a sleep state. (IE not being rendered but inside the player&#039;s potential visible set)&lt;br /&gt;
** What this essentially means is that building smoke will continue to change state and even when you&#039;re not looking at the building. Previously you could look away from the building, turn around and notice smoke is still there for a few frames; despite the building being repaired while you weren&#039;t looking.&lt;br /&gt;
* Fixed a typo in vehicle_armor script for BulletExplosiveResist value.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Lowered Plasma Heavy Machine gun&#039;s minimum damage from 10 -&amp;gt; 8 (It previously had no damage falloff.)&lt;br /&gt;
&lt;br /&gt;
== 2.34.1 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/16)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added cvar &amp;quot;emp_sv_drop_cooked_grenades&amp;quot;, this is disabled by default until some gameplay testing can be conducted and feedback gathered.&lt;br /&gt;
** Causes grenades to drop when players die if they had already pulled the pin out. (Excluding mines)&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue with e-repair preventing mines from being defused inside a damaged friendly building.&lt;br /&gt;
* Fixed an issue that was preventing wall gibs from spawning when destroyed. This was caused by a bug fix last patch.&lt;br /&gt;
* Fixed an issue that prevented the commander wall limit from functioning correctly.&lt;br /&gt;
* Fixed an bug relating to removal of attack targets on a player entering command view or a player entering scout hide. Both actions now remove targets instantly.&lt;br /&gt;
* Fixed some issues with how mines are triggered/detonated. Previous to this change, mines would detonate if a vehicle&#039;s &amp;quot;absbox&amp;quot; overlapped the mine bounding box. The problem with this is that the &amp;quot;absbox&amp;quot; is calculated every frame and doesn&#039;t rotate, it grows in size to encapsulate it&#039;s target. This lead to situations where a vehicle that wasn&#039;t perfectly aligned to the world origin would have a greater chance of triggering surrounding mines. The new system should be a lot more accurate and result in less frustration/guess work when trying to avoid mines.&lt;br /&gt;
* Fixed some issues relating to tanks receiving damage:&lt;br /&gt;
** Physics impact damage on tanks no longer prevents repair stations from repairing your tank. It would often be the case that a small bump when trying to enter the repair station would trigger the repair delay, this damage type is now filtered out of this feature. (For reference the delay is 10 seconds, so this can be quite frustrating for the driver.)&lt;br /&gt;
** Tanks no longer trigger the repair delay if they didn&#039;t actually take any damage from the entity trying to damage it. Previous to this change you could use a weapon that doesn&#039;t deal damage to delay a tank from repairing. This has long been an issue and the feature should now work as intended. (As an example, bullets can no longer delay a tank trying to use a repair station.)&lt;br /&gt;
** Fixed some issues where damage was being mis-attributed to players with regards to calculating assists/critical assists.&lt;br /&gt;
** Fixed an issue with tank turrets not transferring damage to the hull appropriately.&lt;br /&gt;
*** Fixed an issue with tanks taking explosion damage from the turret first, despite the hull being closer; resulting in a damage reduction. This will mostly impact gameplay when explosions occur on the top surface of tanks, they will now deal the expected amount of damage without a drop in damage. Explosions now prioritise dealing maximum possible damage in this situation, in terms of possible falloff reductions etc. This is likely going to have a bigger impact on chassis where the turret is often in the line of sight of explosions; for example NF light tanks, where the turret is easier to hit because it&#039;s shorter.&lt;br /&gt;
** Removed some code which was trying to prevent two sets of the same damage applying to vehicles per frame, this was added to prevent a vehicle&#039;s turret from transferring duplicate damage. This was crudely implemented and was preventing damage from occurring in certain situations.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced the Heat to Damage Absorbed on the Command Vehicle&#039;s armor by half.&lt;br /&gt;
* Increased Max Speed from 25 to 30 mph.&lt;br /&gt;
==== General Balance Changes ====&lt;br /&gt;
* Removed the hard-coded variable damage on mines.&lt;br /&gt;
** It was previously written in code that mines would deal double damage if triggered by a vehicle. This has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the mine had been detonated by a vehicle.&lt;br /&gt;
* Removed the hard-coded variable damage on explosive sticky grenades.&lt;br /&gt;
** It was previously written in code that sticky grenades would deal double damage to all vehicles except the command vehicle. Again, this has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the grenade had been attached to a vehicle (Excluding CV).&lt;br /&gt;
** Damage resistances have been adjusted to compensate in the scripts.&lt;br /&gt;
* Added a new script variable for use with vehicle armors &amp;quot;Flat Damage Reduction&amp;quot;. This change is to give reactive more of a unique identity, being quite resistant early game but being less effective as the game progresses and the enemy unlocks stronger weapons.&lt;br /&gt;
** Reactive now has a flat damage reduction of 5. (Resistances have been adjusted to ensure all anti-vehicle machine guns deal damage.)&lt;br /&gt;
** Reactive now has 120 HP per plate instead of 135.&lt;br /&gt;
** Composite now has a flat damage reduction of 1.&lt;br /&gt;
&lt;br /&gt;
[[Category:Patch_Notes]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10678</id>
		<title>Version/2.34.x</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10678"/>
		<updated>2022-06-24T19:06:58Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SitenavNested|:Change_Log|Patch notes}}&lt;br /&gt;
== 2.34.7 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (TBC)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug causing the engineer tool to regain more ammo than expected when re-applying the player&#039;s class.&lt;br /&gt;
* Fixed an issue preventing map spawned ammo crates from re-supplying tanks in certain situations.&lt;br /&gt;
* Fixed an problem with the squad artillery ability being activated in areas that shouldn&#039;t be allowed. (Non sky-box.)&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased RPG Resist from 0 to 0.19&lt;br /&gt;
*** Reduces Mortar Damage from 117 to 105&lt;br /&gt;
* Rifleman&lt;br /&gt;
** Increased RPG Resist from 0 to 0.1&lt;br /&gt;
*** Reduces Mortar Damage from 130 to 117&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased RPG Resist from 0.2 to 0.28&lt;br /&gt;
*** Reduces Mortar Damage from 104 to 93&lt;br /&gt;
* Engineer&lt;br /&gt;
** Increased RPG Resist from 0 to 0.1&lt;br /&gt;
*** Reduces Mortar Damage from 130 to 117&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Projectile Speed from 3100 to 3300&lt;br /&gt;
** Reduced Gravity from 0.35 to 0.30&lt;br /&gt;
** Reduced Projectile Spread from 1 to 0.4&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Cost from 120 to 140&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Damage from 70 to 80&lt;br /&gt;
** Increased Recoil from 70 to 80&lt;br /&gt;
** Increased Speed from 3000 to 3100&lt;br /&gt;
** Reduced Gravity from 0.35 to 0.325&lt;br /&gt;
** Increased Explosion Radius from 150 to 200&lt;br /&gt;
** Increased Infantry Bio Damage from 4 to 6&lt;br /&gt;
&lt;br /&gt;
== 2.34.6 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-05-01)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fix order distances having incorrect unit conversion from inches to meters.&lt;br /&gt;
* Fix an exploit allowing players to refill their engineer tool to full when changing class.&lt;br /&gt;
* Disable mine detonation for players on ladders.&lt;br /&gt;
* Remove double averaging of scoreboard latency, engine code already handles it.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* Engineer &amp;amp; Rifleman&lt;br /&gt;
** Increased Mortar Resist from 0 to 0.1&lt;br /&gt;
*** Reduces Mortar Damage from 130 to 117&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased Mortar Resist from 0.1 to 0.19&lt;br /&gt;
*** Reduces Mortar Damage from 117 to 105&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased Mortar Resist from 0.2 to 0.28&lt;br /&gt;
*** Reduces Mortar Damage from 104 to 93&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced Engineer Hull Repair from 3 to 1&lt;br /&gt;
** It triples the time it takes to repair the Command Vehicle&#039;s Hull&lt;br /&gt;
* Reduced Engineer Armor Repair from 0.04 to 0.01&lt;br /&gt;
** It Quadruples the time it takes to repair the Command Vehicle&#039;s Armor&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Health from 275 to 250&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Regenaration from 0.004 to 0.002&lt;br /&gt;
* Increased Command Vehicle&#039;s Armor Damage to Heat Absorbed from 0.025 to 0.04&lt;br /&gt;
&lt;br /&gt;
{{DevNote|The Command Vehicle needs to be strong enough to withstand enemy fire for a short period of time, however this strength and the ease of repair have made it possible to use the Command Vehicle to drive into enemy fire with little to no consequence.&lt;br /&gt;
With these changes taking too much damage will cost your team time. }}&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Armors ====&lt;br /&gt;
* All Armors&lt;br /&gt;
** Increased Squad Artillery Resistance from 0 to 0.25&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Extended Range Cannon&lt;br /&gt;
** Increased Gravity from 0.1 to 0.15&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Explosion Force from 100 to 500&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Gravity from 0.04 to 0.05&lt;br /&gt;
** Increased Explosion Force from 50 to 1000&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Explosion Force from 170 to 300&lt;br /&gt;
* Upgraded Missile Launcher&lt;br /&gt;
** Reduced Heat from 6.5 to 6&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Explosion Force from 50 to 100&lt;br /&gt;
* Biological Missile Launcher&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
* Salvo Missile Launcher&lt;br /&gt;
** Reduced Weight from 60 to 55&lt;br /&gt;
** Increased Explosion Force from 20 to 50&lt;br /&gt;
* Guided Missile Launcher&lt;br /&gt;
** Reduced Heat from 9 to 8&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Clip Size from 4 to 5&lt;br /&gt;
** Increased Explosion Force from 40 to 100&lt;br /&gt;
* Homing Missile Launcher&lt;br /&gt;
** Increased Explosion Force from 40 to 500&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Mortar &amp;amp; RPG now share the same ammo&lt;br /&gt;
** It effectively reduces the amount of ammo Grenadiers carry by half&lt;br /&gt;
* Mortar&lt;br /&gt;
** Reduced Speed from 2000 to 1800&lt;br /&gt;
* Northern Faction .50cal Rifle&lt;br /&gt;
** Increased Minimal Damage from 20 to 30&lt;br /&gt;
*** It ensures that it takes 4 shots to kill an enemy on distances shorter than ~6000 units&lt;br /&gt;
&lt;br /&gt;
== 2.34.5 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-04-02)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug/exploit that was allowing refineries to be placed at no resource cost.&lt;br /&gt;
* Fixed a bug where the engineer tool kit would not recharge the correct amount if you changed your skills while it was holstered.&lt;br /&gt;
* Fixed the &amp;quot;Just in time&amp;quot; achievement being awarded to the local player even if it was a different player that triggered the achievement.&lt;br /&gt;
* Fixed some issues where the squadleader.cfg file would not execute when expected, leaving you with the wrong key binds if you specified key binds inside the file.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Heavy Machine Gun&lt;br /&gt;
** Increased firing rate from 660 RPM to 792 RPM.&lt;br /&gt;
* SMG1&lt;br /&gt;
** Reduced Max Falloff from 10k to 6k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* SMG2&lt;br /&gt;
** Reduced Max Falloff from 10k to 4k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* BEHR/NFAR&lt;br /&gt;
** Reduced Max Falloff from 10k to 8k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
* Shotgun&lt;br /&gt;
** Reduced Melee Cycle Time from 1 to 0.8&lt;br /&gt;
** Increased Melee Damage from 70 to 80&lt;br /&gt;
* NF Shot Pistol&lt;br /&gt;
** Reduced Damage from 20 to 14&lt;br /&gt;
** Reduced Cycle Time from 0.6 to 0.5&lt;br /&gt;
** Reduced Max Falloff from 10k to 2k&lt;br /&gt;
** Changed Accuracy&lt;br /&gt;
** Changed Kick&lt;br /&gt;
==== Vehicle Chassis ====&lt;br /&gt;
* Artillery Tank&lt;br /&gt;
** Removed Cannon&#039;s Yaw (movement left and right)&lt;br /&gt;
* Northern Faction Artillery Tank&lt;br /&gt;
** Increased minimum pitch (movement up and down) so the cannon does not go inside the vehicle&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Artillery Cannons&lt;br /&gt;
** Removed Recoil&lt;br /&gt;
==== Vehicle Armor ====&lt;br /&gt;
* Reflective angle modifier effective angle range has been reduced from 5 -&amp;gt; 50 degrees to 2.5 -&amp;gt; 47.5 degrees.&lt;br /&gt;
** This is a direct buff to all armors using the reflective angle modifier script attribute as it will reduce the size of the angle modifier &amp;quot;dead zone&amp;quot; (The zone in which there is no damage reduction).&lt;br /&gt;
&lt;br /&gt;
== 2.34.4 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-02-26)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== General changes ===&lt;br /&gt;
* Increased all voice line sound attenuation distance by about 1000 units.&lt;br /&gt;
* Removed unnecessary binary files from server packages. (Some client files were being shipped to server packages unnecessarily.)&lt;br /&gt;
* Added server commands to limit bunny hopping velocity gain and to enable auto bunny hopping, both are disabled by default. sv_enablebunnyhopping &amp;amp; sv_autobunnyhopping&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a server crash relating to mines not being removed correctly.&lt;br /&gt;
* Fixed a few minor issues with the squad aura indicator sometimes showing incorrectly.&lt;br /&gt;
* Fixed an issue causing prop_physics_multiplayer entities being non-solid to players.&lt;br /&gt;
* Fixed player spawn points being able to be blocked by other players.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Scout hide is now removed from players who are reviving or being revived.&lt;br /&gt;
* Added functionality for explosions to be blocked by multiple entities.&lt;br /&gt;
** This allows damage to be applied with a system where multiple entities reduce the damage toward 0, instead of everything behind an explosion ray being blocked by the same thing. This should be more dynamic and it does fix some instances where people could potentially abuse flaws in the old system. (Like throwing concussion grenades at your feet, blocking the ray and causing the damage to pass through the walls and deal damage to turrets hidden behind them...)&lt;br /&gt;
* Large explosions no longer lose damage if player body parts are blocked, this feature was added in version 2.33.1&lt;br /&gt;
** This means that some weapons will always maintain their damage if the player is in radius and in line of sight to the explosion. (Currently this affects all artillery shells and nuclear missiles.)&lt;br /&gt;
==== Buildings ====&lt;br /&gt;
* Vehicle Factory&lt;br /&gt;
** Increased Health from 250 to 350&lt;br /&gt;
** Increased Cost from 400 to 500&lt;br /&gt;
* Radar&lt;br /&gt;
** Increased Health from 200 to 250&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Concussion Grenades&lt;br /&gt;
** Increased Max Ammo from 3 to 6.&lt;br /&gt;
* Northern Faction Assault Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The NFAR is most effective while being still and firing short bursts&lt;br /&gt;
* Northern Faction SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Northern Faction SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brenodi Empire Heavy Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The BEHR is most effective while being still and firing short bursts&lt;br /&gt;
* Brenodi Empire SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Brenodi Empire SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brendo Empire Pistol 2&lt;br /&gt;
** The Brenodi Empire Pistol 2&#039;s accuracy has been improved&lt;br /&gt;
* A few of the weapons have been rebalanced, see the changes here https://git.empiresmod.com/empires_public/empires_scripts/-/merge_requests/231/diffs?commit_id=506bca8eac8be7900d5c799fce0e9c88e9ff66dd&lt;br /&gt;
&lt;br /&gt;
== 2.34.3 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/28)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added a squad member ID to both the mini-map and the Squad HUD. This can be used to locate specific players.&lt;br /&gt;
* Added player requests to the squad HUD. (Ammo/Health/Repairs)&lt;br /&gt;
* Added an indicator in the Squad HUD for players receiving the squad aura effect. (Green box next to player health when the player is receiving the benefit of the squad aura.)&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left:4em;text-align:center&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Squad HUD changes !! Mini-map changes&lt;br /&gt;
|-&lt;br /&gt;
|[[File:SquadMenuChanges 2022-01-28.png|frame|center| Added player request icons (Ammo/Health/Repairs) and an indicator for players currently receiving the squad aura effect.]]&lt;br /&gt;
||&lt;br /&gt;
[[File:MinimapSquadIDExample.png|frame|center|The minimap now shows an ID for each player in your squad, this can be used to identify where each player in the squad is on the map.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue causing explosion damage to break completely on vehicles. This was caused by a previous version, some of the explosion code was rewritten to fix a bug involving a tank&#039;s turret entity transferring damage to the tank entity. There was an oversight which was causing the damage to be prevented entirely; it should now be fixed.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resistances ====&lt;br /&gt;
* Reduced Explosive Missile Resistance (Nuclear Warhead) for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct nuclear missile hit&lt;br /&gt;
* Reduced Artillery resistance for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct high-explosive artillery shell hit.&lt;br /&gt;
==== Research ====&lt;br /&gt;
* Plasma Heavy Machine Gun&lt;br /&gt;
** Reduced Time from 90 to 60&lt;br /&gt;
** Reduced Cost from 360 to 240&lt;br /&gt;
&lt;br /&gt;
== 2.34.2 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/23)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a code typo which was causing a bug with explosion damage, meaning double damage could occur to vehicles.&lt;br /&gt;
* Fixed a few issues relating to checking a player&#039;s team for displaying icons on the minimap. Sometimes player icons wouldn&#039;t display even though they should.&lt;br /&gt;
* Fixed building smoke not calling StopEmission if the particle system is in a sleep state. (IE not being rendered but inside the player&#039;s potential visible set)&lt;br /&gt;
** What this essentially means is that building smoke will continue to change state and even when you&#039;re not looking at the building. Previously you could look away from the building, turn around and notice smoke is still there for a few frames; despite the building being repaired while you weren&#039;t looking.&lt;br /&gt;
* Fixed a typo in vehicle_armor script for BulletExplosiveResist value.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Lowered Plasma Heavy Machine gun&#039;s minimum damage from 10 -&amp;gt; 8 (It previously had no damage falloff.)&lt;br /&gt;
&lt;br /&gt;
== 2.34.1 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/16)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added cvar &amp;quot;emp_sv_drop_cooked_grenades&amp;quot;, this is disabled by default until some gameplay testing can be conducted and feedback gathered.&lt;br /&gt;
** Causes grenades to drop when players die if they had already pulled the pin out. (Excluding mines)&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue with e-repair preventing mines from being defused inside a damaged friendly building.&lt;br /&gt;
* Fixed an issue that was preventing wall gibs from spawning when destroyed. This was caused by a bug fix last patch.&lt;br /&gt;
* Fixed an issue that prevented the commander wall limit from functioning correctly.&lt;br /&gt;
* Fixed an bug relating to removal of attack targets on a player entering command view or a player entering scout hide. Both actions now remove targets instantly.&lt;br /&gt;
* Fixed some issues with how mines are triggered/detonated. Previous to this change, mines would detonate if a vehicle&#039;s &amp;quot;absbox&amp;quot; overlapped the mine bounding box. The problem with this is that the &amp;quot;absbox&amp;quot; is calculated every frame and doesn&#039;t rotate, it grows in size to encapsulate it&#039;s target. This lead to situations where a vehicle that wasn&#039;t perfectly aligned to the world origin would have a greater chance of triggering surrounding mines. The new system should be a lot more accurate and result in less frustration/guess work when trying to avoid mines.&lt;br /&gt;
* Fixed some issues relating to tanks receiving damage:&lt;br /&gt;
** Physics impact damage on tanks no longer prevents repair stations from repairing your tank. It would often be the case that a small bump when trying to enter the repair station would trigger the repair delay, this damage type is now filtered out of this feature. (For reference the delay is 10 seconds, so this can be quite frustrating for the driver.)&lt;br /&gt;
** Tanks no longer trigger the repair delay if they didn&#039;t actually take any damage from the entity trying to damage it. Previous to this change you could use a weapon that doesn&#039;t deal damage to delay a tank from repairing. This has long been an issue and the feature should now work as intended. (As an example, bullets can no longer delay a tank trying to use a repair station.)&lt;br /&gt;
** Fixed some issues where damage was being mis-attributed to players with regards to calculating assists/critical assists.&lt;br /&gt;
** Fixed an issue with tank turrets not transferring damage to the hull appropriately.&lt;br /&gt;
*** Fixed an issue with tanks taking explosion damage from the turret first, despite the hull being closer; resulting in a damage reduction. This will mostly impact gameplay when explosions occur on the top surface of tanks, they will now deal the expected amount of damage without a drop in damage. Explosions now prioritise dealing maximum possible damage in this situation, in terms of possible falloff reductions etc. This is likely going to have a bigger impact on chassis where the turret is often in the line of sight of explosions; for example NF light tanks, where the turret is easier to hit because it&#039;s shorter.&lt;br /&gt;
** Removed some code which was trying to prevent two sets of the same damage applying to vehicles per frame, this was added to prevent a vehicle&#039;s turret from transferring duplicate damage. This was crudely implemented and was preventing damage from occurring in certain situations.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced the Heat to Damage Absorbed on the Command Vehicle&#039;s armor by half.&lt;br /&gt;
* Increased Max Speed from 25 to 30 mph.&lt;br /&gt;
==== General Balance Changes ====&lt;br /&gt;
* Removed the hard-coded variable damage on mines.&lt;br /&gt;
** It was previously written in code that mines would deal double damage if triggered by a vehicle. This has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the mine had been detonated by a vehicle.&lt;br /&gt;
* Removed the hard-coded variable damage on explosive sticky grenades.&lt;br /&gt;
** It was previously written in code that sticky grenades would deal double damage to all vehicles except the command vehicle. Again, this has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the grenade had been attached to a vehicle (Excluding CV).&lt;br /&gt;
** Damage resistances have been adjusted to compensate in the scripts.&lt;br /&gt;
* Added a new script variable for use with vehicle armors &amp;quot;Flat Damage Reduction&amp;quot;. This change is to give reactive more of a unique identity, being quite resistant early game but being less effective as the game progresses and the enemy unlocks stronger weapons.&lt;br /&gt;
** Reactive now has a flat damage reduction of 5. (Resistances have been adjusted to ensure all anti-vehicle machine guns deal damage.)&lt;br /&gt;
** Reactive now has 120 HP per plate instead of 135.&lt;br /&gt;
** Composite now has a flat damage reduction of 1.&lt;br /&gt;
&lt;br /&gt;
[[Category:Patch_Notes]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10677</id>
		<title>Version/2.34.x</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10677"/>
		<updated>2022-06-24T17:17:50Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SitenavNested|:Change_Log|Patch notes}}&lt;br /&gt;
== 2.34.7 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (TBC)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug causing the engineer tool to regain more ammo than expected when re-applying the player&#039;s class.&lt;br /&gt;
* Fixed an issue preventing map spawned ammo crates from re-supplying tanks in certain situations.&lt;br /&gt;
* Fixed an problem with the squad artillery ability being activated in areas that shouldn&#039;t be allowed. (Non sky-box.)&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased RPG Resist from 0 to 0.19&lt;br /&gt;
* Rifleman&lt;br /&gt;
** Increased RPG Resist from 0 to 0.1&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased RPG Resist from 0.2 to 0.28&lt;br /&gt;
* Engineer&lt;br /&gt;
** Increased RPG Resist from 0 to 0.1&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Projectile Speed from 3100 to 3300&lt;br /&gt;
** Reduced Gravity from 0.35 to 0.30&lt;br /&gt;
** Reduced Projectile Spread from 1 to 0.4&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Cost from 120 to 140&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Damage from 70 to 80&lt;br /&gt;
** Increased Recoil from 70 to 80&lt;br /&gt;
** Increased Speed from 3000 to 3100&lt;br /&gt;
** Reduced Gravity from 0.35 to 0.325&lt;br /&gt;
** Increased Explosion Radius from 150 to 200&lt;br /&gt;
** Increased Infantry Bio Damage from 4 to 6&lt;br /&gt;
&lt;br /&gt;
== 2.34.6 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-05-01)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fix order distances having incorrect unit conversion from inches to meters.&lt;br /&gt;
* Fix an exploit allowing players to refill their engineer tool to full when changing class.&lt;br /&gt;
* Disable mine detonation for players on ladders.&lt;br /&gt;
* Remove double averaging of scoreboard latency, engine code already handles it.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* Engineer &amp;amp; Rifleman&lt;br /&gt;
** Increased Mortar Resist from 0 to 0.1&lt;br /&gt;
*** Reduces Mortar Damage from 130 to 117&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased Mortar Resist from 0.1 to 0.19&lt;br /&gt;
*** Reduces Mortar Damage from 117 to 105&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased Mortar Resist from 0.2 to 0.28&lt;br /&gt;
*** Reduces Mortar Damage from 104 to 93&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced Engineer Hull Repair from 3 to 1&lt;br /&gt;
** It triples the time it takes to repair the Command Vehicle&#039;s Hull&lt;br /&gt;
* Reduced Engineer Armor Repair from 0.04 to 0.01&lt;br /&gt;
** It Quadruples the time it takes to repair the Command Vehicle&#039;s Armor&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Health from 275 to 250&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Regenaration from 0.004 to 0.002&lt;br /&gt;
* Increased Command Vehicle&#039;s Armor Damage to Heat Absorbed from 0.025 to 0.04&lt;br /&gt;
&lt;br /&gt;
{{DevNote|The Command Vehicle needs to be strong enough to withstand enemy fire for a short period of time, however this strength and the ease of repair have made it possible to use the Command Vehicle to drive into enemy fire with little to no consequence.&lt;br /&gt;
With these changes taking too much damage will cost your team time. }}&lt;br /&gt;
&lt;br /&gt;
==== Vehicle Armors ====&lt;br /&gt;
* All Armors&lt;br /&gt;
** Increased Squad Artillery Resistance from 0 to 0.25&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Extended Range Cannon&lt;br /&gt;
** Increased Gravity from 0.1 to 0.15&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Explosion Force from 100 to 500&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Gravity from 0.04 to 0.05&lt;br /&gt;
** Increased Explosion Force from 50 to 1000&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Explosion Force from 170 to 300&lt;br /&gt;
* Upgraded Missile Launcher&lt;br /&gt;
** Reduced Heat from 6.5 to 6&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Explosion Force from 50 to 100&lt;br /&gt;
* Biological Missile Launcher&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
* Salvo Missile Launcher&lt;br /&gt;
** Reduced Weight from 60 to 55&lt;br /&gt;
** Increased Explosion Force from 20 to 50&lt;br /&gt;
* Guided Missile Launcher&lt;br /&gt;
** Reduced Heat from 9 to 8&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Clip Size from 4 to 5&lt;br /&gt;
** Increased Explosion Force from 40 to 100&lt;br /&gt;
* Homing Missile Launcher&lt;br /&gt;
** Increased Explosion Force from 40 to 500&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Mortar &amp;amp; RPG now share the same ammo&lt;br /&gt;
** It effectively reduces the amount of ammo Grenadiers carry by half&lt;br /&gt;
* Mortar&lt;br /&gt;
** Reduced Speed from 2000 to 1800&lt;br /&gt;
* Northern Faction .50cal Rifle&lt;br /&gt;
** Increased Minimal Damage from 20 to 30&lt;br /&gt;
*** It ensures that it takes 4 shots to kill an enemy on distances shorter than ~6000 units&lt;br /&gt;
&lt;br /&gt;
== 2.34.5 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-04-02)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug/exploit that was allowing refineries to be placed at no resource cost.&lt;br /&gt;
* Fixed a bug where the engineer tool kit would not recharge the correct amount if you changed your skills while it was holstered.&lt;br /&gt;
* Fixed the &amp;quot;Just in time&amp;quot; achievement being awarded to the local player even if it was a different player that triggered the achievement.&lt;br /&gt;
* Fixed some issues where the squadleader.cfg file would not execute when expected, leaving you with the wrong key binds if you specified key binds inside the file.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Heavy Machine Gun&lt;br /&gt;
** Increased firing rate from 660 RPM to 792 RPM.&lt;br /&gt;
* SMG1&lt;br /&gt;
** Reduced Max Falloff from 10k to 6k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* SMG2&lt;br /&gt;
** Reduced Max Falloff from 10k to 4k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* BEHR/NFAR&lt;br /&gt;
** Reduced Max Falloff from 10k to 8k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
* Shotgun&lt;br /&gt;
** Reduced Melee Cycle Time from 1 to 0.8&lt;br /&gt;
** Increased Melee Damage from 70 to 80&lt;br /&gt;
* NF Shot Pistol&lt;br /&gt;
** Reduced Damage from 20 to 14&lt;br /&gt;
** Reduced Cycle Time from 0.6 to 0.5&lt;br /&gt;
** Reduced Max Falloff from 10k to 2k&lt;br /&gt;
** Changed Accuracy&lt;br /&gt;
** Changed Kick&lt;br /&gt;
==== Vehicle Chassis ====&lt;br /&gt;
* Artillery Tank&lt;br /&gt;
** Removed Cannon&#039;s Yaw (movement left and right)&lt;br /&gt;
* Northern Faction Artillery Tank&lt;br /&gt;
** Increased minimum pitch (movement up and down) so the cannon does not go inside the vehicle&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Artillery Cannons&lt;br /&gt;
** Removed Recoil&lt;br /&gt;
==== Vehicle Armor ====&lt;br /&gt;
* Reflective angle modifier effective angle range has been reduced from 5 -&amp;gt; 50 degrees to 2.5 -&amp;gt; 47.5 degrees.&lt;br /&gt;
** This is a direct buff to all armors using the reflective angle modifier script attribute as it will reduce the size of the angle modifier &amp;quot;dead zone&amp;quot; (The zone in which there is no damage reduction).&lt;br /&gt;
&lt;br /&gt;
== 2.34.4 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-02-26)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== General changes ===&lt;br /&gt;
* Increased all voice line sound attenuation distance by about 1000 units.&lt;br /&gt;
* Removed unnecessary binary files from server packages. (Some client files were being shipped to server packages unnecessarily.)&lt;br /&gt;
* Added server commands to limit bunny hopping velocity gain and to enable auto bunny hopping, both are disabled by default. sv_enablebunnyhopping &amp;amp; sv_autobunnyhopping&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a server crash relating to mines not being removed correctly.&lt;br /&gt;
* Fixed a few minor issues with the squad aura indicator sometimes showing incorrectly.&lt;br /&gt;
* Fixed an issue causing prop_physics_multiplayer entities being non-solid to players.&lt;br /&gt;
* Fixed player spawn points being able to be blocked by other players.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Scout hide is now removed from players who are reviving or being revived.&lt;br /&gt;
* Added functionality for explosions to be blocked by multiple entities.&lt;br /&gt;
** This allows damage to be applied with a system where multiple entities reduce the damage toward 0, instead of everything behind an explosion ray being blocked by the same thing. This should be more dynamic and it does fix some instances where people could potentially abuse flaws in the old system. (Like throwing concussion grenades at your feet, blocking the ray and causing the damage to pass through the walls and deal damage to turrets hidden behind them...)&lt;br /&gt;
* Large explosions no longer lose damage if player body parts are blocked, this feature was added in version 2.33.1&lt;br /&gt;
** This means that some weapons will always maintain their damage if the player is in radius and in line of sight to the explosion. (Currently this affects all artillery shells and nuclear missiles.)&lt;br /&gt;
==== Buildings ====&lt;br /&gt;
* Vehicle Factory&lt;br /&gt;
** Increased Health from 250 to 350&lt;br /&gt;
** Increased Cost from 400 to 500&lt;br /&gt;
* Radar&lt;br /&gt;
** Increased Health from 200 to 250&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Concussion Grenades&lt;br /&gt;
** Increased Max Ammo from 3 to 6.&lt;br /&gt;
* Northern Faction Assault Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The NFAR is most effective while being still and firing short bursts&lt;br /&gt;
* Northern Faction SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Northern Faction SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brenodi Empire Heavy Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The BEHR is most effective while being still and firing short bursts&lt;br /&gt;
* Brenodi Empire SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Brenodi Empire SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brendo Empire Pistol 2&lt;br /&gt;
** The Brenodi Empire Pistol 2&#039;s accuracy has been improved&lt;br /&gt;
* A few of the weapons have been rebalanced, see the changes here https://git.empiresmod.com/empires_public/empires_scripts/-/merge_requests/231/diffs?commit_id=506bca8eac8be7900d5c799fce0e9c88e9ff66dd&lt;br /&gt;
&lt;br /&gt;
== 2.34.3 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/28)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added a squad member ID to both the mini-map and the Squad HUD. This can be used to locate specific players.&lt;br /&gt;
* Added player requests to the squad HUD. (Ammo/Health/Repairs)&lt;br /&gt;
* Added an indicator in the Squad HUD for players receiving the squad aura effect. (Green box next to player health when the player is receiving the benefit of the squad aura.)&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left:4em;text-align:center&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Squad HUD changes !! Mini-map changes&lt;br /&gt;
|-&lt;br /&gt;
|[[File:SquadMenuChanges 2022-01-28.png|frame|center| Added player request icons (Ammo/Health/Repairs) and an indicator for players currently receiving the squad aura effect.]]&lt;br /&gt;
||&lt;br /&gt;
[[File:MinimapSquadIDExample.png|frame|center|The minimap now shows an ID for each player in your squad, this can be used to identify where each player in the squad is on the map.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue causing explosion damage to break completely on vehicles. This was caused by a previous version, some of the explosion code was rewritten to fix a bug involving a tank&#039;s turret entity transferring damage to the tank entity. There was an oversight which was causing the damage to be prevented entirely; it should now be fixed.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resistances ====&lt;br /&gt;
* Reduced Explosive Missile Resistance (Nuclear Warhead) for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct nuclear missile hit&lt;br /&gt;
* Reduced Artillery resistance for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct high-explosive artillery shell hit.&lt;br /&gt;
==== Research ====&lt;br /&gt;
* Plasma Heavy Machine Gun&lt;br /&gt;
** Reduced Time from 90 to 60&lt;br /&gt;
** Reduced Cost from 360 to 240&lt;br /&gt;
&lt;br /&gt;
== 2.34.2 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/23)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a code typo which was causing a bug with explosion damage, meaning double damage could occur to vehicles.&lt;br /&gt;
* Fixed a few issues relating to checking a player&#039;s team for displaying icons on the minimap. Sometimes player icons wouldn&#039;t display even though they should.&lt;br /&gt;
* Fixed building smoke not calling StopEmission if the particle system is in a sleep state. (IE not being rendered but inside the player&#039;s potential visible set)&lt;br /&gt;
** What this essentially means is that building smoke will continue to change state and even when you&#039;re not looking at the building. Previously you could look away from the building, turn around and notice smoke is still there for a few frames; despite the building being repaired while you weren&#039;t looking.&lt;br /&gt;
* Fixed a typo in vehicle_armor script for BulletExplosiveResist value.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Lowered Plasma Heavy Machine gun&#039;s minimum damage from 10 -&amp;gt; 8 (It previously had no damage falloff.)&lt;br /&gt;
&lt;br /&gt;
== 2.34.1 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/16)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added cvar &amp;quot;emp_sv_drop_cooked_grenades&amp;quot;, this is disabled by default until some gameplay testing can be conducted and feedback gathered.&lt;br /&gt;
** Causes grenades to drop when players die if they had already pulled the pin out. (Excluding mines)&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue with e-repair preventing mines from being defused inside a damaged friendly building.&lt;br /&gt;
* Fixed an issue that was preventing wall gibs from spawning when destroyed. This was caused by a bug fix last patch.&lt;br /&gt;
* Fixed an issue that prevented the commander wall limit from functioning correctly.&lt;br /&gt;
* Fixed an bug relating to removal of attack targets on a player entering command view or a player entering scout hide. Both actions now remove targets instantly.&lt;br /&gt;
* Fixed some issues with how mines are triggered/detonated. Previous to this change, mines would detonate if a vehicle&#039;s &amp;quot;absbox&amp;quot; overlapped the mine bounding box. The problem with this is that the &amp;quot;absbox&amp;quot; is calculated every frame and doesn&#039;t rotate, it grows in size to encapsulate it&#039;s target. This lead to situations where a vehicle that wasn&#039;t perfectly aligned to the world origin would have a greater chance of triggering surrounding mines. The new system should be a lot more accurate and result in less frustration/guess work when trying to avoid mines.&lt;br /&gt;
* Fixed some issues relating to tanks receiving damage:&lt;br /&gt;
** Physics impact damage on tanks no longer prevents repair stations from repairing your tank. It would often be the case that a small bump when trying to enter the repair station would trigger the repair delay, this damage type is now filtered out of this feature. (For reference the delay is 10 seconds, so this can be quite frustrating for the driver.)&lt;br /&gt;
** Tanks no longer trigger the repair delay if they didn&#039;t actually take any damage from the entity trying to damage it. Previous to this change you could use a weapon that doesn&#039;t deal damage to delay a tank from repairing. This has long been an issue and the feature should now work as intended. (As an example, bullets can no longer delay a tank trying to use a repair station.)&lt;br /&gt;
** Fixed some issues where damage was being mis-attributed to players with regards to calculating assists/critical assists.&lt;br /&gt;
** Fixed an issue with tank turrets not transferring damage to the hull appropriately.&lt;br /&gt;
*** Fixed an issue with tanks taking explosion damage from the turret first, despite the hull being closer; resulting in a damage reduction. This will mostly impact gameplay when explosions occur on the top surface of tanks, they will now deal the expected amount of damage without a drop in damage. Explosions now prioritise dealing maximum possible damage in this situation, in terms of possible falloff reductions etc. This is likely going to have a bigger impact on chassis where the turret is often in the line of sight of explosions; for example NF light tanks, where the turret is easier to hit because it&#039;s shorter.&lt;br /&gt;
** Removed some code which was trying to prevent two sets of the same damage applying to vehicles per frame, this was added to prevent a vehicle&#039;s turret from transferring duplicate damage. This was crudely implemented and was preventing damage from occurring in certain situations.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced the Heat to Damage Absorbed on the Command Vehicle&#039;s armor by half.&lt;br /&gt;
* Increased Max Speed from 25 to 30 mph.&lt;br /&gt;
==== General Balance Changes ====&lt;br /&gt;
* Removed the hard-coded variable damage on mines.&lt;br /&gt;
** It was previously written in code that mines would deal double damage if triggered by a vehicle. This has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the mine had been detonated by a vehicle.&lt;br /&gt;
* Removed the hard-coded variable damage on explosive sticky grenades.&lt;br /&gt;
** It was previously written in code that sticky grenades would deal double damage to all vehicles except the command vehicle. Again, this has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the grenade had been attached to a vehicle (Excluding CV).&lt;br /&gt;
** Damage resistances have been adjusted to compensate in the scripts.&lt;br /&gt;
* Added a new script variable for use with vehicle armors &amp;quot;Flat Damage Reduction&amp;quot;. This change is to give reactive more of a unique identity, being quite resistant early game but being less effective as the game progresses and the enemy unlocks stronger weapons.&lt;br /&gt;
** Reactive now has a flat damage reduction of 5. (Resistances have been adjusted to ensure all anti-vehicle machine guns deal damage.)&lt;br /&gt;
** Reactive now has 120 HP per plate instead of 135.&lt;br /&gt;
** Composite now has a flat damage reduction of 1.&lt;br /&gt;
&lt;br /&gt;
[[Category:Patch_Notes]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10663</id>
		<title>Version/2.34.x</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Version/2.34.x&amp;diff=10663"/>
		<updated>2022-05-01T13:12:15Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SitenavNested|:Change_Log|Patch notes}}&lt;br /&gt;
== 2.34.6 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (TBD - not released yet)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fix order distances having incorrect unit conversion from inches to meters.&lt;br /&gt;
* Fix an issue allowing an exploit to refill calc charge.&lt;br /&gt;
* Disable mine detonation for players on ladders.&lt;br /&gt;
* Remove double averaging of scoreboard latency, engine code already handles it.&lt;br /&gt;
&lt;br /&gt;
==== Infantry Resists ====&lt;br /&gt;
* Engineer &amp;amp; Rifleman&lt;br /&gt;
** Increased Mortar Resist from 0 to 0.1&lt;br /&gt;
*** Reduces Mortar Damage from 130 to 117&lt;br /&gt;
* Scout&lt;br /&gt;
** Increased Mortar Resist from 0.1 to 0.19&lt;br /&gt;
*** Reduces Mortar Damage from 117 to 105&lt;br /&gt;
* Grenadier&lt;br /&gt;
** Increased Mortar Resist from 0.2 to 0.28&lt;br /&gt;
*** Reduces Mortar Damage from 104 to 93&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced Engineer Hull Repair from 3 to 1&lt;br /&gt;
** It triples the time it takes to repair the Command Vehicle&#039;s Hull&lt;br /&gt;
* Reduced Engineer Armor Repair from 0.04 to 0.01&lt;br /&gt;
** It Quadruples the time it takes to repair the Command Vehicle&#039;s Armor&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Health from 275 to 250&lt;br /&gt;
* Reduced Command Vehicle&#039;s Armor Regenaration from 0.004 to 0.002&lt;br /&gt;
* Increased Command Vehicle&#039;s Armor Damage to Heat Absorbed from 0.025 to 0.04&lt;br /&gt;
==== Vehicle Armors ====&lt;br /&gt;
* All Armors&lt;br /&gt;
** Increased Squad Artillery Resistance from 0 to 0.25&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Extended Range Cannon&lt;br /&gt;
** Increased Gravity from 0.1 to 0.15&lt;br /&gt;
* Plasma Cannon&lt;br /&gt;
** Increased Explosion Force from 100 to 500&lt;br /&gt;
* Railgun&lt;br /&gt;
** Increased Gravity from 0.04 to 0.05&lt;br /&gt;
** Increased Explosion Force from 50 to 1000&lt;br /&gt;
* Biological Cannon&lt;br /&gt;
** Increased Explosion Force from 170 to 300&lt;br /&gt;
* Upgraded Missile Launcher&lt;br /&gt;
** Reduced Heat from 6.5 to 6&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Explosion Force from 50 to 100&lt;br /&gt;
* Biological Missile Launcher&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
* Salvo Missile Launcher&lt;br /&gt;
** Reduced Weight from 60 to 55&lt;br /&gt;
** Increased Explosion Force from 20 to 50&lt;br /&gt;
* Guided Missile Launcher&lt;br /&gt;
** Reduced Heat from 9 to 8&lt;br /&gt;
** Reduced Weight from 70 to 60&lt;br /&gt;
** Increased Clip Size from 4 to 5&lt;br /&gt;
** Increased Explosion Force from 40 to 100&lt;br /&gt;
* Homing Missile Launcher&lt;br /&gt;
** Increased Explosion Force from 40 to 500&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Mortar &amp;amp; RPG now share the same ammo&lt;br /&gt;
** It effectively reduces the amount of ammo Grenadiers carry by half&lt;br /&gt;
* Mortar&lt;br /&gt;
** Reduced Speed from 2000 to 1800&lt;br /&gt;
* Northern Faction .50cal Rifle&lt;br /&gt;
** Increased Minimal Damage from 20 to 30&lt;br /&gt;
*** It ensures that it takes 4 shots to kill an enemy on distances shorter than ~6000 units&lt;br /&gt;
&lt;br /&gt;
== 2.34.5 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-04-02)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a bug/exploit that was allowing refineries to be placed at no resource cost.&lt;br /&gt;
* Fixed a bug where the engineer tool kit would not recharge the correct amount if you changed your skills while it was holstered.&lt;br /&gt;
* Fixed the &amp;quot;Just in time&amp;quot; achievement being awarded to the local player even if it was a different player that triggered the achievement.&lt;br /&gt;
* Fixed some issues where the squadleader.cfg file would not execute when expected, leaving you with the wrong key binds if you specified key binds inside the file.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Heavy Machine Gun&lt;br /&gt;
** Increased firing rate from 660 RPM to 792 RPM.&lt;br /&gt;
* SMG1&lt;br /&gt;
** Reduced Max Falloff from 10k to 6k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* SMG2&lt;br /&gt;
** Reduced Max Falloff from 10k to 4k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
** Changed Kick to be more consistent&lt;br /&gt;
* BEHR/NFAR&lt;br /&gt;
** Reduced Max Falloff from 10k to 8k&lt;br /&gt;
** Changed Moving Accuracy so it accounts for the moving speed&lt;br /&gt;
*** This results in lower accuracy while moving&lt;br /&gt;
* Shotgun&lt;br /&gt;
** Reduced Melee Cycle Time from 1 to 0.8&lt;br /&gt;
** Increased Melee Damage from 70 to 80&lt;br /&gt;
* NF Shot Pistol&lt;br /&gt;
** Reduced Damage from 20 to 14&lt;br /&gt;
** Reduced Cycle Time from 0.6 to 0.5&lt;br /&gt;
** Reduced Max Falloff from 10k to 2k&lt;br /&gt;
** Changed Accuracy&lt;br /&gt;
** Changed Kick&lt;br /&gt;
==== Vehicle Chassis ====&lt;br /&gt;
* Artillery Tank&lt;br /&gt;
** Removed Cannon&#039;s Yaw (movement left and right)&lt;br /&gt;
* Northern Faction Artillery Tank&lt;br /&gt;
** Increased minimum pitch (movement up and down) so the cannon does not go inside the vehicle&lt;br /&gt;
==== Vehicle Weapons ====&lt;br /&gt;
* Artillery Cannons&lt;br /&gt;
** Removed Recoil&lt;br /&gt;
==== Vehicle Armor ====&lt;br /&gt;
* Reflective angle modifier effective angle range has been reduced from 5 -&amp;gt; 50 degrees to 2.5 -&amp;gt; 47.5 degrees.&lt;br /&gt;
** This is a direct buff to all armors using the reflective angle modifier script attribute as it will reduce the size of the angle modifier &amp;quot;dead zone&amp;quot; (The zone in which there is no damage reduction).&lt;br /&gt;
&lt;br /&gt;
== 2.34.4 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022-02-26)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== General changes ===&lt;br /&gt;
* Increased all voice line sound attenuation distance by about 1000 units.&lt;br /&gt;
* Removed unnecessary binary files from server packages. (Some client files were being shipped to server packages unnecessarily.)&lt;br /&gt;
* Added server commands to limit bunny hopping velocity gain and to enable auto bunny hopping, both are disabled by default. sv_enablebunnyhopping &amp;amp; sv_autobunnyhopping&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a server crash relating to mines not being removed correctly.&lt;br /&gt;
* Fixed a few minor issues with the squad aura indicator sometimes showing incorrectly.&lt;br /&gt;
* Fixed an issue causing prop_physics_multiplayer entities being non-solid to players.&lt;br /&gt;
* Fixed player spawn points being able to be blocked by other players.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Scout hide is now removed from players who are reviving or being revived.&lt;br /&gt;
* Added functionality for explosions to be blocked by multiple entities.&lt;br /&gt;
** This allows damage to be applied with a system where multiple entities reduce the damage toward 0, instead of everything behind an explosion ray being blocked by the same thing. This should be more dynamic and it does fix some instances where people could potentially abuse flaws in the old system. (Like throwing concussion grenades at your feet, blocking the ray and causing the damage to pass through the walls and deal damage to turrets hidden behind them...)&lt;br /&gt;
* Large explosions no longer lose damage if player body parts are blocked, this feature was added in version 2.33.1&lt;br /&gt;
** This means that some weapons will always maintain their damage if the player is in radius and in line of sight to the explosion. (Currently this affects all artillery shells and nuclear missiles.)&lt;br /&gt;
==== Buildings ====&lt;br /&gt;
* Vehicle Factory&lt;br /&gt;
** Increased Health from 250 to 350&lt;br /&gt;
** Increased Cost from 400 to 500&lt;br /&gt;
* Radar&lt;br /&gt;
** Increased Health from 200 to 250&lt;br /&gt;
==== Infantry Weapons ====&lt;br /&gt;
* Concussion Grenades&lt;br /&gt;
** Increased Max Ammo from 3 to 6.&lt;br /&gt;
* Northern Faction Assault Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The NFAR is most effective while being still and firing short bursts&lt;br /&gt;
* Northern Faction SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Northern Faction SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brenodi Empire Heavy Rifle&lt;br /&gt;
** Reduced Rate of Fire from 660 RPM to 565 RPM&lt;br /&gt;
** Changes have been made to the Assault Rifle&#039;s accuracy&lt;br /&gt;
*** The BEHR is most effective while being still and firing short bursts&lt;br /&gt;
* Brenodi Empire SMG2&lt;br /&gt;
** Changes have been made to the SMG2&#039;s accuracy&lt;br /&gt;
*** SMG2 is most effective while being mobile and in close quarters &amp;quot;spraying and praying&amp;quot;&lt;br /&gt;
* Brenodi Empire SMG1&lt;br /&gt;
** Changes have been made to the SMG1&lt;br /&gt;
*** SMG1 is effective for short to medium range engagement in any situation&lt;br /&gt;
* Brendo Empire Pistol 2&lt;br /&gt;
** The Brenodi Empire Pistol 2&#039;s accuracy has been improved&lt;br /&gt;
* A few of the weapons have been rebalanced, see the changes here https://git.empiresmod.com/empires_public/empires_scripts/-/merge_requests/231/diffs?commit_id=506bca8eac8be7900d5c799fce0e9c88e9ff66dd&lt;br /&gt;
&lt;br /&gt;
== 2.34.3 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/28)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added a squad member ID to both the mini-map and the Squad HUD. This can be used to locate specific players.&lt;br /&gt;
* Added player requests to the squad HUD. (Ammo/Health/Repairs)&lt;br /&gt;
* Added an indicator in the Squad HUD for players receiving the squad aura effect. (Green box next to player health when the player is receiving the benefit of the squad aura.)&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;margin-left:4em;text-align:center&amp;quot; class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Squad HUD changes !! Mini-map changes&lt;br /&gt;
|-&lt;br /&gt;
|[[File:SquadMenuChanges 2022-01-28.png|frame|center| Added player request icons (Ammo/Health/Repairs) and an indicator for players currently receiving the squad aura effect.]]&lt;br /&gt;
||&lt;br /&gt;
[[File:MinimapSquadIDExample.png|frame|center|The minimap now shows an ID for each player in your squad, this can be used to identify where each player in the squad is on the map.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue causing explosion damage to break completely on vehicles. This was caused by a previous version, some of the explosion code was rewritten to fix a bug involving a tank&#039;s turret entity transferring damage to the tank entity. There was an oversight which was causing the damage to be prevented entirely; it should now be fixed.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Infantry Resistances ====&lt;br /&gt;
* Reduced Explosive Missile Resistance (Nuclear Warhead) for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct nuclear missile hit&lt;br /&gt;
* Reduced Artillery resistance for all classes&lt;br /&gt;
** Grenadier with Health Upgrade can no longer survive a direct high-explosive artillery shell hit.&lt;br /&gt;
==== Research ====&lt;br /&gt;
* Plasma Heavy Machine Gun&lt;br /&gt;
** Reduced Time from 90 to 60&lt;br /&gt;
** Reduced Cost from 360 to 240&lt;br /&gt;
&lt;br /&gt;
== 2.34.2 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/23)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed a code typo which was causing a bug with explosion damage, meaning double damage could occur to vehicles.&lt;br /&gt;
* Fixed a few issues relating to checking a player&#039;s team for displaying icons on the minimap. Sometimes player icons wouldn&#039;t display even though they should.&lt;br /&gt;
* Fixed building smoke not calling StopEmission if the particle system is in a sleep state. (IE not being rendered but inside the player&#039;s potential visible set)&lt;br /&gt;
** What this essentially means is that building smoke will continue to change state and even when you&#039;re not looking at the building. Previously you could look away from the building, turn around and notice smoke is still there for a few frames; despite the building being repaired while you weren&#039;t looking.&lt;br /&gt;
* Fixed a typo in vehicle_armor script for BulletExplosiveResist value.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
* Lowered Plasma Heavy Machine gun&#039;s minimum damage from 10 -&amp;gt; 8 (It previously had no damage falloff.)&lt;br /&gt;
&lt;br /&gt;
== 2.34.1 ==&lt;br /&gt;
&amp;lt;small&amp;gt;&#039;&#039;&#039;Release: (2022/01/16)&#039;&#039;&#039;&amp;lt;/small&amp;gt;&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Added cvar &amp;quot;emp_sv_drop_cooked_grenades&amp;quot;, this is disabled by default until some gameplay testing can be conducted and feedback gathered.&lt;br /&gt;
** Causes grenades to drop when players die if they had already pulled the pin out. (Excluding mines)&lt;br /&gt;
&lt;br /&gt;
=== Bug fixes ===&lt;br /&gt;
* Fixed an issue with e-repair preventing mines from being defused inside a damaged friendly building.&lt;br /&gt;
* Fixed an issue that was preventing wall gibs from spawning when destroyed. This was caused by a bug fix last patch.&lt;br /&gt;
* Fixed an issue that prevented the commander wall limit from functioning correctly.&lt;br /&gt;
* Fixed an bug relating to removal of attack targets on a player entering command view or a player entering scout hide. Both actions now remove targets instantly.&lt;br /&gt;
* Fixed some issues with how mines are triggered/detonated. Previous to this change, mines would detonate if a vehicle&#039;s &amp;quot;absbox&amp;quot; overlapped the mine bounding box. The problem with this is that the &amp;quot;absbox&amp;quot; is calculated every frame and doesn&#039;t rotate, it grows in size to encapsulate it&#039;s target. This lead to situations where a vehicle that wasn&#039;t perfectly aligned to the world origin would have a greater chance of triggering surrounding mines. The new system should be a lot more accurate and result in less frustration/guess work when trying to avoid mines.&lt;br /&gt;
* Fixed some issues relating to tanks receiving damage:&lt;br /&gt;
** Physics impact damage on tanks no longer prevents repair stations from repairing your tank. It would often be the case that a small bump when trying to enter the repair station would trigger the repair delay, this damage type is now filtered out of this feature. (For reference the delay is 10 seconds, so this can be quite frustrating for the driver.)&lt;br /&gt;
** Tanks no longer trigger the repair delay if they didn&#039;t actually take any damage from the entity trying to damage it. Previous to this change you could use a weapon that doesn&#039;t deal damage to delay a tank from repairing. This has long been an issue and the feature should now work as intended. (As an example, bullets can no longer delay a tank trying to use a repair station.)&lt;br /&gt;
** Fixed some issues where damage was being mis-attributed to players with regards to calculating assists/critical assists.&lt;br /&gt;
** Fixed an issue with tank turrets not transferring damage to the hull appropriately.&lt;br /&gt;
*** Fixed an issue with tanks taking explosion damage from the turret first, despite the hull being closer; resulting in a damage reduction. This will mostly impact gameplay when explosions occur on the top surface of tanks, they will now deal the expected amount of damage without a drop in damage. Explosions now prioritise dealing maximum possible damage in this situation, in terms of possible falloff reductions etc. This is likely going to have a bigger impact on chassis where the turret is often in the line of sight of explosions; for example NF light tanks, where the turret is easier to hit because it&#039;s shorter.&lt;br /&gt;
** Removed some code which was trying to prevent two sets of the same damage applying to vehicles per frame, this was added to prevent a vehicle&#039;s turret from transferring duplicate damage. This was crudely implemented and was preventing damage from occurring in certain situations.&lt;br /&gt;
&lt;br /&gt;
=== Script/Game Balance ===&lt;br /&gt;
==== Command Vehicle ====&lt;br /&gt;
* Reduced the Heat to Damage Absorbed on the Command Vehicle&#039;s armor by half.&lt;br /&gt;
* Increased Max Speed from 25 to 30 mph.&lt;br /&gt;
==== General Balance Changes ====&lt;br /&gt;
* Removed the hard-coded variable damage on mines.&lt;br /&gt;
** It was previously written in code that mines would deal double damage if triggered by a vehicle. This has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the mine had been detonated by a vehicle.&lt;br /&gt;
* Removed the hard-coded variable damage on explosive sticky grenades.&lt;br /&gt;
** It was previously written in code that sticky grenades would deal double damage to all vehicles except the command vehicle. Again, this has been removed because the damage resistance system should have been utilized to ensure that everything in the explosion radius was receiving the expected amount of damage. With the old method, it meant that everything in the explosion radius would receive double damage if the grenade had been attached to a vehicle (Excluding CV).&lt;br /&gt;
** Damage resistances have been adjusted to compensate in the scripts.&lt;br /&gt;
* Added a new script variable for use with vehicle armors &amp;quot;Flat Damage Reduction&amp;quot;. This change is to give reactive more of a unique identity, being quite resistant early game but being less effective as the game progresses and the enemy unlocks stronger weapons.&lt;br /&gt;
** Reactive now has a flat damage reduction of 5. (Resistances have been adjusted to ensure all anti-vehicle machine guns deal damage.)&lt;br /&gt;
** Reactive now has 120 HP per plate instead of 135.&lt;br /&gt;
** Composite now has a flat damage reduction of 1.&lt;br /&gt;
&lt;br /&gt;
[[Category:Patch_Notes]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10662</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10662"/>
		<updated>2022-04-28T16:46:24Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Sitenav|Dedicated Server Setup}}&lt;br /&gt;
&lt;br /&gt;
== Dedicated Server (Linux) ==&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. &amp;lt;br&amp;gt;&lt;br /&gt;
Debian 11 has some packages deprecated, this method will not work as described. However you can start with Debian 10 and then later upgrade to 11. &amp;lt;br&amp;gt;&lt;br /&gt;
If you have a 64 bit install you might need to execute the following as root: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
Execute the following in a root shell to add the key and repository:&lt;br /&gt;
&lt;br /&gt;
 apt install gnupg2&lt;br /&gt;
 curl https://deb1.ws.maxmaton.nl/debian/signing.pub | apt-key add -&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update&lt;br /&gt;
&lt;br /&gt;
On Debian 10 x64 (maybe even 9) you will also need to add non-free to each repository &amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;(Error: empires-server:i386 : Depends: steamcmd:i386 but it is not installable)&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
As mentioned here: https://unix.stackexchange.com/questions/390075/install-steamcmd-on-debian-9-stretch &amp;lt;br&amp;gt;&lt;br /&gt;
Do&lt;br /&gt;
 apt edit-sources&lt;br /&gt;
And choose your favorite editor and add non-free to each repository &amp;lt;br&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[File:Dedicated_server_nonfree.png|600px|thumb|left|Example]] &lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&#039;&#039;&#039;Your server is now up and running.&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You might also need to manually port forward &amp;lt;br&amp;gt;&lt;br /&gt;
Ports: &amp;lt;br&amp;gt;&lt;br /&gt;
UDP 27005 &amp;lt;br&amp;gt;&lt;br /&gt;
TCP and UDP 27015 &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package (warning, takes a long time to install):&lt;br /&gt;
&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
=== Opening the server console ===&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console &amp;lt;br&amp;gt;&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Server folder is located in /var/lib/empires&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
== Dedicated Server (Windows) ==&lt;br /&gt;
&lt;br /&gt;
*Download and install (follow the instructions on the page): [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges and browse to the location of the update tool.&lt;br /&gt;
*Update syntax example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*to update Empires Dedicated Server follow the same procedure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* https://pastebin.com/SXsp0r2F&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=File:Dedicated_server_nonfree.png&amp;diff=10661</id>
		<title>File:Dedicated server nonfree.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=File:Dedicated_server_nonfree.png&amp;diff=10661"/>
		<updated>2022-04-28T16:13:03Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10658</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10658"/>
		<updated>2022-04-22T16:39:58Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Sitenav|Dedicated Server Setup}}&lt;br /&gt;
&lt;br /&gt;
== Dedicated Server (Linux) ==&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. If you have a 64 bit install you might need to execute the following as root:&lt;br /&gt;
&lt;br /&gt;
29-01-2022 update: Ideally start with Debian 10 x64 (11 will be a trouble as some stuff is deprecated)&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
To install the server, execute the following in a root shell:&lt;br /&gt;
&lt;br /&gt;
 apt-key add - &amp;lt;&amp;lt;-KEY&lt;br /&gt;
 -----BEGIN PGP PUBLIC KEY BLOCK-----&lt;br /&gt;
 &lt;br /&gt;
 mQGNBFw/ZjgBDAC78OjFtCcWQuh0d6YpVu/kfr/qibzAwP13bl3o1FTGha2i/dOo&lt;br /&gt;
 XdWvnbDDcRmZ7aJjr4aUIbjLbpEGYVrcX8+0kBYbcbmwJWPjfWg0/RyS0Jk+yXD+&lt;br /&gt;
 DcUrWQC1Ib31zTW8QeoEmuD48H2QBuX3jMCAT+8ThsdkAbzkyEbc7AHDsRsZLDQ9&lt;br /&gt;
 uKrZGvMpi2Q9T3kKLNAOlYux92sgdP+kvBJ2/lFUm+yZzNwWfdmLiMSseALUtkeh&lt;br /&gt;
 ERkRwS0a4bEcL1+Yd32RNa5WxoIVXimAxzTAQ+aIIrpOzkQwzxwA7HKyYhd6jj1p&lt;br /&gt;
 VfVa2Q8PrinJN+a10uFK1m/c5IUOwEsTbM+45hkZTxN1+ZO51OU+JvjYmcCJzKC0&lt;br /&gt;
 wlKBeG0t9SHZZ/3v5bJHinbvXu4j2oSgr2kuBNvqBT3AxZk/MVojxAhnu+X23/TT&lt;br /&gt;
 7rEDaCzVz8s16pYRJZjBvVk7INq5b2WCRFlhwEDekf3ThhNhwTbbatrKBpXbVb+R&lt;br /&gt;
 11Z1KexuW7F6jOkAEQEAAbQnTWF4IE1hdG9uIChwYWNrYWdlcykgPGluZm9AbWF4&lt;br /&gt;
 bWF0b24ubmw+iQHUBBMBCgA+FiEEpOkWittoxBWISDs56eNqER324vYFAlw/ZjgC&lt;br /&gt;
 GwMFCQPCZwAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ6eNqER324vZphwv+&lt;br /&gt;
 NYtOnJBoas1xGxAMQqeAMPPFuXbgXRcoXB/mZZWWw3o4VIjzz9/WietFDEHasyuW&lt;br /&gt;
 2F2S/m611UM4uVH2cir3Rya/Wdwj0qBaoRxWdNskBhBqHIhJYNFp2VJu4HJ5iCft&lt;br /&gt;
 PjJEuHklittEyoBjz6T5p/kcsd9ado9uZ9HBU6479R+Kwe68Srud5xqruhDUAP67&lt;br /&gt;
 9UYQI94prvia40YTC2wCO4OXgNL9E2klGi2/kb1oVgIuDSBrgWwwf0E1oEorsCgI&lt;br /&gt;
 iN46WLrXJhlKZS4WbrBMNgzYyWGlXi1ZTIRIbuaG0wI9ZuzN4lyeGJUIr8l+2uv8&lt;br /&gt;
 F2OWsAojvGu47OOlIPhRLO/jWNkP8fuTQlXdn1FpFWZ8LNMPCCzPWZABJo2JTCrd&lt;br /&gt;
 2mQMWomqXdWwdG4BZJMOymnANXQoVEon5G5IN3c1RLj5m6CvLAExEBQjlJAH3KLz&lt;br /&gt;
 s420vrM0ri9n3GSapbEsxVdh06fN9XW1axcvK5hg7XaS5aVikVVUF5HO0rgzrMcQ&lt;br /&gt;
 uQGNBFw/ZjgBDADpn57P38WtDkj7ZM7jTV0ROOjvOioLryT7haJsJ4TKaLfa8Oet&lt;br /&gt;
 y2bbf8x9CfQqVyNK3OyxYRxpYVkvhnNin+Bu5EkfMMcmOvU2ltkYaRI/yY/MlzJp&lt;br /&gt;
 Nt5uVrBmw1ledrRFAuwaLmSKD3qPf3PqE/pm0ElWT2VO/ALAdqwg70voiEb5PnWL&lt;br /&gt;
 bqbpVzc7M0GoLXQcC1vvT6adbtMAJeUsN2GAy599uhF8gFMHSHX6KHASQ9m9wIAe&lt;br /&gt;
 zawSZcf/8bTGBeNYnuditVoPZMVyfEkjgc+grkQaQPJZn1Vxs7abE2HDnPuElzRH&lt;br /&gt;
 ZTdmnnxqBCP3M7lU3yuxKl7uGfxs4P/8XnJxplsBC98iIrKf71zOshZb5/9KxOTa&lt;br /&gt;
 1xwGU2B7L2UU3pxO1YHYISD1QmIziQ8LE2n/vv0Drw9aoSHaIQIMowXeuZWSwahE&lt;br /&gt;
 mCuYoCWzBiVVN3tQzkW2BhZLVFb7UhhxWlZgQa3wscZkZtqwEi40yGq7a+JUWu5Q&lt;br /&gt;
 H+AygLFlgrXU0LkAEQEAAYkBvAQYAQoAJhYhBKTpForbaMQViEg7OenjahEd9uL2&lt;br /&gt;
 BQJcP2Y4AhsMBQkDwmcAAAoJEOnjahEd9uL2vCIL/A5lhwHGevts6rWGDrGO0fOG&lt;br /&gt;
 noRVED9aU+hS2VaWr6x2mC/PuNiw1rz9UDRml6um8KVU7fh8+Z/lTJwnBo3dHwIz&lt;br /&gt;
 UWIwnQ1zaFsjzlxK7FK2bATJlM+g1TYhmyB3GAd7seLLxa5IB7k8bfYNYXYeZvJw&lt;br /&gt;
 i0/sG9uTwilbVzl2n+BFrliXOGw9fJKzP48LfLUuBEn6usRxjIMdXzEH7WhOsZFZ&lt;br /&gt;
 AMmQOn6sfOieyoYjY1XVSXG01Y8UEm0wTHDG9ulotTn+BuVF8x4Ofb2WKOn/baP3&lt;br /&gt;
 R5BOd68Mea6pxHmwxd2BkHZvTyTTQndXOFqF7N0w1J+avxfXZnzlCtduCWg3k7mz&lt;br /&gt;
 TenRhxINtvVt6XIIP4M5SytU/R0TcI0PQCbkFXEMOPC6ov/ASCMFc9YUYz3LujqS&lt;br /&gt;
 uuxOfdtSD/BkggL5dB+vNN4hWXZ4klPvSUWj1+qsgD5lWse3rODxuU6sTF1e3jzG&lt;br /&gt;
 GKcQ8Ze2ZfnnVeyoSma/Y0ygxUAkamS7I8pLJvdIrg==&lt;br /&gt;
 =g0Xa&lt;br /&gt;
 -----END PGP PUBLIC KEY BLOCK-----&lt;br /&gt;
 KEY&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update --allow-insecure-repositories&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
--allow-insecure-repositories is a temporary measure (Need to update this)&lt;br /&gt;
&lt;br /&gt;
On Debian 10 x64 (maybe even 9) you will also need to add non-free to each repository&lt;br /&gt;
As mentioned here: https://unix.stackexchange.com/questions/390075/install-steamcmd-on-debian-9-stretch&lt;br /&gt;
Do&lt;br /&gt;
 apt edit-sources&lt;br /&gt;
And choose your favorite editor and add non-free to each repository&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update --allow-insecure-repositories&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
You might also need to manually port forward (it should be automatic with UFW, but on last try 29-01-2022 it was not for some reason)&lt;br /&gt;
Ports:&lt;br /&gt;
UDP 27005&lt;br /&gt;
TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package (warning, takes a long time to install):&lt;br /&gt;
&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
=== Opening the server console ===&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them)&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
== Dedicated Server (Windows) ==&lt;br /&gt;
&lt;br /&gt;
*Download and install (follow the instructions on the page): [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges and browse to the location of the update tool.&lt;br /&gt;
*Update syntax example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*to update Empires Dedicated Server follow the same procedure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* https://pastebin.com/SXsp0r2F&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10654</id>
		<title>Dedicated Server Setup</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Dedicated_Server_Setup&amp;diff=10654"/>
		<updated>2022-04-22T16:36:10Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Sitenav|Dedicated Server Setup}}&lt;br /&gt;
&lt;br /&gt;
== Dedicated Server (Linux) ==&lt;br /&gt;
Installing a dedicated server is supported on [https://www.debian.org/CD/netinst/ 32 bit Debian 10]. If you have a 64 bit install you might need to execute the following as root:&lt;br /&gt;
29-01-2022 update: Ideally start with Debian 10 x64 (11 will be a trouble as some stuff is deprecated)&lt;br /&gt;
&lt;br /&gt;
 dpkg --add-architecture i386&lt;br /&gt;
 apt update&lt;br /&gt;
 apt install lib32gcc1&lt;br /&gt;
&lt;br /&gt;
To install the server, execute the following in a root shell:&lt;br /&gt;
&lt;br /&gt;
 apt-key add - &amp;lt;&amp;lt;-KEY&lt;br /&gt;
 -----BEGIN PGP PUBLIC KEY BLOCK-----&lt;br /&gt;
 &lt;br /&gt;
 mQGNBFw/ZjgBDAC78OjFtCcWQuh0d6YpVu/kfr/qibzAwP13bl3o1FTGha2i/dOo&lt;br /&gt;
 XdWvnbDDcRmZ7aJjr4aUIbjLbpEGYVrcX8+0kBYbcbmwJWPjfWg0/RyS0Jk+yXD+&lt;br /&gt;
 DcUrWQC1Ib31zTW8QeoEmuD48H2QBuX3jMCAT+8ThsdkAbzkyEbc7AHDsRsZLDQ9&lt;br /&gt;
 uKrZGvMpi2Q9T3kKLNAOlYux92sgdP+kvBJ2/lFUm+yZzNwWfdmLiMSseALUtkeh&lt;br /&gt;
 ERkRwS0a4bEcL1+Yd32RNa5WxoIVXimAxzTAQ+aIIrpOzkQwzxwA7HKyYhd6jj1p&lt;br /&gt;
 VfVa2Q8PrinJN+a10uFK1m/c5IUOwEsTbM+45hkZTxN1+ZO51OU+JvjYmcCJzKC0&lt;br /&gt;
 wlKBeG0t9SHZZ/3v5bJHinbvXu4j2oSgr2kuBNvqBT3AxZk/MVojxAhnu+X23/TT&lt;br /&gt;
 7rEDaCzVz8s16pYRJZjBvVk7INq5b2WCRFlhwEDekf3ThhNhwTbbatrKBpXbVb+R&lt;br /&gt;
 11Z1KexuW7F6jOkAEQEAAbQnTWF4IE1hdG9uIChwYWNrYWdlcykgPGluZm9AbWF4&lt;br /&gt;
 bWF0b24ubmw+iQHUBBMBCgA+FiEEpOkWittoxBWISDs56eNqER324vYFAlw/ZjgC&lt;br /&gt;
 GwMFCQPCZwAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQ6eNqER324vZphwv+&lt;br /&gt;
 NYtOnJBoas1xGxAMQqeAMPPFuXbgXRcoXB/mZZWWw3o4VIjzz9/WietFDEHasyuW&lt;br /&gt;
 2F2S/m611UM4uVH2cir3Rya/Wdwj0qBaoRxWdNskBhBqHIhJYNFp2VJu4HJ5iCft&lt;br /&gt;
 PjJEuHklittEyoBjz6T5p/kcsd9ado9uZ9HBU6479R+Kwe68Srud5xqruhDUAP67&lt;br /&gt;
 9UYQI94prvia40YTC2wCO4OXgNL9E2klGi2/kb1oVgIuDSBrgWwwf0E1oEorsCgI&lt;br /&gt;
 iN46WLrXJhlKZS4WbrBMNgzYyWGlXi1ZTIRIbuaG0wI9ZuzN4lyeGJUIr8l+2uv8&lt;br /&gt;
 F2OWsAojvGu47OOlIPhRLO/jWNkP8fuTQlXdn1FpFWZ8LNMPCCzPWZABJo2JTCrd&lt;br /&gt;
 2mQMWomqXdWwdG4BZJMOymnANXQoVEon5G5IN3c1RLj5m6CvLAExEBQjlJAH3KLz&lt;br /&gt;
 s420vrM0ri9n3GSapbEsxVdh06fN9XW1axcvK5hg7XaS5aVikVVUF5HO0rgzrMcQ&lt;br /&gt;
 uQGNBFw/ZjgBDADpn57P38WtDkj7ZM7jTV0ROOjvOioLryT7haJsJ4TKaLfa8Oet&lt;br /&gt;
 y2bbf8x9CfQqVyNK3OyxYRxpYVkvhnNin+Bu5EkfMMcmOvU2ltkYaRI/yY/MlzJp&lt;br /&gt;
 Nt5uVrBmw1ledrRFAuwaLmSKD3qPf3PqE/pm0ElWT2VO/ALAdqwg70voiEb5PnWL&lt;br /&gt;
 bqbpVzc7M0GoLXQcC1vvT6adbtMAJeUsN2GAy599uhF8gFMHSHX6KHASQ9m9wIAe&lt;br /&gt;
 zawSZcf/8bTGBeNYnuditVoPZMVyfEkjgc+grkQaQPJZn1Vxs7abE2HDnPuElzRH&lt;br /&gt;
 ZTdmnnxqBCP3M7lU3yuxKl7uGfxs4P/8XnJxplsBC98iIrKf71zOshZb5/9KxOTa&lt;br /&gt;
 1xwGU2B7L2UU3pxO1YHYISD1QmIziQ8LE2n/vv0Drw9aoSHaIQIMowXeuZWSwahE&lt;br /&gt;
 mCuYoCWzBiVVN3tQzkW2BhZLVFb7UhhxWlZgQa3wscZkZtqwEi40yGq7a+JUWu5Q&lt;br /&gt;
 H+AygLFlgrXU0LkAEQEAAYkBvAQYAQoAJhYhBKTpForbaMQViEg7OenjahEd9uL2&lt;br /&gt;
 BQJcP2Y4AhsMBQkDwmcAAAoJEOnjahEd9uL2vCIL/A5lhwHGevts6rWGDrGO0fOG&lt;br /&gt;
 noRVED9aU+hS2VaWr6x2mC/PuNiw1rz9UDRml6um8KVU7fh8+Z/lTJwnBo3dHwIz&lt;br /&gt;
 UWIwnQ1zaFsjzlxK7FK2bATJlM+g1TYhmyB3GAd7seLLxa5IB7k8bfYNYXYeZvJw&lt;br /&gt;
 i0/sG9uTwilbVzl2n+BFrliXOGw9fJKzP48LfLUuBEn6usRxjIMdXzEH7WhOsZFZ&lt;br /&gt;
 AMmQOn6sfOieyoYjY1XVSXG01Y8UEm0wTHDG9ulotTn+BuVF8x4Ofb2WKOn/baP3&lt;br /&gt;
 R5BOd68Mea6pxHmwxd2BkHZvTyTTQndXOFqF7N0w1J+avxfXZnzlCtduCWg3k7mz&lt;br /&gt;
 TenRhxINtvVt6XIIP4M5SytU/R0TcI0PQCbkFXEMOPC6ov/ASCMFc9YUYz3LujqS&lt;br /&gt;
 uuxOfdtSD/BkggL5dB+vNN4hWXZ4klPvSUWj1+qsgD5lWse3rODxuU6sTF1e3jzG&lt;br /&gt;
 GKcQ8Ze2ZfnnVeyoSma/Y0ygxUAkamS7I8pLJvdIrg==&lt;br /&gt;
 =g0Xa&lt;br /&gt;
 -----END PGP PUBLIC KEY BLOCK-----&lt;br /&gt;
 KEY&lt;br /&gt;
 echo &#039;deb http://deb.maxmaton.nl/debian buster main non-free&#039; &amp;gt; /etc/apt/sources.list.d/maxmaton.list&lt;br /&gt;
 apt update --allow-insecure-repositories&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
--allow-insecure-repositories is a temporary measure (Need to update this)&lt;br /&gt;
On Debian 10 x64 (maybe even 9) you will also need to add non-free to each repository&lt;br /&gt;
As mentioned here: https://unix.stackexchange.com/questions/390075/install-steamcmd-on-debian-9-stretch&lt;br /&gt;
Do&lt;br /&gt;
 apt edit-sources&lt;br /&gt;
And choose your favorite editor and add non-free to each repository&lt;br /&gt;
After that you can continue with:&lt;br /&gt;
 apt update --allow-insecure-repositories&lt;br /&gt;
 apt install empires-server&lt;br /&gt;
You might also need to manually port forward (it should be automatic with UFW, but on last try 29-01-2022 it was not for some reason)&lt;br /&gt;
Ports:&lt;br /&gt;
UDP 27005&lt;br /&gt;
TCP and UDP 27015&lt;br /&gt;
&lt;br /&gt;
If you also want the community provided maps, you can install the empires-server-maps-extra package (warning, takes a long time to install):&lt;br /&gt;
&lt;br /&gt;
 apt install empires-server-maps-extra&lt;br /&gt;
&lt;br /&gt;
=== Opening the server console ===&lt;br /&gt;
To open the server console, execute the following command:&lt;br /&gt;
&lt;br /&gt;
 su - empires -c &amp;quot;tmux attach&amp;quot;&lt;br /&gt;
&lt;br /&gt;
To get out of the server console, dont do CTRL + C or you will kill the server&lt;br /&gt;
You can do CTRL + B and then CTRL + D to detach and get out of server console&lt;br /&gt;
You can do CTRL + B and then page up and page down to scroll higher in console, then ESC to get out of the CTRL + B mode (tmux basics, you can google them)&lt;br /&gt;
&lt;br /&gt;
You can also start or stop the empires-server service&lt;br /&gt;
 service empires-server stop&lt;br /&gt;
 service empires-server start&lt;br /&gt;
&lt;br /&gt;
== Dedicated Server (Windows) ==&lt;br /&gt;
&lt;br /&gt;
*Download and install (follow the instructions on the page): [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD].&lt;br /&gt;
*Open a command line window with elevated / local administrator privileges and browse to the location of the update tool.&lt;br /&gt;
*Update syntax example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*to update Empires Dedicated Server follow the same procedure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Server Extensions ==&lt;br /&gt;
There are several plugins available for use in Empires. Two extension systems are available (and can run in parallel):&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod] is the most common system, and is used for the majority of plugins. Handy SourceMod plugins that have been confirmed to work on Empires servers are:&lt;br /&gt;
** [http://raegquit.com/beerdude26/empires-plugins/rg_ungrief.smx Ungrief Command Vehicle] - Teleports the specified command vehicle to where you are looking. Usage: !ungrief &amp;lt;nf | be | imp&amp;gt;&lt;br /&gt;
** [http://www.sourcebans.net/ SourceBans] - A free global administration and banning system for Source engine based servers.&lt;br /&gt;
** [http://kigenac.com/viewtopic.php?f=4&amp;amp;t=231 Kigen&#039;s Anti-Cheat] (Requires Sockets 3.0.1 plugin) - An extensive anti-cheating plugin.&lt;br /&gt;
** For more plugins, look at the [[Sourcemod Plugins]] page.&lt;br /&gt;
* [http://www.sourceop.com/wiki/Installing SourceOp] is less popular, but is required to run an anti-DoS plugin:&lt;br /&gt;
** [http://www.sourceop.com/modules.php?name=Downloads&amp;amp;d_op=viewdownload&amp;amp;cid=9 DoS Attack Fixer] - Protects against A2C_PRINT and other spam.&lt;br /&gt;
&lt;br /&gt;
Both systems themselves run on [http://www.sourcemm.net/ MetaMod], allowing them to run in parallel.&lt;br /&gt;
&lt;br /&gt;
== Tips and Tricks ==&lt;br /&gt;
=== Customize server.cfg settings ===&lt;br /&gt;
As the server.cfg (amongst others) can be overwritten during upgrade and you may wish to have your server run in different &amp;quot;modes&amp;quot; such as password protected clan match/practice, increased resource rates for &amp;quot;tank wars&amp;quot;, etc, it is best to treat your server.cfg as &amp;quot;read-only&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Any default settings you wish to use can be placed in a separate file such as &amp;quot;myserver.cfg&amp;quot;. At the end of server.cfg, you can then add the line &amp;quot;exec myserver.cfg&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
This way, server.cfg will then run myserver.cfg and override any server.cfg settings.&lt;br /&gt;
&lt;br /&gt;
Loading various server &amp;quot;modes&amp;quot; can then be done by calling them in the server console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rcon exec tankwars.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want a mode to be automatically loaded after map change / server restart, you can add another line to server.cfg below the &amp;quot;exec myserver.cfg&amp;quot; entry.&lt;br /&gt;
&lt;br /&gt;
As an example of custom configuration you might want to use, the following line will disable the ability to join spectators at the start of the round:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
emp_allowspectators 0; wait 30000; emp_allowspectators 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It should be put at the end of the .cfg file so as to not delay any subsequent commands. The wait command delays all further commands by the amount specified in 1/100ths of a second.&lt;br /&gt;
&lt;br /&gt;
== Running a beta server ==&lt;br /&gt;
Running a beta server is just like a normal server, with the desired steam branch mentioned when downloading the server package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
steamcmd.exe +login anonymous +app_update 460040 -beta beta validate +quit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See this link for more info on automating server creation, and on switching to specific steam branches.&lt;br /&gt;
https://developer.valvesoftware.com/wiki/SteamCMD#Automating_SteamCMD&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
* [http://server.counter-strike.net/server.php?cmd=cmdall General HL2 Directives/Commands]&lt;br /&gt;
* [http://www.sourcemod.net/ SourceMod]&lt;br /&gt;
* https://pastebin.com/SXsp0r2F&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Map:emp_oktay&amp;diff=10652</id>
		<title>Map:emp oktay</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Map:emp_oktay&amp;diff=10652"/>
		<updated>2022-04-22T16:32:21Z</updated>

		<summary type="html">&lt;p&gt;Neoony: Created page with &amp;quot;{{Sitenav|Maps &amp;gt; emp_oktay }} Minimap of emp_oktay  ==Overview== emp_oktay  &amp;#039;&amp;#039;&amp;#039;Starting Refineries:&amp;#039;&amp;#039;&amp;#039; TBD  &amp;#039;&amp;#039;&amp;#039;Star...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Sitenav|[[Maps]] &amp;gt; emp_oktay }}&lt;br /&gt;
[[Image:emp_oktay_beta3 minimap.png|thumb|right|250px|Minimap of emp_oktay]]&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
emp_oktay&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Starting Refineries:&#039;&#039;&#039; TBD&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Starting Resources:&#039;&#039;&#039; TBD&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Refineries:&#039;&#039;&#039; TBD&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Amount of Resources:&#039;&#039;&#039; TBD&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tickets:&#039;&#039;&#039; TBD&lt;br /&gt;
&lt;br /&gt;
== Commander Strategies ==&lt;br /&gt;
== Points of Interest ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Maps|oktay]]&lt;br /&gt;
[[Category:Commander_maps|oktay]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=File:Emp_oktay_beta3_minimap.png&amp;diff=10651</id>
		<title>File:Emp oktay beta3 minimap.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=File:Emp_oktay_beta3_minimap.png&amp;diff=10651"/>
		<updated>2022-04-22T16:32:04Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Map:emp_fury&amp;diff=10650</id>
		<title>Map:emp fury</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Map:emp_fury&amp;diff=10650"/>
		<updated>2022-04-22T16:25:22Z</updated>

		<summary type="html">&lt;p&gt;Neoony: Created page with &amp;quot;{{Sitenav|Maps &amp;gt; emp_fury }} Minimap of emp_fury  ==Overview== emp_fury  &amp;#039;&amp;#039;&amp;#039;Starting Refineries:&amp;#039;&amp;#039;&amp;#039; TBD  &amp;#039;&amp;#039;&amp;#039;Starting R...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Sitenav|[[Maps]] &amp;gt; emp_fury }}&lt;br /&gt;
[[Image:emp_fury_rc2 minimap.png|thumb|right|250px|Minimap of emp_fury]]&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
emp_fury&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Starting Refineries:&#039;&#039;&#039; TBD&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Starting Resources:&#039;&#039;&#039; TBD&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Refineries:&#039;&#039;&#039; TBD&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Total Amount of Resources:&#039;&#039;&#039; TBD&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Tickets:&#039;&#039;&#039; TBD&lt;br /&gt;
&lt;br /&gt;
== Commander Strategies ==&lt;br /&gt;
== Points of Interest ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Maps|fury]]&lt;br /&gt;
[[Category:Commander_maps|fury]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=File:Emp_fury_rc2_minimap.png&amp;diff=10649</id>
		<title>File:Emp fury rc2 minimap.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=File:Emp_fury_rc2_minimap.png&amp;diff=10649"/>
		<updated>2022-04-22T16:23:46Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Editing_entities_without_recompiling_whole_map&amp;diff=10217</id>
		<title>Editing entities without recompiling whole map</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Editing_entities_without_recompiling_whole_map&amp;diff=10217"/>
		<updated>2021-04-14T18:35:20Z</updated>

		<summary type="html">&lt;p&gt;Neoony: Created page with &amp;quot;===Editing entities without recompiling whole map=== e.g. to fix vehicle ids or loadouts   https://imgur.com/a/RJcHCma&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Editing entities without recompiling whole map===&lt;br /&gt;
e.g. to fix vehicle ids or loadouts  &lt;br /&gt;
https://imgur.com/a/RJcHCma&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Mapping_Tutorials&amp;diff=10216</id>
		<title>Mapping Tutorials</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Mapping_Tutorials&amp;diff=10216"/>
		<updated>2021-04-14T18:29:10Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MappingDocumentation}}&lt;br /&gt;
&lt;br /&gt;
==Beginner==&lt;br /&gt;
*[[Basic Classic Map]]&lt;br /&gt;
*[[Basic Conquest Map]]&lt;br /&gt;
*[[Resource nodes|Resource Nodes]]&lt;br /&gt;
*[[Flag Maps]]&lt;br /&gt;
*[[Engineer-Buildable Objects]]&lt;br /&gt;
*[[Releasing a Map]]&lt;br /&gt;
&lt;br /&gt;
==Intermediate==&lt;br /&gt;
* [[Multi-Part Buildables]]&lt;br /&gt;
* [[Adding A Timelimit]]&lt;br /&gt;
* [[Custom map particles]]&lt;br /&gt;
* [[Editing entities without recompiling whole map]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Mapping]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Mapping&amp;diff=10215</id>
		<title>Mapping</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Mapping&amp;diff=10215"/>
		<updated>2021-04-14T18:20:55Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MappingDocumentation}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
==Overview==&lt;br /&gt;
From a technical standpoint, mapping for Empires is very much the same as mapping for any other Source game or mod, but with a collection of additional, necessary entities. The mapping section of the Empires Wiki will explain how to configure the Source SDK for Empires, and offer additional learning resources with which to get started.&lt;br /&gt;
&lt;br /&gt;
From a gameplay standpoint, mapping for Empires is very different from mapping for other Source games or mods. Empires maps are predominantly larger than those of other games and mods. Most often, Empires maps are nearly as large as the Source engine will allow. Optimization is more stringent in both limitations on mappers and requirements of maps.&lt;br /&gt;
&lt;br /&gt;
There are two types of maps common to Empires: &#039;&#039;classic maps&#039;&#039; and &#039;&#039;conquest maps&#039;&#039;, each entailing a unique style of gameplay.&lt;br /&gt;
&lt;br /&gt;
===Classic Maps===&lt;br /&gt;
Classic maps are the flagship maps which champion the core gameplay that Empires was built to provide. Each team has a commander, and some sort of starting base (be it a barracks or an arbitrary spawn point). The teams must venture out, take control of territories for resources or strategic vantage. A commander views the battlefield from above and leads the team in the completion of its objectives. Some classic maps include capture point objectives (flags, most often) to create a hybrid style of play, where building refineries is mixed with capturing points that offer resources or some other territorial benefit, such as a spawnpoint, ammo/health crate, or layout-changing event.&lt;br /&gt;
&lt;br /&gt;
===Conquest Maps===&lt;br /&gt;
Conquest maps segment Empires gameplay by removing the command vehicles from each team. Each team must venture forward to capture objectives and control territories. Conquest maps can involve standalone infantry or a combination of infantry and vehicles.&lt;br /&gt;
&lt;br /&gt;
===Editing entities without recompiling whole map===&lt;br /&gt;
e.g. to fix vehicle ids or loadouts  &lt;br /&gt;
https://imgur.com/a/RJcHCma&lt;br /&gt;
&lt;br /&gt;
==Other Resources==&lt;br /&gt;
*[http://developer.valvesoftware.com/ Valve Developer Wiki]&lt;br /&gt;
**[http://developer.valvesoftware.com/wiki/Category:Level_Design Level Design]&lt;br /&gt;
**[http://developer.valvesoftware.com/wiki/Category:Entities Entities]&lt;br /&gt;
**[http://developer.valvesoftware.com/wiki/Category:Hammer Hammer Editor Documentation]&lt;br /&gt;
*[http://interlopers.net/index.php?page=tutorials Interlopers Tutorials]&lt;br /&gt;
*[http://halfwit-2.com/?page=tutorials Halfwit-2 Tutorials]&lt;br /&gt;
&lt;br /&gt;
[[Category: Mapping]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Mapping&amp;diff=10214</id>
		<title>Mapping</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Mapping&amp;diff=10214"/>
		<updated>2021-04-14T18:08:23Z</updated>

		<summary type="html">&lt;p&gt;Neoony: /* Fixing vehicle loadouts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MappingDocumentation}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
==Overview==&lt;br /&gt;
From a technical standpoint, mapping for Empires is very much the same as mapping for any other Source game or mod, but with a collection of additional, necessary entities. The mapping section of the Empires Wiki will explain how to configure the Source SDK for Empires, and offer additional learning resources with which to get started.&lt;br /&gt;
&lt;br /&gt;
From a gameplay standpoint, mapping for Empires is very different from mapping for other Source games or mods. Empires maps are predominantly larger than those of other games and mods. Most often, Empires maps are nearly as large as the Source engine will allow. Optimization is more stringent in both limitations on mappers and requirements of maps.&lt;br /&gt;
&lt;br /&gt;
There are two types of maps common to Empires: &#039;&#039;classic maps&#039;&#039; and &#039;&#039;conquest maps&#039;&#039;, each entailing a unique style of gameplay.&lt;br /&gt;
&lt;br /&gt;
===Classic Maps===&lt;br /&gt;
Classic maps are the flagship maps which champion the core gameplay that Empires was built to provide. Each team has a commander, and some sort of starting base (be it a barracks or an arbitrary spawn point). The teams must venture out, take control of territories for resources or strategic vantage. A commander views the battlefield from above and leads the team in the completion of its objectives. Some classic maps include capture point objectives (flags, most often) to create a hybrid style of play, where building refineries is mixed with capturing points that offer resources or some other territorial benefit, such as a spawnpoint, ammo/health crate, or layout-changing event.&lt;br /&gt;
&lt;br /&gt;
===Conquest Maps===&lt;br /&gt;
Conquest maps segment Empires gameplay by removing the command vehicles from each team. Each team must venture forward to capture objectives and control territories. Conquest maps can involve standalone infantry or a combination of infantry and vehicles.&lt;br /&gt;
&lt;br /&gt;
===Editing entities without recompiling whole map===&lt;br /&gt;
e.g. to fix vehicle ids or loadouts&lt;br /&gt;
https://imgur.com/a/RJcHCma&lt;br /&gt;
&lt;br /&gt;
==Other Resources==&lt;br /&gt;
*[http://developer.valvesoftware.com/ Valve Developer Wiki]&lt;br /&gt;
**[http://developer.valvesoftware.com/wiki/Category:Level_Design Level Design]&lt;br /&gt;
**[http://developer.valvesoftware.com/wiki/Category:Entities Entities]&lt;br /&gt;
**[http://developer.valvesoftware.com/wiki/Category:Hammer Hammer Editor Documentation]&lt;br /&gt;
*[http://interlopers.net/index.php?page=tutorials Interlopers Tutorials]&lt;br /&gt;
*[http://halfwit-2.com/?page=tutorials Halfwit-2 Tutorials]&lt;br /&gt;
&lt;br /&gt;
[[Category: Mapping]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Mapping&amp;diff=10213</id>
		<title>Mapping</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Mapping&amp;diff=10213"/>
		<updated>2021-04-14T16:45:38Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MappingDocumentation}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
==Overview==&lt;br /&gt;
From a technical standpoint, mapping for Empires is very much the same as mapping for any other Source game or mod, but with a collection of additional, necessary entities. The mapping section of the Empires Wiki will explain how to configure the Source SDK for Empires, and offer additional learning resources with which to get started.&lt;br /&gt;
&lt;br /&gt;
From a gameplay standpoint, mapping for Empires is very different from mapping for other Source games or mods. Empires maps are predominantly larger than those of other games and mods. Most often, Empires maps are nearly as large as the Source engine will allow. Optimization is more stringent in both limitations on mappers and requirements of maps.&lt;br /&gt;
&lt;br /&gt;
There are two types of maps common to Empires: &#039;&#039;classic maps&#039;&#039; and &#039;&#039;conquest maps&#039;&#039;, each entailing a unique style of gameplay.&lt;br /&gt;
&lt;br /&gt;
===Classic Maps===&lt;br /&gt;
Classic maps are the flagship maps which champion the core gameplay that Empires was built to provide. Each team has a commander, and some sort of starting base (be it a barracks or an arbitrary spawn point). The teams must venture out, take control of territories for resources or strategic vantage. A commander views the battlefield from above and leads the team in the completion of its objectives. Some classic maps include capture point objectives (flags, most often) to create a hybrid style of play, where building refineries is mixed with capturing points that offer resources or some other territorial benefit, such as a spawnpoint, ammo/health crate, or layout-changing event.&lt;br /&gt;
&lt;br /&gt;
===Conquest Maps===&lt;br /&gt;
Conquest maps segment Empires gameplay by removing the command vehicles from each team. Each team must venture forward to capture objectives and control territories. Conquest maps can involve standalone infantry or a combination of infantry and vehicles.&lt;br /&gt;
&lt;br /&gt;
===Fixing vehicle loadouts===&lt;br /&gt;
https://imgur.com/a/RJcHCma&lt;br /&gt;
&lt;br /&gt;
==Other Resources==&lt;br /&gt;
*[http://developer.valvesoftware.com/ Valve Developer Wiki]&lt;br /&gt;
**[http://developer.valvesoftware.com/wiki/Category:Level_Design Level Design]&lt;br /&gt;
**[http://developer.valvesoftware.com/wiki/Category:Entities Entities]&lt;br /&gt;
**[http://developer.valvesoftware.com/wiki/Category:Hammer Hammer Editor Documentation]&lt;br /&gt;
*[http://interlopers.net/index.php?page=tutorials Interlopers Tutorials]&lt;br /&gt;
*[http://halfwit-2.com/?page=tutorials Halfwit-2 Tutorials]&lt;br /&gt;
&lt;br /&gt;
[[Category: Mapping]]&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
	<entry>
		<id>https://wiki.empiresmod.com/index.php?title=Sourcemod_Plugins&amp;diff=10212</id>
		<title>Sourcemod Plugins</title>
		<link rel="alternate" type="text/html" href="https://wiki.empiresmod.com/index.php?title=Sourcemod_Plugins&amp;diff=10212"/>
		<updated>2021-04-01T19:53:09Z</updated>

		<summary type="html">&lt;p&gt;Neoony: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Sitenav|Sourcemod Plugins}}&lt;br /&gt;
&lt;br /&gt;
=Empires Specific Plugins=&lt;br /&gt;
Empires has a few specific plugins coded by members of its community, you can find them on [https://git.empiresmod.com/sourcemod Empires&#039; Gitlab].&lt;br /&gt;
==Draftpick==&lt;br /&gt;
[[Draftpick]] is a [[Sourcemod]] plugin by [[Mikleo]], it is responsible for automatically balancing the players between teams using statistics gathered by [[Empstats]]. It includes four types of Draft.&lt;br /&gt;
==Empfun==&lt;br /&gt;
[[Empfun]] is a [[Sourcemod]] plugin by [[Mikleo]], it adds a way to manipulate entities within the game and create custom scenarios.&lt;br /&gt;
==Empstats==&lt;br /&gt;
[[Empstats]] is a [[Sourcemod]] plugin by [[Mikleo]], it tracks various statistics.&lt;br /&gt;
==Emputils==&lt;br /&gt;
[[Emputils]] is a [[Sourcemod]] plugin by [[Mikleo]], it contains various utilities to be used by other plugins.&lt;br /&gt;
==EventTimeleftHostname==&lt;br /&gt;
[[EventTimeleftHostname]] is a [[Sourcemod]] plugin by &amp;lt;&amp;gt; and updated for Empires by [[Neoony]], it allows server owners to display a countdown in their server&#039;s title.&lt;br /&gt;
==Lawlietstats==&lt;br /&gt;
[[Lawlietstats]] is a [[Sourcemod]] plugin by [[Lawliet]], it collects various informations.&lt;br /&gt;
==Lobby==&lt;br /&gt;
[[Lobby]] is a [[Sourcemod]] plugin by [[Neoony]], it controls the Lobby Server.&lt;br /&gt;
==NoCommExtendVote==&lt;br /&gt;
&#039;&#039;&#039;No Commander Extend Vote&#039;&#039;&#039; or [[NCEV]] for short is a [[Sourcemod]] plugin by [[Neoony]], it automatically detects commanders and only allows the game to start if both teams have a commander. &amp;lt;br /&amp;gt;&lt;br /&gt;
==PugPlugin==&lt;br /&gt;
==ResearchInfo==&lt;br /&gt;
[[ResearchInfo]] is a [[Sourcemod]] plugin by [[Neoony]], gives a chat command to show what your team has researched in console. Unstable and unfinished. WIP&lt;br /&gt;
==sameIPBlock==&lt;br /&gt;
[[sameIPBlock]] is a [[Sourcemod]] plugin by [[Neoony]], only allows players to join from unique IP address.&lt;br /&gt;
==SourcemodOffsets==&lt;br /&gt;
[[SourcemodOffsets]] is a [[Sourcemod]] plugin by [[Neoony]], it automatically updates the sourcemod offsets required for Empires when they change.&lt;br /&gt;
==SquadControl==&lt;br /&gt;
[[Squadcontrol]] is a [[Sourcemod]] plugin by [[Mikleo]], it adds various utilities for Empires.&lt;br /&gt;
==Surrender==&lt;br /&gt;
[[Surrender]] is a [[SourceMod]] plugin by [[Neoony]], it allows players to trigger a vote to surrender which if successful destroys their [[Command Vehicle]].&amp;lt;br /&amp;gt;&lt;br /&gt;
==Updater==&lt;br /&gt;
[[Updater]] is a [[Sourcemod]] plugin by &amp;lt;&amp;gt; and updated for Empires by [[Neoony]], it allows servers to automatically update their plugins.&lt;br /&gt;
==Ungrief==&lt;br /&gt;
[[Ungrief]] is a [[Sourcemod]] plugin by [[Theowningone]] and updated by [[Neoony]], it allows admins to teleport the [[Command Vehicle]].&lt;br /&gt;
==Votetime==&lt;br /&gt;
[[Votetime]] is a [[Sourcemod]] plugin by [[Mikleo]], it adds commands to control the commander vote timer.&lt;br /&gt;
==vprofReport==&lt;br /&gt;
[[vprofReport]] is a [[Sourcemod]] plugin by [[Neoony]], automatically start &amp;quot;vprof&amp;quot; at certain number of clients on the server and then generates report when the round ends.&lt;br /&gt;
=Generic Plugins=&lt;br /&gt;
== End of Round AllTalk ==&lt;br /&gt;
Original Plugin: https://forums.alliedmods.net/showthread.php?p=1246351&lt;br /&gt;
== Chat Triggers ==&lt;br /&gt;
Plugin link: https://forums.alliedmods.net/showthread.php?p=585758 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Advertisements 2.0 ==&lt;br /&gt;
Plugin link: https://forums.alliedmods.net/showthread.php?t=155705 &amp;lt;br /&amp;gt;&lt;br /&gt;
Simple advertisements plugin. It supports center, chat, hint, menu and top messages.&lt;br /&gt;
== SourceBans++ ==&lt;br /&gt;
Plugin link: https://sbpp.github.io/ &amp;lt;br /&amp;gt;&lt;br /&gt;
Unofficial more updated version of SourceBans. &amp;lt;br /&amp;gt;&lt;br /&gt;
-SourceBans++ is a majorly improved version of SourceBans 1.4.11 which was developed by GameConnect. &amp;lt;br /&amp;gt;&lt;br /&gt;
Those major improvements include a new design, more stable web application, login via steam account and much more community made customizations. &amp;lt;br /&amp;gt;&lt;br /&gt;
== SourceBot ==&lt;br /&gt;
&#039;&#039;Original Plugin link:&#039;&#039; https://forums.alliedmods.net/showthread.php?p=883997 &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== TeamSwitch ==&lt;br /&gt;
Plugin link: https://forums.alliedmods.net/showthread.php?p=587405 &amp;lt;br /&amp;gt;&lt;br /&gt;
This is a fully mod-independent team switching plugin, which gives an admin the ability to switch players to the opposite team either immediately,  &amp;lt;br /&amp;gt;&lt;br /&gt;
when they die, or at the end of the round (where appropriate). &amp;lt;br /&amp;gt;&lt;br /&gt;
Players can also be switched to spectators. &amp;lt;br /&amp;gt;&lt;br /&gt;
TeamSwitch detects which mod it is being run on at startup and configures itself accordingly. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ultimate Mapchooser 3.4.5 ==&lt;br /&gt;
Plugin link: https://forums.alliedmods.net/showthread.php?t=134190 &amp;lt;br /&amp;gt;&lt;br /&gt;
Ultimate Mapchooser allows for increased control over map selection. This includes: &amp;lt;br /&amp;gt;&lt;br /&gt;
* Random selection of the next map. &amp;lt;br /&amp;gt;&lt;br /&gt;
* Which maps are added to votes &amp;lt;br /&amp;gt;&lt;br /&gt;
* Which maps are available for nominations &amp;lt;br /&amp;gt;&lt;br /&gt;
You can control how the randomization works by dividing your map rotation into groups, and controlling the weights of each group or each individual map, &amp;lt;br /&amp;gt;&lt;br /&gt;
specify a minimum or maximum number of players allowed on the server for the map to be available, specify how many maps from a group are allowed in a vote, etc. &amp;lt;br /&amp;gt;&lt;br /&gt;
EDIT: It seems the original version isnt working even with Creepers event fix for end of map votes. &amp;lt;br /&amp;gt;&lt;br /&gt;
Here is cyberkillers version: https://github.com/CyberKiller/Ultimate-Mapchooser &amp;lt;br /&amp;gt;&lt;br /&gt;
But it might be a little outdated...&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Execute Configs ==&lt;br /&gt;
&#039;&#039;Original Plugin link:&#039;&#039; https://forums.alliedmods.net/showthread.php?t=67620&amp;lt;br /&amp;gt;&lt;br /&gt;
This plugin executes configs when there are either a certain amount of clients on, a certain event occurs, a certain round starts or when there are a certain amount of minutes left on the map. &amp;lt;br /&amp;gt;&lt;br /&gt;
You can use this to disable alltalk above x clients, or to change the map when the timelimit hits, etc. &amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;More updated version (1.2.4) + added empires roundstart/gamestart events:&#039;&#039;&#039; https://git.empiresmod.com/sourcemod/executeconfigs &amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Neoony</name></author>
	</entry>
</feed>