Want to keep your 7 Days to Die server private so only your friends can join? Setting a server password is the quickest way to lock the door. Anyone who tries to connect will be asked for the password before they can enter, whether they find your server in the browser or connect directly by IP.
The whole process takes about two minutes and only requires changing one line in your server's configuration file. Let's get it done!
Always make sure your server is completely stopped on your MintServers panel before editing any files. Changes made while the server is running can be overwritten when it shuts down!
Step 1: Open Your serverconfig.xml File
Every core setting for your 7 Days to Die server lives in a single file called serverconfig.xml, and the password is no exception.
serverconfig.xml in your server's main directory:📁 server (your main server directory)
serverconfig.xml to open it in the text editor.
Step 2: Set Your Password
Near the top of the file, in the general server settings section, look for the ServerPassword property. By default, the value is empty, which means anyone can join.
<property name="ServerPassword" value=""/>value field. It should look like this:Keep the password simple enough for your friends to type but avoid anything you use elsewhere. Steer clear of quotation marks and angle brackets (
", <, >) inside the password, as these are special characters in XML and can break the file.
If you have read about the V3.0 "Dead Hot Summer" update moving many gameplay settings into the new
SandboxCode system, don't worry. ServerPassword was not affected and is still its own line in serverconfig.xml, exactly as shown above.
Step 3: Joining a Password-Protected Server
Once the server is back online, the password takes effect immediately. Here is what your players will experience:
Removing the Password
If you later decide to open your server back up to the public, just reverse the change.
serverconfig.xml in the Files tab, and delete the password so the line reads value="" again.🛠️ Troubleshooting Password Issues
No password prompt appears
The server is likely still running the old config. Make sure you fully stopped the server before editing, saved the file, and then restarted it.
Correct password is rejected
Passwords are case-sensitive, and a stray space before or after the password inside the quotes counts as part of it. Re-open the file and check the value character by character.
Server won't start after the edit
A special character like a quotation mark inside the password can break the XML formatting. Change the password to plain letters and numbers and try again.
You want extra privacy
You can also hide your server from the public list entirely by setting ServerVisibility to 0 in the same file. Players will then only be able to join via your direct IP and password.
That's all there is to it! Your server is now locked down and only players with the password can get in.
Still stuck?
Our team is happy to help. Open a ticket through the live chat button in the bottom-right corner of our website.