# Banning

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

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

<table data-full-width="true"><thead><tr><th width="87.6666259765625">Type</th><th width="286">Command</th><th width="190">Input</th><th width="440">Description</th><th>Default</th></tr></thead><tbody><tr><td><h3><strong>📟💥</strong></h3></td><td><mark style="color:orange;">baseplayer.reportactiveplayers</mark></td><td><code>“0/1”</code></td><td>Toggles the server reporting function for active players, providing a list of active players every 60 seconds.</td><td><code>0</code></td></tr><tr><td><h3><strong>📟💥</strong></h3></td><td><mark style="color:orange;">baseplayer.reportplayersseconds</mark></td><td><code>“number”</code></td><td>Defines the amount of seconds per report cycle.</td><td><code>60</code></td></tr><tr><td><h3><strong>📟💥</strong></h3></td><td><mark style="color:orange;">baseplayer.reportsleepingplayers</mark></td><td><code>“0/1”</code></td><td>Toggles the server reporting function for sleeping players, providing a list of active players every 60 seconds.</td><td><code>0</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">global.banid</mark></td><td><code>"ID" "reason" "time"</code>  </td><td>Bans the specified “user” from the current server indefinitely.<br><br>Adding a reason will display that reason in the logs.<br><br>Adding a time will ban the player for that amount of time, measured in seconds.<br><br>Example:<br><code>banid "2stageFright" "2stageFright for: writing bad wiki pages" "600"</code><br><br>Would ban user "2StageFright" for writing bad wiki pages, and the ban would last 10  minutes,</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">global.banlist</mark></td><td><code>none</code></td><td>Prints a list of all banned players to the console.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">global.banlistex</mark></td><td><code>none</code></td><td>Prints a list of all banned players to the console, with ban notes.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:orange;">global.unban</mark></td><td><code>"ID"</code></td><td>Un-bans the specified “user” from the current server.</td><td><code>N/A</code></td></tr></tbody></table>

## <mark style="color:blue;">Server Moderator</mark>

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

<table data-full-width="true"><thead><tr><th width="95">Type</th><th width="201">Command</th><th width="86">Input</th><th width="554">Description</th><th>Default</th></tr></thead><tbody><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:blue;">global.mutechat</mark></td><td><code>"ID"</code></td><td>Disables Quick Chat features for a target “Gamertag/PSN ID”</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:blue;">global.mutevoice</mark></td><td><code>"ID"</code></td><td>Disables Voice Chat features for a target “Gamertag/PSN ID”</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:blue;">global.removewarns</mark></td><td><code>"ID"</code></td><td>Removes any active warnings from the target player.</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:blue;">global.unmutechat</mark></td><td><code>"ID"</code></td><td>Re-enables Quick Chat features for a target “Gamertag/PSN ID”</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:blue;">global.unmutevoice</mark></td><td><code>"ID"</code></td><td>Re-enables Voice Chat features for a target “Gamertag/PSN ID”</td><td><code>N/A</code></td></tr><tr><td><h3><strong>📟</strong></h3></td><td><mark style="color:blue;">global.warnid</mark></td><td><code>"ID"</code></td><td>Sends a warning to the target player, using their PSN ID or GamerTag</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/moderation/banning.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.
