# AntiHack

## <mark style="color:red;">Server Owner</mark>

The table below contains a list of **AntiHack Commands** available for <mark style="color:red;">**Server Owners**</mark>.

<table data-full-width="true"><thead><tr><th>Type</th><th width="312">Command</th><th width="123">Input</th><th width="415">Description</th><th>Default</th></tr></thead><tbody><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:red;">antihack.admincheat</mark></td><td><code>"0/1"</code></td><td>Defines whether the AntiHack ignores noclip when used by Admins.</td><td><code>1</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:red;">antihack.build_losradius</mark></td><td><code>"number"</code></td><td>Radius to check for deployables (Except sleeping bags/beds) when clipping into rocks/geometry.</td><td><code>0.01</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:red;">antihack.build_losradius_sleepingbag</mark></td><td><code>"number"</code></td><td>Radius to check for sleeping bags/beds when clipping into rocks/geometry.</td><td><code>0.3</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:red;">antihack.build_terraincheck</mark></td><td><code>"0/1"</code></td><td>Toggles checking for terrain when placing deployables.</td><td><code>1</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:red;">antihack.enforcementlevel</mark></td><td><code>"number"</code></td><td>Toggles enforcement level for AntiHack violations.<br>0 = No enforcement<br>1 = Kick on violation</td><td><code>1</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:red;">antihack.flyhack_protection</mark></td><td><code>"number"</code></td><td>Level of protection against flying players.<br>0 = disabled<br>1 = client<br>2 = capsule<br>3 = curve</td><td><code>3</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:red;">antihack.melee_protection</mark></td><td><code>"number"</code></td><td>Level of protection to verify melee attacks.<br>0 = disabled<br>1 = initiator<br>2 = initiator + target<br>3 = initiator + target + LOS<br>4 = initiator + target + LOS + tickhistory</td><td><code>4</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:red;">antihack.noclip_protection</mark></td><td><code>"number"</code></td><td>Level of protection against players clipping through objects.<br>0 = disabled<br>1 = ray<br>2 = sphere<br>3 = curve<br>4 = curve + alternative path</td><td><code>4</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:red;">antihack.projectile_protection</mark></td><td><code>"number"</code></td><td>Level of protection to verify fired projectiles<br>0 = disabled<br>1 = speed<br>2 = speed + entity<br>3 = speed + entity + LOS<br>4 = speed + entity + LOS + trajectory<br>5 = speed + entity + LOS + trajectory + update<br>6 = speed + entity + LOS + trajectory + tickhistory</td><td><code>6</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:red;">antihack.speedhack_protection</mark></td><td><code>"number"</code></td><td>Level of protection against players moving too quickly.<br>0 = disabled<br>1 = simple<br>2 = advanced</td><td><code>0</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:red;">antihack.terrain_check_geometry</mark></td><td><code>"0/1"</code></td><td>Toggles whether the player should be killed when inside world geometry. Occasionally has false positives inside certain monuments.</td><td><code>0</code></td></tr></tbody></table>

## <mark style="color:orange;">Server Admin</mark>

The table below contains a list of **AntiHack Commands** available for <mark style="color:orange;">**Server Admins**</mark> and above.

<table data-full-width="true"><thead><tr><th>Type</th><th width="245">Command</th><th width="123">Input</th><th width="479">Description</th><th>Default</th></tr></thead><tbody><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">antihack.build_inside_check</mark></td><td><code>"number"</code></td><td><p>Level of checking for placing in world assets such as Rocks, Icebergs and Foundations</p><p>0 = Off</p><p>1 = Anti-Hack Violations</p><p>2 = Can't Place</p></td><td><code>2</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">server.d11oobcheck</mark></td><td><code>"0/1"</code></td><td>Toggles the killbox under the map.</td><td><code>1</code></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rust-console-edition.gitbook.io/community-servers/commands/moderation/antihack.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
