How to make yourself admin on a Project Zomboid server
Join the server once so your account exists, then type setaccesslevel YourName admin in the server page's Console tab.
setaccesslevel
Gives a player a role on the server: admin, moderator, overseer, gm or observer, or none to take it away.
/setaccesslevel "<username>" <accesslevel> Examples
setaccesslevel YourName admin Makes you an admin, from the Console tab.
/setaccesslevel "rj" "moderator" Makes rj a moderator, in game chat.
Arguments
usernameRequired- The player's username on this server.
accesslevelRequiredadmin,moderator,overseer,gm,observer, ornoneto remove the role.
What it does
This is how you make someone an admin or a moderator. The player's account must exist, so they have to have joined the server once.
Good to know
- Type it in the **Console** tab without the slash, or in game chat with the slash from an admin account.
- On SLASHPLAY this is how you make yourself the first admin: join once, then run it from the Console tab.
Run it on your server
Admin commands go in the Console tab of the server page without the slash (players), or in game chat with it (/players) from an admin account. Settings live in Zomboid/Server/main.ini and main_SandboxVars.lua on the Files tab and apply at the next start. New to this? Start a Project Zomboid server first.
Your own
Project Zomboid server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.