Skip to content
/SLASHPLAY

How to reset a player's password in Project Zomboid

Type setpassword "username" "newpassword" in the Console tab, then give the player the new password.

setpassword

Changes the password of a player's account on the server.

/setpassword "<username>" "<newpassword>"

Examples

setpassword "rj" "newpass123"

Sets a new password for rj.

Arguments

usernameRequired
The player's username.
newpasswordRequired
The new password for that account.

What it does

Use it when a player forgot the password they picked the first time they joined.

Good to know

  • Type it in the **Console** tab without the slash, or in game chat with the slash from an admin account.
  • This is the account password each player picks on your server, not the join password.

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.