<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kaboom.wiki/index.php?action=history&amp;feed=atom&amp;title=User%3AOpt%2FDrafts%2FFiltering</id>
	<title>User:Opt/Drafts/Filtering - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kaboom.wiki/index.php?action=history&amp;feed=atom&amp;title=User%3AOpt%2FDrafts%2FFiltering"/>
	<link rel="alternate" type="text/html" href="https://kaboom.wiki/index.php?title=User:Opt/Drafts/Filtering&amp;action=history"/>
	<updated>2026-08-04T05:18:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://kaboom.wiki/index.php?title=User:Opt/Drafts/Filtering&amp;diff=4561&amp;oldid=prev</id>
		<title>Opt: Opt moved page User:Filtering to User:Opt/Drafts/Filtering without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://kaboom.wiki/index.php?title=User:Opt/Drafts/Filtering&amp;diff=4561&amp;oldid=prev"/>
		<updated>2026-08-04T03:02:32Z</updated>

		<summary type="html">&lt;p&gt;Opt moved page &lt;a href=&quot;/index.php?title=User:Filtering&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Filtering (page does not exist)&quot;&gt;User:Filtering&lt;/a&gt; to &lt;a href=&quot;/wiki/User:Opt/Drafts/Filtering&quot; title=&quot;User:Opt/Drafts/Filtering&quot;&gt;User:Opt/Drafts/Filtering&lt;/a&gt; without leaving a redirect&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 03:02, 4 August 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key kaboomwikia:diff:1.41:old-4558:rev-4561 --&gt;
&lt;/table&gt;</summary>
		<author><name>Opt</name></author>
	</entry>
	<entry>
		<id>https://kaboom.wiki/index.php?title=User:Opt/Drafts/Filtering&amp;diff=4558&amp;oldid=prev</id>
		<title>Opt: Opt moved page User:Opt/Drafts/Filtering to User:Filtering: I think it&#039;s ready</title>
		<link rel="alternate" type="text/html" href="https://kaboom.wiki/index.php?title=User:Opt/Drafts/Filtering&amp;diff=4558&amp;oldid=prev"/>
		<updated>2026-08-04T03:01:12Z</updated>

		<summary type="html">&lt;p&gt;Opt moved page &lt;a href=&quot;/wiki/User:Opt/Drafts/Filtering&quot; title=&quot;User:Opt/Drafts/Filtering&quot;&gt;User:Opt/Drafts/Filtering&lt;/a&gt; to &lt;a href=&quot;/index.php?title=User:Filtering&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Filtering (page does not exist)&quot;&gt;User:Filtering&lt;/a&gt;: I think it&amp;#039;s ready&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 03:01, 4 August 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key kaboomwikia:diff:1.41:old-4557:rev-4558 --&gt;
&lt;/table&gt;</summary>
		<author><name>Opt</name></author>
	</entry>
	<entry>
		<id>https://kaboom.wiki/index.php?title=User:Opt/Drafts/Filtering&amp;diff=4557&amp;oldid=prev</id>
		<title>Opt: Move introduction paragraph in Rules section to the main section</title>
		<link rel="alternate" type="text/html" href="https://kaboom.wiki/index.php?title=User:Opt/Drafts/Filtering&amp;diff=4557&amp;oldid=prev"/>
		<updated>2026-08-04T03:00:53Z</updated>

		<summary type="html">&lt;p&gt;Move introduction paragraph in Rules section to the main section&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 03:00, 4 August 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-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&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;Depending on the enabled enforcement types and implementation quality, filter activation can result in server lag and as such it is recommended to use efficient [[Kick exploits|kick exploit]] where possible or no kick exploits at all, especially when filtering spambots.&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;Depending on the enabled enforcement types and implementation quality, filter activation can result in server lag and as such it is recommended to use efficient [[Kick exploits|kick exploit]] where possible or no kick exploits at all, especially when filtering spambots.&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;Filtering is extremely useful when the server is spambotted and the spambots contain predictable characteristics which can be expressed in one or more rule type.&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;=Rules=&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;=Rules=&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Rules can be extremely useful when the server is spambotted and the spambots contain predictable characteristics which can be expressed in one or more rule type.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;Filtering based on arbitrary strings, like chat messages or commands, is commonly implemented via versatile [[Wikipedia:Regular expression|regular expressions]].&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;Filtering based on arbitrary strings, like chat messages or commands, is commonly implemented via versatile [[Wikipedia:Regular expression|regular expressions]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Opt</name></author>
	</entry>
	<entry>
		<id>https://kaboom.wiki/index.php?title=User:Opt/Drafts/Filtering&amp;diff=4464&amp;oldid=prev</id>
		<title>Opt: Create draft</title>
		<link rel="alternate" type="text/html" href="https://kaboom.wiki/index.php?title=User:Opt/Drafts/Filtering&amp;diff=4464&amp;oldid=prev"/>
		<updated>2026-08-04T00:25:51Z</updated>

		<summary type="html">&lt;p&gt;Create draft&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;Filtering&amp;#039;&amp;#039;&amp;#039; is the act of automatically restricting a player&amp;#039;s access to the server based on rules. For example, one may decide to create a [[Wikipedia:IP_address|IP address]] filter rule to restrict a player, even if they were to change their username.&lt;br /&gt;
&lt;br /&gt;
Depending on the enabled enforcement types and implementation quality, filter activation can result in server lag and as such it is recommended to use efficient [[Kick exploits|kick exploit]] where possible or no kick exploits at all, especially when filtering spambots.&lt;br /&gt;
&lt;br /&gt;
=Rules=&lt;br /&gt;
&lt;br /&gt;
Rules can be extremely useful when the server is spambotted and the spambots contain predictable characteristics which can be expressed in one or more rule type.&lt;br /&gt;
&lt;br /&gt;
Filtering based on arbitrary strings, like chat messages or commands, is commonly implemented via versatile [[Wikipedia:Regular expression|regular expressions]].&lt;br /&gt;
&lt;br /&gt;
==IP address==&lt;br /&gt;
&lt;br /&gt;
IP address rules are commonly used in lieu of exact username filters as evasion requires the use of [[Wikipedia:Proxy_server|proxies]] (often provided by VPN services).&lt;br /&gt;
&lt;br /&gt;
Due to most clones using [[IP masking]], it is impossible to filter [[Wikipedia:Subnet|subnets]] or [[Wikipedia:Autonomous system (Internet)|ASNs]] as one would expect from a [[Wikipedia:Firewall_(computing)|firewall]]. &lt;br /&gt;
&lt;br /&gt;
==Usernames==&lt;br /&gt;
&lt;br /&gt;
Username filter rules are often the first to be implemented when a bot or client developer is implementing a filter system. Due to most Kaboom clones being offline mode, it is also the easiest to bypass as players can just join under a different username.&lt;br /&gt;
&lt;br /&gt;
However, in combination with regular expressions, username filters can be used to mitigate spambots that use fixed username lengths or a predictable username format. Luckily, most easily available or paid spambot services use a predictable username format, so this remains one of the most important filter types to implement.&lt;br /&gt;
&lt;br /&gt;
==Commands==&lt;br /&gt;
&lt;br /&gt;
Command rules can be effective to combat general command abuse as well as spambots which spam a certain command. For example, command rules have been used in the past to filter [[Skynet#Mountains of Lava Inc.|Skynet]].&lt;br /&gt;
&lt;br /&gt;
In the past, bots like [[mewo]] have filtered [[iControlU]] command invocations in an attempt to prevent itself from being [[iControlU#Locking|locked]]. Large scope blocks are discouraged unless you have a very good reason, as they have a noticeable impact on the [[Kaboom]] experience.&lt;br /&gt;
&lt;br /&gt;
==Chat messages==&lt;br /&gt;
&lt;br /&gt;
Chat message rules are also effective during spambot attacks, and have been used in the past to implement general content filters instead of just mitigating spambot attempts. For example, [[KCB]] would clear the chat if it detected a Discord invite in chat. Other bots have filtered chat messages for things like swear words or slurs in the past.&lt;br /&gt;
&lt;br /&gt;
=Enforcement=&lt;br /&gt;
&lt;br /&gt;
Enforcement of filter rules is often achieved by repeatedly [https://minecraft.wiki/w/Commands/deop deopping] players, changing their [https://minecraft.wiki/w/Game_mode gamemode] to something that isn&amp;#039;t [https://minecraft.wiki/w/Creative creative], and [https://minecraft.wiki/w/Commands/clear clearing] their inventories.&lt;br /&gt;
&lt;br /&gt;
==Implementation details==&lt;br /&gt;
&lt;br /&gt;
In the interest of server performance and bandwidth usage, it is recommended that extensive use of [https://minecraft.wiki/w/Target%20selectors target selector] predicates are made (with the exception of the NBT predicate as that requires exporting the entity to NBT which is an expensive operation). &lt;br /&gt;
&lt;br /&gt;
For example, filtered players should be added to [https://minecraft.wiki/w/Scoreboard teams] and selected via &amp;lt;code&amp;gt;@a[team=example]&amp;lt;/code&amp;gt;.&lt;br /&gt;
Furthermore, team names should be randomized, players should be added and removed from them based on the [https://minecraft.wiki/w/Java_Edition_protocol/Packets#Update_Teams Update Teams packet]. It&amp;#039;s also a good idea to change the name of the team if it is removed, to prevent easy filter bypass.&lt;/div&gt;</summary>
		<author><name>Opt</name></author>
	</entry>
</feed>