<?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%3AIncomeMod</id>
	<title>Mod API Reference:IncomeMod - 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%3AIncomeMod"/>
	<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:IncomeMod&amp;action=history"/>
	<updated>2026-04-18T22:56:20Z</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:IncomeMod&amp;diff=7246&amp;oldid=prev</id>
		<title>Fizzer at 15:24, 12 February 2025</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:IncomeMod&amp;diff=7246&amp;oldid=prev"/>
		<updated>2025-02-12T15:24:14Z</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 15:24, 12 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-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;&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;IncomeMod&amp;#039;&amp;#039;&amp;#039;: Used to modify a player&amp;#039;s income.  Added in [[Mod_API_Reference:IsVersionOrHigher|5.17.0]]. Income is defined as the number of armies the player receives in a turn (or gold in a [[commerce]] game).  For these to have an effect, they should be passed to a [[Mod API Reference:GameOrderEvent|GameOrderEvent]].&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;IncomeMod&amp;#039;&amp;#039;&amp;#039;: Used to modify a player&amp;#039;s income.  Added in [[Mod_API_Reference:IsVersionOrHigher|5.17.0]]. Income is defined as the number of armies the player receives in a turn (or gold in a [[commerce]] game).  For these to have an effect, they should be passed to a [[Mod API Reference:GameOrderEvent|GameOrderEvent]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Income modifications are only good for one turn.  After the turn ends, each player&#039;s income will revert to the default.  If you want it to affect a player for additional turns, your mod will have to create it again for each turn.&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;* &amp;#039;&amp;#039;&amp;#039;Message&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;:  The message displayed to the player whose income is modified.  This will be displayed in the Income Breakdown Dialog.&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;Message&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;:  The message displayed to the player whose income is modified.  This will be displayed in the Income Breakdown Dialog.&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:IncomeMod&amp;diff=5215&amp;oldid=prev</id>
		<title>Fizzer at 23:53, 11 January 2022</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:IncomeMod&amp;diff=5215&amp;oldid=prev"/>
		<updated>2022-01-11T23:53:11Z</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 23:53, 11 January 2022&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;IncomeMod&#039;&#039;&#039;: Used to modify a player&#039;s income.  Income is defined as the number of armies the player receives in a turn (or gold in a [[commerce]] game).  For these to have an effect, they should be passed to a [[Mod API Reference:GameOrderEvent|GameOrderEvent]].&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;IncomeMod&#039;&#039;&#039;: Used to modify a player&#039;s income.  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Added in [[Mod_API_Reference:IsVersionOrHigher|5.17.0]]. &lt;/ins&gt;Income is defined as the number of armies the player receives in a turn (or gold in a [[commerce]] game).  For these to have an effect, they should be passed to a [[Mod API Reference:GameOrderEvent|GameOrderEvent]].&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;* &amp;#039;&amp;#039;&amp;#039;Message&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;:  The message displayed to the player whose income is modified.  This will be displayed in the Income Breakdown Dialog.&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;Message&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;:  The message displayed to the player whose income is modified.  This will be displayed in the Income Breakdown Dialog.&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:IncomeMod&amp;diff=5214&amp;oldid=prev</id>
		<title>Fizzer at 23:52, 11 January 2022</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:IncomeMod&amp;diff=5214&amp;oldid=prev"/>
		<updated>2022-01-11T23:52:39Z</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 23:52, 11 January 2022&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;IncomeMod&#039;&#039;&#039;: Used to modify a player&#039;s income.  Income is defined as the number of armies the player receives in a turn (or gold in a [[commerce]] game).&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;IncomeMod&#039;&#039;&#039;: Used to modify a player&#039;s income.  Income is defined as the number of armies the player receives in a turn (or gold in a [[commerce]] game)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.  For these to have an effect, they should be passed to a [[Mod API Reference:GameOrderEvent|GameOrderEvent]]&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;* &amp;#039;&amp;#039;&amp;#039;Message&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;:  The message displayed to the player whose income is modified.  This will be displayed in the Income Breakdown Dialog.&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;Message&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;:  The message displayed to the player whose income is modified.  This will be displayed in the Income Breakdown Dialog.&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:IncomeMod&amp;diff=5210&amp;oldid=prev</id>
		<title>Fizzer: Created page with &quot;&#039;&#039;&#039;IncomeMod&#039;&#039;&#039;: Used to modify a player&#039;s income.  Income is defined as the number of armies the player receives in a turn (or gold in a commerce game).  * &#039;&#039;&#039;Message&#039;&#039;&#039; ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:IncomeMod&amp;diff=5210&amp;oldid=prev"/>
		<updated>2022-01-11T23:50:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;IncomeMod&amp;#039;&amp;#039;&amp;#039;: Used to modify a player&amp;#039;s income.  Income is defined as the number of armies the player receives in a turn (or gold in a &lt;a href=&quot;/wiki/Commerce&quot; title=&quot;Commerce&quot;&gt;commerce&lt;/a&gt; game).  * &amp;#039;&amp;#039;&amp;#039;Message&amp;#039;&amp;#039;&amp;#039; ...&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;IncomeMod&amp;#039;&amp;#039;&amp;#039;: Used to modify a player&amp;#039;s income.  Income is defined as the number of armies the player receives in a turn (or gold in a [[commerce]] game).&lt;br /&gt;
&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;:  The message displayed to the player whose income is modified.  This will be displayed in the Income Breakdown Dialog.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Mod&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;:  The number of armies (or gold) to add, or subtract if negative.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;PlayerID&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:PlayerID|PlayerID]]&amp;#039;&amp;#039;:  The ID of the player whose income is being modified.  This must be an ID of a player in the current game.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;BonusID&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:Nullable|Nullable]]&amp;lt;[[Mod API Reference:BonusID|BonusID]]&amp;gt;&amp;#039;&amp;#039;:  Optionally, a bonus ID. If specified, these armies/gold can only be only deployed within a single bonus, like in a Local Deployment game. Or if Mod is negative, this will reduce armies that were required to be deployed to this bonus.&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;WL.IncomeMod.Create&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;&amp;#039;pid&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:PlayerID|PlayerID]]&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;mod&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;msg&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;string&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;bonusIDOpt&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:Nullable|Nullable]]&amp;lt;[[Mod API Reference:BonusID|BonusID]]&amp;gt;&amp;#039;&amp;#039;) (static) returns [[Mod API Reference:IncomeMod|IncomeMod]]:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Mod API Reference]]&lt;/div&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
</feed>