<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.escapetomars.dev:443/index.php?action=history&amp;feed=atom&amp;title=UserCommands</id>
	<title>UserCommands - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.escapetomars.dev:443/index.php?action=history&amp;feed=atom&amp;title=UserCommands"/>
	<link rel="alternate" type="text/html" href="https://wiki.escapetomars.dev:443/index.php?title=UserCommands&amp;action=history"/>
	<updated>2026-10-17T00:22:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.escapetomars.dev:443/index.php?title=UserCommands&amp;diff=210&amp;oldid=prev</id>
		<title>Kademlia: Created page with &quot;General rules to support a large amount of config settings via commands  # We should not support everything with user.getXYZ() -&gt; value. We generate way to many methods # We s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.escapetomars.dev:443/index.php?title=UserCommands&amp;diff=210&amp;oldid=prev"/>
		<updated>2020-03-23T22:42:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;General rules to support a large amount of config settings via commands  # We should not support everything with user.getXYZ() -&amp;gt; value. We generate way to many methods # We s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;General rules to support a large amount of config settings via commands&lt;br /&gt;
&lt;br /&gt;
# We should not support everything with user.getXYZ() -&amp;gt; value. We generate way to many methods&lt;br /&gt;
# We should not create a private variable for every setting. This take to much effort to maintain and results in large jsons even with every setting set to the default&lt;br /&gt;
# We cannot use Map&amp;lt;String, Setting&amp;gt; as it would be too slow. We need near direct access.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Current System:&lt;br /&gt;
&lt;br /&gt;
# Enum-Id based cache array for each user allows direct access&lt;br /&gt;
# Enum allows (often times) safe access / casting is limited to internal&lt;br /&gt;
# Hundreds of options will still work the same&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Open:&lt;br /&gt;
&lt;br /&gt;
We need good rules to check values against. These should be reused. We need them in ChangeUserSettingOptionAction at least for chat infos on errors&lt;br /&gt;
&lt;br /&gt;
How do we integrate permissions for each value?&lt;/div&gt;</summary>
		<author><name>Kademlia</name></author>
	</entry>
</feed>