# /setaccesslevel

Sets a player's access level (role). The game's help: Set access level of a player. Current levels: Admin, Moderator, Overseer, GM, Observer. Use /setaccesslevel "username" "accesslevel". Example /setaccesslevel "rj" "moderator"

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

Command

`/setaccesslevel`

Who can use it

moderator and above

Capability

`ChangeAccessLevel`

Single player

No, it needs a server

## What you type

`/setaccesslevel "username" accesslevel`

The levels are `admin`, `moderator`, `gm`, `observer`, `priority`, `user` and `banned`, in lower case.

## Examples

- `/setaccesslevel "rj" admin` rj gets every command
- `/setaccesslevel "rj" moderator` moderator
- `/setaccesslevel "rj" user` back to a plain player

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

[Build this line with your own values](https://zomboiddb.com/commands/?cmd=setaccesslevel#builder)

## Which access levels can use it

| Capability | banned | user | priority | observer | gm | moderator | admin |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `ChangeAccessLevel` | | | | | | 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/) [/voiceban](https://zomboiddb.com/commands/voiceban/) [/players](https://zomboiddb.com/commands/players/) [/setpassword](https://zomboiddb.com/commands/setpassword/) [/removemapsymbolsforuser](https://zomboiddb.com/commands/removemapsymbolsforuser/)
