<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.play.eco/en/index.php?action=history&amp;feed=atom&amp;title=Creating_UIs_for_Mods</id>
	<title>Creating UIs for Mods - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.play.eco/en/index.php?action=history&amp;feed=atom&amp;title=Creating_UIs_for_Mods"/>
	<link rel="alternate" type="text/html" href="https://wiki.play.eco/en/index.php?title=Creating_UIs_for_Mods&amp;action=history"/>
	<updated>2026-06-04T02:32:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.play.eco/en/index.php?title=Creating_UIs_for_Mods&amp;diff=16595&amp;oldid=prev</id>
		<title>StalEF at 17:58, 1 April 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.play.eco/en/index.php?title=Creating_UIs_for_Mods&amp;diff=16595&amp;oldid=prev"/>
		<updated>2026-04-01T17:58:01Z</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 19:58, 1 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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{ModdingOutdated}}&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; &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;With 8.0 (and currently in Master) you will have the ability to define new components with UI for them directly on the server.  For reference, check out the TollComponent in the mods folder, this is a component that is entirely made on the server, and has UI that the user can use from the client.&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;With 8.0 (and currently in Master) you will have the ability to define new components with UI for them directly on the server.  For reference, check out the TollComponent in the mods folder, this is a component that is entirely made on the server, and has UI that the user can use from the client.&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>StalEF</name></author>
	</entry>
	<entry>
		<id>https://wiki.play.eco/en/index.php?title=Creating_UIs_for_Mods&amp;diff=7545&amp;oldid=prev</id>
		<title>Redwyre: Created page with &quot;{{ModdingOutdated}} With 8.0 (and currently in Master) you will have the ability to define new components with UI for them directly on the server.  For reference, check out th...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.play.eco/en/index.php?title=Creating_UIs_for_Mods&amp;diff=7545&amp;oldid=prev"/>
		<updated>2021-07-04T16:05:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{ModdingOutdated}} With 8.0 (and currently in Master) you will have the ability to define new components with UI for them directly on the server.  For reference, check out th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ModdingOutdated}}&lt;br /&gt;
With 8.0 (and currently in Master) you will have the ability to define new components with UI for them directly on the server.  For reference, check out the TollComponent in the mods folder, this is a component that is entirely made on the server, and has UI that the user can use from the client.&lt;br /&gt;
&lt;br /&gt;
This is accomplished using tags applied to members in the component.  Options at time of this writing are:&lt;br /&gt;
* AutogenAttribute. Tells the client that UIs should be created for this member. &lt;br /&gt;
* OwnerEditableAttribute. This parameter will be editable by the owner of the object.&lt;br /&gt;
* OwnerHiddenAttribute. Hidden to the owner&lt;br /&gt;
* GuestEditableAttribute. Editable by guests&lt;br /&gt;
* GuestHiddenAttribute. Hidden to guests.&lt;br /&gt;
* NegativeAllowedAttribute.  If the parameter is a number, this will allow negatives to be specified.&lt;br /&gt;
* RangeAttribute. Determines the range of allowed values for number parameters. &lt;br /&gt;
* ActiveContractOnlyAttribute. For new contract clauses, makes the parameter only visible if its an active contract.&lt;br /&gt;
* AutoRPC. Allows the parameter to be changed by the client at all.&lt;br /&gt;
&lt;br /&gt;
And for classes:&lt;br /&gt;
* AutogenClass. Dictates that the class will have generated UI&lt;br /&gt;
* AutogenName. Dictates a friendly name for displaying the class name on the client.&lt;br /&gt;
&lt;br /&gt;
Note that RPC functions (like PayToll on the TollComponent) can also have AutoGenned UI, and a button will be created for them.  &lt;br /&gt;
&lt;br /&gt;
Only certain parameter types are supported to have generated UI.  They are:&lt;br /&gt;
- Float&lt;br /&gt;
- Currency&lt;br /&gt;
- Range (specify a min/max int)&lt;br /&gt;
- Void (for RPCs that return void, creates a button)&lt;br /&gt;
&lt;br /&gt;
More will be added over time, especially for choosing other objects/players.&lt;br /&gt;
{{Category: Modding}}&lt;/div&gt;</summary>
		<author><name>Redwyre</name></author>
	</entry>
</feed>