> For the complete documentation index, see [llms.txt](https://docs.voicestats.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.voicestats.xyz/general/commands/admin-commands.md).

# Admin Commands

### Reset Statistics Commands

These commands allow you to permanently reset the voice statistics of a specific user or the entire server. Please use these commands with caution.

| Command               | Description                                 | Usage                      | Example Usage                  |
| --------------------- | ------------------------------------------- | -------------------------- | ------------------------------ |
| `/reset user stats`   | Reset a user's statistics.                  | `/reset user stats [user]` | `/reset user stats user:@sytx` |
| `/reset server stats` | Resets the voice statistics in this server. | `/reset server stats`      | `/reset server stats`          |

### Export Command

Converts the server's voice ranking data into an Excel (.csv) file so you can download and analyze it.

| Command                    | Description                              | Usage                            | Example Usage                     |
| -------------------------- | ---------------------------------------- | -------------------------------- | --------------------------------- |
| 💎 `/export voice ranking` | Export the voice ranking as a .csv file. | `/export voice ranking [period]` | `/export voice ranking period:30` |

### Channel Filters

Used to exclude specific voice channels from statistical calculations. Time spent in filtered channels is not reflected in user data.

| Command                   | Description                              | Usage                               | Example Usage                                |
| ------------------------- | ---------------------------------------- | ----------------------------------- | -------------------------------------------- |
| `/filter channels add`    | Adds a voice channel to the filter.      | `/filter channels add [channel]`    | `/filter channels add channel:#"General"`    |
| `/filter channels remove` | Removes a voice channel from the filter. | `/filter channels remove [channel]` | `/filter channels remove channel:#"General"` |

### Member Filters

Prevents the recording of voice statistics for specific server members. Data from members on the filter list is not processed in any channel.

| Command                  | Description                       | Usage                           | Example Usage                       |
| ------------------------ | --------------------------------- | ------------------------------- | ----------------------------------- |
| `/filter members add`    | Adds a member to the filter.      | `/filter members add [user]`    | `/filter members add user:@sytx`    |
| `/filter members remove` | Removes a member from the filter. | `/filter members remove [user]` | `/filter members remove user:@sytx` |

{% hint style="info" %}
Filter operations can also be performed via the [Dashboard](https://voicestats.xyz/).
{% endhint %}

{% hint style="info" %}
**💎 Note:** Commands with a diamond emoji next to them are exclusive to Premium servers.
{% endhint %}
