As an admin, you have full control over your Project Zomboid game server: You can kick or ban players, send messages to everyone, save the world, and use many other admin commands directly in-game. In this guide, we'll show you how to grant admin rights to your player account via the console in the dashboard.
To grant permissions, you'll need the username you use to log in to your server. You'll enter this name and a password when connecting to the server. Make sure to enter the commands below exactly as shown, including capitalization and spaces.
The username admin is already taken on your server: When the server starts for the first time, it automatically creates an internal admin account with this name. So, connect using your own username and grant that account admin rights as described below.
- Start your server.
- In your game server dashboard, open the Console tab.
- Enter the following command, replacing
DeinNamewith your username:
grantadmin "DeinName"
- Submit the command. This account now has admin rights.
In the server console, enter commands without a slash. In-game, use the same commands with a slash in front, for example /grantadmin "DeinName".
Use setaccesslevel to set a player's permission level. For example, you can give another player moderator rights only:
setaccesslevel "Spielername" "moderator"
To grant full admin rights, use "admin" as the level.
Once you're an admin, press the T key in-game to open the chat, then enter commands with a slash in front. Here are some commonly used commands:
| Command | Description |
|---|---|
/help | Shows all available commands; /help Befehl shows help for a specific command |
/players | Shows the connected players |
/servermsg "Nachricht" | Sends a message to all connected players |
/save | Saves the current world |
/banuser "Spielername" | Bans a player |
/unbanuser "Spielername" | Unbans a player |
/setaccesslevel "Spielername" "moderator" | Sets a player's permission level |
If you want to manage your server remotely without being connected in-game, see our guide Project Zomboid: RCON. To learn how to control who can access your server, see Project Zomboid: Whitelist.