# Entities

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

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

<table data-full-width="true"><thead><tr><th>Type</th><th width="232">Command</th><th width="167">Input</th><th width="456">Description</th><th>Default</th></tr></thead><tbody><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">ai.killanimals</mark></td><td><code>none</code></td><td>Kills all animals on the server. No arguments.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">ai.killscientists</mark></td><td><code>none</code></td><td>Kills all scientists on the server. No arguments.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">attackentity.print_ai_stats</mark></td><td><code>none</code></td><td>Prints the following stats to the console:<br>- AI Difficulty<br>- Effective Range Scale<br>- Damage Scale<br>- Attack Length Scale<br>- Aim Cone Scale<br>- Attack Spacing Scale<br>- Attack Cooldown Scale</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">entity.deleteentity</mark></td><td><code>"entity name"</code></td><td>Deletes the chosen “entity” and “checks if it has an owner"</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">entity.find_entity</mark></td><td><code>"entity name"</code></td><td>Prints a list of all “items/animals/objects”, etc. and their IDs &#x26; locations to the console log.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">entity.find_group</mark></td><td><code>"group ID"</code></td><td>Prints a list of all objects in a specified “group” and their IDs &#x26; locations to the console log.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">entity.find_id</mark></td><td><code>"entity name"</code></td><td>Finds an object based on its “ID”. You can find the ID from using find_entity.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">entity.find_parent</mark></td><td><code>"entity ID"</code></td><td>Finds an object’s parent, based on its “ID”.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">entity.find_self</mark></td><td><code>none</code></td><td>Finds information about the player who entered this command.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>🎮</strong></h3></td><td><mark style="color:orange;">entity.spawn</mark></td><td><code>"object name"</code></td><td>Spawns an “object” where you’re looking.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:orange;">entity.spawnatpos</mark></td><td><code>"object name"</code></td><td>Spawns an “object” at the specified (coordinates).</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟🎮</strong></h3></td><td><mark style="color:orange;">global.ent</mark></td><td><code>multiple →</code></td><td>Runs the following commands:<br>- <code>ent Kill</code> <br>Destroys the object you’re looking at<br>- <code>ent DestroyBuilding</code> <br>Destroys the current building you’re looking at<br>- <code>ent Lock</code> <br>Locks the current lock you’re looking at<br>- <code>ent Unlock</code> <br>Unlocks the current lock you’re looking at<br>- <code>ent Who</code><br>Gives you and ID of the owner of the object you’re looking at<br>- <code>ent ChangeCode “XXXX”</code><br>Changes the code of the Code Lock you’re looking at, to your chosen code<br>- <code>ent ChangeGuestCode “XXXX”</code><br>Changes the guest code of the Code Lock you’re looking at, to your chosen code</td><td><code>N/A</code></td></tr><tr><td><h3><strong>🎮</strong></h3></td><td><mark style="color:orange;">heli.calltome</mark></td><td><code>none</code></td><td>Calls the Attack Helicopter to patrol the area around the player who entered the command.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>🎮</strong></h3></td><td><mark style="color:orange;">heli.drop</mark></td><td><code>none</code></td><td>Spawns an Attack Helicopter at your current location.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>🎮</strong></h3></td><td><mark style="color:orange;">heli.dropatplayer</mark></td><td><code>"player ID"</code></td><td>Spawn an Attack Helicopter at a specified “player”’s location.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>🎮</strong></h3></td><td><mark style="color:orange;">rf.spawnfakeboardcaster</mark></td><td><code>"frequency" "range" (x,y,z)</code></td><td>Spawns a fake RF broadcaster</td><td><code>N/A</code></td></tr><tr><td><h3><strong>🎮</strong></h3></td><td><mark style="color:orange;">rf.removefakeboardcaster</mark></td><td><code>"number"</code></td><td>Removes a fake broadcaster</td><td><code>N/A</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/utility/entities.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.
