Project Zomboid / Admin commands / /setaccesslevel
/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"
From the game files: Project Zomboid Build 42.22. Commands, roles and sandbox options read from projectzomboid.jar and the game's Lua.
- 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" adminrj gets every command/setaccesslevel "rj" moderatormoderator/setaccesslevel "rj" userback 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
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.
More commands like this one
/adduser /addsteamid /removesteamid /grantadmin /removeadmin /kickuser /banuser /banid /banip /unbanuser /unbanid /unbanip /removeuserfromwhitelist /voiceban /players /setpassword /removemapsymbolsforuser