# /voiceban

Mutes a player's voice chat. The game's help: Block voice from user "username". Use /voiceban "username" -value. Example /voiceban "rj" -true (could be -false)

Source page: https://zomboiddb.com/commands/voiceban/

Command

`/voiceban`

Who can use it

moderator and above

Capability

`BanUnbanUser`

Single player

No, it needs a server

## What you type

`/voiceban "username" [-true|-false]`

`/voiceban [-true|-false]`

## Examples

- `/voiceban "rj"`

rj is the name the game's own help uses. Put your player's name in its place.

## What the game answers

- User ... voice is banned.
- User ... voice is unbanned.
- User ... not found.

## Which access levels can use it

| Capability | banned | user | priority | observer | gm | moderator | admin |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `BanUnbanUser` | | | | | | yes | yes |

These are the roles the game makes for a new server. An admin can change them in the admin panel. [What each level may do](https://zomboiddb.com/access-levels/).

## More commands like this one

[/adduser](https://zomboiddb.com/commands/adduser/) [/addsteamid](https://zomboiddb.com/commands/addsteamid/) [/removesteamid](https://zomboiddb.com/commands/removesteamid/) [/grantadmin](https://zomboiddb.com/commands/grantadmin/) [/removeadmin](https://zomboiddb.com/commands/removeadmin/) [/kickuser](https://zomboiddb.com/commands/kickuser/) [/banuser](https://zomboiddb.com/commands/banuser/) [/banid](https://zomboiddb.com/commands/banid/) [/banip](https://zomboiddb.com/commands/banip/) [/unbanuser](https://zomboiddb.com/commands/unbanuser/) [/unbanid](https://zomboiddb.com/commands/unbanid/) [/unbanip](https://zomboiddb.com/commands/unbanip/) [/removeuserfromwhitelist](https://zomboiddb.com/commands/removeuserfromwhitelist/) [/players](https://zomboiddb.com/commands/players/) [/setaccesslevel](https://zomboiddb.com/commands/setaccesslevel/) [/setpassword](https://zomboiddb.com/commands/setpassword/) [/removemapsymbolsforuser](https://zomboiddb.com/commands/removemapsymbolsforuser/)
