<?xml version="1.0" encoding="utf-8"?>
<s1 title="Gate"><table><strong class="highlight"><![CDATA[]]></strong><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Usage:</p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>config gate:[minutes]</p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Example:</p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>config gate:1<br/>
config gate:0.1 </p>
</td></tr><tr><td><strong class="highlight"><![CDATA[]]></strong><p>Default:</p>
</td><td><strong class="highlight"><![CDATA[]]></strong><p>config gate:0 </p>
</td></tr></table><p>With this option activated the bot will open and close the gates depending on the type of attack waves approaching the city. Town defense is quite complex; the bot can defend your city when it is strong, weak, or extremely weak. In general, if you have 300,000 archers the bot will allow scout bombs to hit; below 100,000 archers, the bot will close the gate when attacked but will open the gate to deal with small loyalty attacks. When used along with <jump href="/wiki/GatePolicy">GatePolicy</jump>, you can instruct the bot what types of attacks to open for, and what to close for. </p>
<p>In the 1st example above, the bot would open or close gates 1 minute before an incoming attack. In the 2nd example, the bot would open or close gates 0.1 minute, or 6 seconds, before an incoming attack. </p>
<p>Note that the bot will automatically take into account the &quot;Server time difference&quot; shown at login. This is the time difference between your computer&apos;s clock and evony&apos;s clock.  </p>
<p></p>

<br/>------------------------------------------------------------------------------<br/>
<p> <jump href="/wiki/CategoryAllGoals">CategoryAllGoals</jump> <jump href="/wiki/CategoryCombatGoals">CategoryCombatGoals</jump> <jump href="/wiki/CategoryConfigGoals">CategoryConfigGoals</jump> </p>
</s1>