<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://war.app/index.php?action=history&amp;feed=atom&amp;title=Mod_API_Reference%3AFogMod</id>
	<title>Mod API Reference:FogMod - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://war.app/index.php?action=history&amp;feed=atom&amp;title=Mod_API_Reference%3AFogMod"/>
	<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;action=history"/>
	<updated>2026-04-18T17:54:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7683&amp;oldid=prev</id>
		<title>Fizzer at 02:35, 18 April 2026</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7683&amp;oldid=prev"/>
		<updated>2026-04-18T02:35:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:35, 18 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;FogMod&#039;&#039;&#039; is a class for modifying [[Fog]] in a &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Warzone &lt;/del&gt;classic game.  It can set for any specific players, or all players, the fog level of territories, between three different fog levels:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;FogMod&#039;&#039;&#039; is a class for modifying [[Fog]] in a &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;War.app &lt;/ins&gt;classic game.  It can set for any specific players, or all players, the fog level of territories, between three different fog levels:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* WL.StandingFogLevel.Visible: Both the owner of the territory and the armies/structures are visible.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* WL.StandingFogLevel.Visible: Both the owner of the territory and the armies/structures are visible.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* WL.StandingFogLevel.OwnerOnly: Only the owner of the territory is visible. Its armies/structures are hidden.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* WL.StandingFogLevel.OwnerOnly: Only the owner of the territory is visible. Its armies/structures are hidden.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;ID&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:Guid|Guid]]&amp;#039;&amp;#039;: Automatically generated and guaranteed to be unique for every FogMod instance created.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;ID&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:Guid|Guid]]&amp;#039;&amp;#039;: Automatically generated and guaranteed to be unique for every FogMod instance created.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Message&#039;&#039;&#039; &#039;&#039;string&#039;&#039;: A user-friendly message explaining to the player why this fog is being applied here.  Currently, this message is not displayed to the player anywhere.  However, in a future update to the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Warzone &lt;/del&gt;client it may be displayed.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Message&#039;&#039;&#039; &#039;&#039;string&#039;&#039;: A user-friendly message explaining to the player why this fog is being applied here.  Currently, this message is not displayed to the player anywhere.  However, in a future update to the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;War.app &lt;/ins&gt;client it may be displayed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;FogLevel&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:StandingFogLevel|StandingFogLevel]] (enum)&amp;#039;&amp;#039;:  Should be either WL.StandingFogLevel.Visible, WL.StandingFogLevel.OwnerOnly, or WL.StandingFogLevel.Fogged.  See above for the definitions of these.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;FogLevel&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:StandingFogLevel|StandingFogLevel]] (enum)&amp;#039;&amp;#039;:  Should be either WL.StandingFogLevel.Visible, WL.StandingFogLevel.OwnerOnly, or WL.StandingFogLevel.Fogged.  See above for the definitions of these.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Priority&#039;&#039;&#039; &#039;&#039;integer&#039;&#039;: Priority affects how the FogMod interacts with other fog-affecting systems in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Warzone&lt;/del&gt;.  If multiple FogMod instances affects the same player and territory (either from the same mod or different mods), the FogMod with a higher priority will override the FogMod with a lower priority.  If they&#039;re identical priorities, it&#039;s undefined which one will override the other.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Priority&#039;&#039;&#039; &#039;&#039;integer&#039;&#039;: Priority affects how the FogMod interacts with other fog-affecting systems in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;War.app&lt;/ins&gt;.  If multiple FogMod instances affects the same player and territory (either from the same mod or different mods), the FogMod with a higher priority will override the FogMod with a lower priority.  If they&#039;re identical priorities, it&#039;s undefined which one will override the other.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** In addition, the priority range determines how the FogMod interacts with existing &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Warzone &lt;/del&gt;mechanics, based on the following rules:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** In addition, the priority range determines how the FogMod interacts with existing &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;War.app &lt;/ins&gt;mechanics, based on the following rules:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is &amp;gt;= 9000: The FogMod will always change the territory visibility.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is &amp;gt;= 9000: The FogMod will always change the territory visibility.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is 6000 - 8999: The FogMod will not affect the player&amp;#039;s own territories or the player&amp;#039;s teammates territories (your own territories and teammates territories are always visible, like normal)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is 6000 - 8999: The FogMod will not affect the player&amp;#039;s own territories or the player&amp;#039;s teammates territories (your own territories and teammates territories are always visible, like normal)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mod developers must take extreme caution when using a FogMod with a priority value of 9000 or above combined with the Foggy or OwnerOnly visibility levels.  With these combined, it&amp;#039;s possible to cause a players own territories be hidden from themselves.  If not used carefully, it would cause the player be unable to commit their armies which would cause them to get booted.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mod developers must take extreme caution when using a FogMod with a priority value of 9000 or above combined with the Foggy or OwnerOnly visibility levels.  With these combined, it&amp;#039;s possible to cause a players own territories be hidden from themselves.  If not used carefully, it would cause the player be unable to commit their armies which would cause them to get booted.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, if a player controls all of South America for +4 income, and a FogMod hides Brazil from that player, the player&#039;s client will think they don&#039;t control the South America bonus and won&#039;t provide them with the extra 4 armies, whereas the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Warzone &lt;/del&gt;server will think they do control South America and reject the player&#039;s orders for not deploying the extra 4 armies.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, if a player controls all of South America for +4 income, and a FogMod hides Brazil from that player, the player&#039;s client will think they don&#039;t control the South America bonus and won&#039;t provide them with the extra 4 armies, whereas the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;War.app &lt;/ins&gt;server will think they do control South America and reject the player&#039;s orders for not deploying the extra 4 armies.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One way to work around this issue is to ensure your mod never hides a player&amp;#039;s own territories from themselves, either by using priority &amp;lt; 9000 or by only targeting territories the player doesn&amp;#039;t own themselves.  Another solution could be to enforce that your mod only works in commerce mode, since commerce mode allows players to under-deploy which would not cause the player to get booted, but still deprive the player of their bonus&amp;#039;s income.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One way to work around this issue is to ensure your mod never hides a player&amp;#039;s own territories from themselves, either by using priority &amp;lt; 9000 or by only targeting territories the player doesn&amp;#039;t own themselves.  Another solution could be to enforce that your mod only works in commerce mode, since commerce mode allows players to under-deploy which would not cause the player to get booted, but still deprive the player of their bonus&amp;#039;s income.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If a FogMod sets a player&#039;s own territory to OwnerOnly with a priority value of 9000 or above, the player won&#039;t be able to see the armies on their own territory, but they will be able to see they control it.  In this case, the player won&#039;t be able to deploy to that territory, but this restriction is only enforced by the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Warzone &lt;/del&gt;client and not by the server. This means a sneaky player could hack their client to bypass this restriction.  If you intend to use this to stop deployments, you should also cancel the deployment order on the server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If a FogMod sets a player&#039;s own territory to OwnerOnly with a priority value of 9000 or above, the player won&#039;t be able to see the armies on their own territory, but they will be able to see they control it.  In this case, the player won&#039;t be able to deploy to that territory, but this restriction is only enforced by the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;War.app &lt;/ins&gt;client and not by the server. This means a sneaky player could hack their client to bypass this restriction.  If you intend to use this to stop deployments, you should also cancel the deployment order on the server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7394&amp;oldid=prev</id>
		<title>Fizzer at 14:35, 12 March 2025</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7394&amp;oldid=prev"/>
		<updated>2025-03-12T14:35:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:35, 12 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is &amp;gt;= 9000: The FogMod will always change the territory visibility.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is &amp;gt;= 9000: The FogMod will always change the territory visibility.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is 6000 - 8999: The FogMod will not affect the player&amp;#039;s own territories or the player&amp;#039;s teammates territories (your own territories and teammates territories are always visible, like normal)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is 6000 - 8999: The FogMod will not affect the player&amp;#039;s own territories or the player&amp;#039;s teammates territories (your own territories and teammates territories are always visible, like normal)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is 3000 - &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;7999&lt;/del&gt;: The FogMod will also not affect a territory that&#039;s being made visible by a special unit.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is 3000 - &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;5999&lt;/ins&gt;: The FogMod will also not affect a territory that&#039;s being made visible by a special unit.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is &amp;lt; 3000:  The FogMod will also not affect any territory that&amp;#039;s being made visible by a spy, recon, or surveillance cards.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is &amp;lt; 3000:  The FogMod will also not affect any territory that&amp;#039;s being made visible by a spy, recon, or surveillance cards.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7252&amp;oldid=prev</id>
		<title>Fizzer at 02:31, 15 February 2025</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7252&amp;oldid=prev"/>
		<updated>2025-02-15T02:31:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:31, 15 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is &amp;lt; 3000:  The FogMod will also not affect any territory that&amp;#039;s being made visible by a spy, recon, or surveillance cards.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is &amp;lt; 3000:  The FogMod will also not affect any territory that&amp;#039;s being made visible by a spy, recon, or surveillance cards.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Territories&#039;&#039;&#039; &#039;&#039;[[Mod API Reference:HashSet|HashSet]]&amp;lt;[[Mod API Reference:TerritoryID|TerritoryID]]&amp;gt;&#039;&#039;: A list of the territory IDs that will &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;receivfe &lt;/del&gt;the new fog level.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Territories&#039;&#039;&#039; &#039;&#039;[[Mod API Reference:HashSet|HashSet]]&amp;lt;[[Mod API Reference:TerritoryID|TerritoryID]]&amp;gt;&#039;&#039;: A list of the territory IDs that will &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;receive &lt;/ins&gt;the new fog level.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;PlayersAffectedOpt&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:HashSet|HashSet]]&amp;lt;[[Mod API Reference:PlayerID|PlayerID]]&amp;gt;&amp;#039;&amp;#039;: A list of the player IDs that will see the new fog level.  Nil means to affect all players, even spectators.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;PlayersAffectedOpt&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:HashSet|HashSet]]&amp;lt;[[Mod API Reference:PlayerID|PlayerID]]&amp;gt;&amp;#039;&amp;#039;: A list of the player IDs that will see the new fog level.  Nil means to affect all players, even spectators.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7251&amp;oldid=prev</id>
		<title>Fizzer at 02:29, 15 February 2025</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7251&amp;oldid=prev"/>
		<updated>2025-02-15T02:29:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:29, 15 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mod developers must take extreme caution when using a FogMod with a priority value of 9000 or above combined with the Foggy or OwnerOnly visibility levels.  With these combined, it&amp;#039;s possible to cause a players own territories be hidden from themselves.  If not used carefully, it would cause the player be unable to commit their armies which would cause them to get booted.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mod developers must take extreme caution when using a FogMod with a priority value of 9000 or above combined with the Foggy or OwnerOnly visibility levels.  With these combined, it&amp;#039;s possible to cause a players own territories be hidden from themselves.  If not used carefully, it would cause the player be unable to commit their armies which would cause them to get booted.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, if a player controls all of South America for +4 income, and a FogMod hides Brazil from that player, the player&#039;s client will think they don&#039;t control the South America bonus, whereas the Warzone server will think they do control South America and reject the player&#039;s orders for not deploying the extra 4 armies.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, if a player controls all of South America for +4 income, and a FogMod hides Brazil from that player, the player&#039;s client will think they don&#039;t control the South America bonus &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and won&#039;t provide them with the extra 4 armies&lt;/ins&gt;, whereas the Warzone server will think they do control South America and reject the player&#039;s orders for not deploying the extra 4 armies.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One way to work around this issue is to ensure your mod never hides a player&amp;#039;s own territories from themselves, either by using priority &amp;lt; 9000 or by only targeting territories the player doesn&amp;#039;t own themselves.  Another solution could be to enforce that your mod only works in commerce mode, since commerce mode allows players to under-deploy which would not cause the player to get booted, but still deprive the player of their bonus&amp;#039;s income.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One way to work around this issue is to ensure your mod never hides a player&amp;#039;s own territories from themselves, either by using priority &amp;lt; 9000 or by only targeting territories the player doesn&amp;#039;t own themselves.  Another solution could be to enforce that your mod only works in commerce mode, since commerce mode allows players to under-deploy which would not cause the player to get booted, but still deprive the player of their bonus&amp;#039;s income.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If a FogMod sets a player&amp;#039;s own territory to OwnerOnly with a priority value of 9000 or above, the player won&amp;#039;t be able to see the armies on their own territory, but they will be able to see they control it.  In this case, the player won&amp;#039;t be able to deploy to that territory, but this restriction is only enforced by the Warzone client and not by the server. This means a sneaky player could hack their client to bypass this restriction.  If you intend to use this to stop deployments, you should also cancel the deployment order on the server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If a FogMod sets a player&amp;#039;s own territory to OwnerOnly with a priority value of 9000 or above, the player won&amp;#039;t be able to see the armies on their own territory, but they will be able to see they control it.  In this case, the player won&amp;#039;t be able to deploy to that territory, but this restriction is only enforced by the Warzone client and not by the server. This means a sneaky player could hack their client to bypass this restriction.  If you intend to use this to stop deployments, you should also cancel the deployment order on the server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7250&amp;oldid=prev</id>
		<title>Fizzer at 02:28, 15 February 2025</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7250&amp;oldid=prev"/>
		<updated>2025-02-15T02:28:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:28, 15 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is &amp;lt; 3000:  The FogMod will also not affect any territory that&amp;#039;s being made visible by a spy, recon, or surveillance cards.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Priority is &amp;lt; 3000:  The FogMod will also not affect any territory that&amp;#039;s being made visible by a spy, recon, or surveillance cards.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Territories&#039;&#039;&#039; &#039;&#039;[[Mod API Reference:HashSet|HashSet]]&amp;lt;[[Mod API Reference:TerritoryID|TerritoryID]]&amp;gt;&#039;&#039;: A list of the territory IDs that will &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;receive &lt;/del&gt;the new fog level.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;&#039;Territories&#039;&#039;&#039; &#039;&#039;[[Mod API Reference:HashSet|HashSet]]&amp;lt;[[Mod API Reference:TerritoryID|TerritoryID]]&amp;gt;&#039;&#039;: A list of the territory IDs that will &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;receivfe &lt;/ins&gt;the new fog level.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;PlayersAffectedOpt&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:HashSet|HashSet]]&amp;lt;[[Mod API Reference:PlayerID|PlayerID]]&amp;gt;&amp;#039;&amp;#039;: A list of the player IDs that will see the new fog level.  Nil means to affect all players, even spectators.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;&amp;#039;PlayersAffectedOpt&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:HashSet|HashSet]]&amp;lt;[[Mod API Reference:PlayerID|PlayerID]]&amp;gt;&amp;#039;&amp;#039;: A list of the player IDs that will see the new fog level.  Nil means to affect all players, even spectators.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l27&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Caution when using High Priroities ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Caution when using High Priroities ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mod developers must take extreme caution when using a FogMod with a priority value of 9000 or above combined with the Foggy or OwnerOnly visibility levels.  With these combined, it&#039;s possible to cause a players own territories be hidden from &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;them&lt;/del&gt;.  If not used carefully, it would cause the player be unable to commit their armies which would cause them to get booted.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mod developers must take extreme caution when using a FogMod with a priority value of 9000 or above combined with the Foggy or OwnerOnly visibility levels.  With these combined, it&#039;s possible to cause a players own territories be hidden from &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;themselves&lt;/ins&gt;.  If not used carefully, it would cause the player be unable to commit their armies which would cause them to get booted.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, if a player controls all of South America for +4 income, and a FogMod hides Brazil from that player, the player&amp;#039;s client will think they don&amp;#039;t control the South America bonus, whereas the Warzone server will think they do control South America and reject the player&amp;#039;s orders for not deploying the extra 4 armies.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, if a player controls all of South America for +4 income, and a FogMod hides Brazil from that player, the player&amp;#039;s client will think they don&amp;#039;t control the South America bonus, whereas the Warzone server will think they do control South America and reject the player&amp;#039;s orders for not deploying the extra 4 armies.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7249&amp;oldid=prev</id>
		<title>Fizzer at 02:27, 15 February 2025</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7249&amp;oldid=prev"/>
		<updated>2025-02-15T02:27:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:27, 15 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l27&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Caution when using High Priroities ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Caution when using High Priroities ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mod developers must take extreme caution when using a FogMod with a priority value of 9000 or above combined with the Foggy or OwnerOnly visibility levels.  With these combined, it&#039;s possible to cause a players own territories be hidden from them.  If not used carefully, it would cause the player be unable to commit their armies which would &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;break the game&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mod developers must take extreme caution when using a FogMod with a priority value of 9000 or above combined with the Foggy or OwnerOnly visibility levels.  With these combined, it&#039;s possible to cause a players own territories be hidden from them.  If not used carefully, it would cause the player be unable to commit their armies which would &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cause them to get booted&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, if a player controls all of South America for +4 income, and a FogMod hides Brazil from that player, the player&amp;#039;s client will think they don&amp;#039;t control the South America bonus, whereas the Warzone server will think they do control South America and reject the player&amp;#039;s orders for not deploying the extra 4 armies.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, if a player controls all of South America for +4 income, and a FogMod hides Brazil from that player, the player&amp;#039;s client will think they don&amp;#039;t control the South America bonus, whereas the Warzone server will think they do control South America and reject the player&amp;#039;s orders for not deploying the extra 4 armies.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One way to work around this issue is to ensure your mod never hides a player&#039;s own territories from themselves, either by using priority &amp;lt; 9000 or by only targeting territories the player doesn&#039;t own themselves.  Another solution could be to enforce that your mod only works in commerce mode, since commerce mode allows players to under-deploy which would not &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;break &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;game&lt;/del&gt;, but still deprive the player of their bonus&#039;s income.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One way to work around this issue is to ensure your mod never hides a player&#039;s own territories from themselves, either by using priority &amp;lt; 9000 or by only targeting territories the player doesn&#039;t own themselves.  Another solution could be to enforce that your mod only works in commerce mode, since commerce mode allows players to under-deploy which would not &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;cause &lt;/ins&gt;the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;player to get booted&lt;/ins&gt;, but still deprive the player of their bonus&#039;s income.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If a FogMod sets a player&amp;#039;s own territory to OwnerOnly with a priority value of 9000 or above, the player won&amp;#039;t be able to see the armies on their own territory, but they will be able to see they control it.  In this case, the player won&amp;#039;t be able to deploy to that territory, but this restriction is only enforced by the Warzone client and not by the server. This means a sneaky player could hack their client to bypass this restriction.  If you intend to use this to stop deployments, you should also cancel the deployment order on the server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If a FogMod sets a player&amp;#039;s own territory to OwnerOnly with a priority value of 9000 or above, the player won&amp;#039;t be able to see the armies on their own territory, but they will be able to see they control it.  In this case, the player won&amp;#039;t be able to deploy to that territory, but this restriction is only enforced by the Warzone client and not by the server. This means a sneaky player could hack their client to bypass this restriction.  If you intend to use this to stop deployments, you should also cancel the deployment order on the server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7248&amp;oldid=prev</id>
		<title>Fizzer: Created page with &quot;&#039;&#039;&#039;FogMod&#039;&#039;&#039; is a class for modifying Fog in a Warzone classic game.  It can set for any specific players, or all players, the fog level of territories, between three different fog levels: * WL.StandingFogLevel.Visible: Both the owner of the territory and the armies/structures are visible. * WL.StandingFogLevel.OwnerOnly: Only the owner of the territory is visible. Its armies/structures are hidden. * WL.StandingFogLevel.Fogged: Both the owner of the territory and its...&quot;</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:FogMod&amp;diff=7248&amp;oldid=prev"/>
		<updated>2025-02-15T02:25:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;FogMod&amp;#039;&amp;#039;&amp;#039; is a class for modifying &lt;a href=&quot;/wiki/Fog&quot; title=&quot;Fog&quot;&gt;Fog&lt;/a&gt; in a Warzone classic game.  It can set for any specific players, or all players, the fog level of territories, between three different fog levels: * WL.StandingFogLevel.Visible: Both the owner of the territory and the armies/structures are visible. * WL.StandingFogLevel.OwnerOnly: Only the owner of the territory is visible. Its armies/structures are hidden. * WL.StandingFogLevel.Fogged: Both the owner of the territory and its...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;FogMod&amp;#039;&amp;#039;&amp;#039; is a class for modifying [[Fog]] in a Warzone classic game.  It can set for any specific players, or all players, the fog level of territories, between three different fog levels:&lt;br /&gt;
* WL.StandingFogLevel.Visible: Both the owner of the territory and the armies/structures are visible.&lt;br /&gt;
* WL.StandingFogLevel.OwnerOnly: Only the owner of the territory is visible. Its armies/structures are hidden.&lt;br /&gt;
* WL.StandingFogLevel.Fogged: Both the owner of the territory and its armies/structures are hidden.&lt;br /&gt;
&lt;br /&gt;
To add or remove a FogMod from a game, you should assign it to a [[Mod API Reference:GameOrderEvent|GameOrderEvent]].  &lt;br /&gt;
&lt;br /&gt;
== Properties ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ID&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:Guid|Guid]]&amp;#039;&amp;#039;: Automatically generated and guaranteed to be unique for every FogMod instance created.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Message&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;: A user-friendly message explaining to the player why this fog is being applied here.  Currently, this message is not displayed to the player anywhere.  However, in a future update to the Warzone client it may be displayed.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;FogLevel&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:StandingFogLevel|StandingFogLevel]] (enum)&amp;#039;&amp;#039;:  Should be either WL.StandingFogLevel.Visible, WL.StandingFogLevel.OwnerOnly, or WL.StandingFogLevel.Fogged.  See above for the definitions of these.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Priority&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;: Priority affects how the FogMod interacts with other fog-affecting systems in Warzone.  If multiple FogMod instances affects the same player and territory (either from the same mod or different mods), the FogMod with a higher priority will override the FogMod with a lower priority.  If they&amp;#039;re identical priorities, it&amp;#039;s undefined which one will override the other.&lt;br /&gt;
** In addition, the priority range determines how the FogMod interacts with existing Warzone mechanics, based on the following rules:&lt;br /&gt;
** Priority is &amp;gt;= 9000: The FogMod will always change the territory visibility.&lt;br /&gt;
** Priority is 6000 - 8999: The FogMod will not affect the player&amp;#039;s own territories or the player&amp;#039;s teammates territories (your own territories and teammates territories are always visible, like normal)&lt;br /&gt;
** Priority is 3000 - 7999: The FogMod will also not affect a territory that&amp;#039;s being made visible by a special unit.&lt;br /&gt;
** Priority is &amp;lt; 3000:  The FogMod will also not affect any territory that&amp;#039;s being made visible by a spy, recon, or surveillance cards.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Territories&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:HashSet|HashSet]]&amp;lt;[[Mod API Reference:TerritoryID|TerritoryID]]&amp;gt;&amp;#039;&amp;#039;: A list of the territory IDs that will receive the new fog level.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;PlayersAffectedOpt&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:HashSet|HashSet]]&amp;lt;[[Mod API Reference:PlayerID|PlayerID]]&amp;gt;&amp;#039;&amp;#039;: A list of the player IDs that will see the new fog level.  Nil means to affect all players, even spectators.&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;WL.FogMod.Create&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;&amp;#039;message&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;fogLevel&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:StandingFogLevel|StandingFogLevel]] (enum)&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;priority&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;terrs&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:HashSet|HashSet]]&amp;lt;[[Mod API Reference:TerritoryID|TerritoryID]]&amp;gt;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;playersAffectedOpt&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:HashSet|HashSet]]&amp;lt;[[Mod API Reference:PlayerID|PlayerID]]&amp;gt;&amp;#039;&amp;#039;) (static) returns [[Mod API Reference:FogMod|FogMod]]:  Creates a FogMod instance.  To learn what to pass to each parameter, see the properties above.&lt;br /&gt;
&lt;br /&gt;
== Caution when using High Priroities ==&lt;br /&gt;
&lt;br /&gt;
Mod developers must take extreme caution when using a FogMod with a priority value of 9000 or above combined with the Foggy or OwnerOnly visibility levels.  With these combined, it&amp;#039;s possible to cause a players own territories be hidden from them.  If not used carefully, it would cause the player be unable to commit their armies which would break the game.&lt;br /&gt;
&lt;br /&gt;
For example, if a player controls all of South America for +4 income, and a FogMod hides Brazil from that player, the player&amp;#039;s client will think they don&amp;#039;t control the South America bonus, whereas the Warzone server will think they do control South America and reject the player&amp;#039;s orders for not deploying the extra 4 armies.&lt;br /&gt;
&lt;br /&gt;
One way to work around this issue is to ensure your mod never hides a player&amp;#039;s own territories from themselves, either by using priority &amp;lt; 9000 or by only targeting territories the player doesn&amp;#039;t own themselves.  Another solution could be to enforce that your mod only works in commerce mode, since commerce mode allows players to under-deploy which would not break the game, but still deprive the player of their bonus&amp;#039;s income.&lt;br /&gt;
&lt;br /&gt;
If a FogMod sets a player&amp;#039;s own territory to OwnerOnly with a priority value of 9000 or above, the player won&amp;#039;t be able to see the armies on their own territory, but they will be able to see they control it.  In this case, the player won&amp;#039;t be able to deploy to that territory, but this restriction is only enforced by the Warzone client and not by the server. This means a sneaky player could hack their client to bypass this restriction.  If you intend to use this to stop deployments, you should also cancel the deployment order on the server.&lt;/div&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
</feed>