{"id":1627,"date":"2022-02-24T11:22:09","date_gmt":"2022-02-24T11:22:09","guid":{"rendered":"https:\/\/xgamingserver.com\/blog\/?p=1627"},"modified":"2026-06-15T10:49:02","modified_gmt":"2026-06-15T10:49:02","slug":"how-to-add-whitelist-to-project-zomboid-server","status":"publish","type":"post","link":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/","title":{"rendered":"How to add whitelist to Project Zomboid Server"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A whitelist is the single most effective way to keep a Project Zomboid server private, stop griefers from wandering in, and make sure only the people you invited can spawn into your Knox County save. The whole system hinges on one setting in your <code>servertest.ini<\/code> file and a small family of admin commands \u2014 but the way Project Zomboid handles player accounts is genuinely different from most survival games, and that&#8217;s where people get tripped up. This guide walks through exactly how the whitelist works, the difference between an open server and a whitelist-only server, how the per-account password system relates to the server-wide join password, and how to flip an already-running open server over to whitelist-only without locking out your existing players.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Everything here applies to <strong>Build 41 (B41.78)<\/strong>, which remains the stable default branch on Steam, and carries forward unchanged into the <strong>Build 42 unstable branch<\/strong> (opt-in beta as of mid-2026). The whitelist, the config-file layout, the account database, and the admin commands are identical across both builds, so you don&#8217;t need to worry about which branch you&#8217;re on for this particular task.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Project Zomboid handles player accounts<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before touching any settings, it helps to understand the account model, because Project Zomboid has <em>two completely separate<\/em> passwords and confusing them is the most common reason whitelist setups fail.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>The server join password (<code>Password=<\/code> in <code>servertest.ini<\/code>)<\/strong> \u2014 a single shared password every player types once to connect to the server at all. It&#8217;s empty by default, meaning anyone who can reach the server can attempt to join.<\/li>\n<li><strong>The per-account password<\/strong> \u2014 each individual player has their own username and their own password, tied to <em>their<\/em> character. This is what makes the whitelist work: the server remembers who you are between sessions.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These are independent. A server can have a shared join password, a whitelist, both, or neither. The per-account credentials are what we manage when we build a whitelist. Those accounts (username plus per-account password) live in the server&#8217;s player database \u2014 the same SQLite store that holds character data \u2014 so once an account exists, that player can return to their character on every future login.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Where the configuration lives<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A dedicated server is configured by files inside your <code>Zomboid\/Server\/<\/code> folder. On Windows that&#8217;s <code>C:\\Users\\<user>\\Zomboid\\Server<\/code>. The default server name is <strong>servertest<\/strong>, so the files are named <code>servertest*<\/code>. There are three core files (PZwiki also lists a fourth, <code>servertest_spawnpoints.lua<\/code>):<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th>File<\/th><th>Controls<\/th><\/tr><\/thead><tbody>\n<tr><td><code>servertest.ini<\/code><\/td><td>Main server settings: networking\/ports, player cap, PVP, passwords, public listing, mod lists, map, spawn point, RCON, anti-cheat \u2014 and the <code>Open<\/code> whitelist toggle.<\/td><\/tr>\n<tr><td><code>servertest_SandboxVars.lua<\/code><\/td><td>The world ruleset: zombie population, loot rates, XP multipliers, day length, and (in Build 42) animal\/basement\/darkness settings.<\/td><\/tr>\n<tr><td><code>servertest_spawnregions.lua<\/code><\/td><td>The cities\/regions offered on the spawn selection screen.<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">For this guide we only need <code>servertest.ini<\/code>. If you want a full key-by-key breakdown of that file, our companion post on the <a href=\"https:\/\/xgamingserver.com\/blog\/servertest-ini-project-zomboid-server-explained\/\">servertest.ini settings explained<\/a> goes through every line. You can edit the file in any text editor while the server is stopped, and if the server is already running you can apply changes live with the <code>reloadoptions<\/code> command rather than restarting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Open setting: open vs whitelist-only<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The entire whitelist mechanism is controlled by a single boolean key in <code>servertest.ini<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Open=true<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Open=true \u2014 an open server<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is the default. When <code>Open=true<\/code>, <strong>any client may join<\/strong>, and an account (username plus password) is <strong>automatically created on the player&#8217;s first connection<\/strong> and stored in the player database. There&#8217;s no manual approval step. The first time a new player connects with a username and chooses a password, that becomes their permanent account. It&#8217;s the easiest mode to run, but it means anyone who knows your server address (and your server join password, if you set one) can create an account and play.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Open=false \u2014 whitelist-only<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Set this and the server becomes whitelist-only:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Open=false<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now accounts are <strong>no longer auto-created<\/strong>. An admin must pre-create each account before its owner can log in, and any username that doesn&#8217;t already exist in the player database will be refused. This is the locked-down mode you want for a private group, a community with an application process, or any server where you&#8217;ve had trouble with uninvited players.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The trade-off is administrative overhead: every new member needs an account created for them. The commands in the next section make that quick.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating whitelist accounts with \/adduser<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The core whitelist command is <code>\/adduser<\/code>. It creates a whitelist account by setting a username and a password for it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/adduser \"PlayerName\" \"theirPassword\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can run admin commands three ways, depending on where you are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>In-game chat<\/strong> with a leading <code>\/<\/code> (you must hold admin access).<\/li>\n<li><strong>In the server console<\/strong> directly \u2014 type the command <em>without<\/em> the <code>\/<\/code> prefix.<\/li>\n<li><strong>Over RCON<\/strong> \u2014 also without the <code>\/<\/code> prefix.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">So in the server console you&#8217;d simply type <code>adduser PlayerName theirPassword<\/code>. The password you set here is that player&#8217;s <em>per-account<\/em> password \u2014 the one they&#8217;ll type on the connection screen along with their username. Hand each player their username and password (privately), and they&#8217;re in. They can usually change it themselves later from the in-game options.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Quotation marks around the username and password are good practice and required if either contains spaces. To remove someone from the whitelist, Project Zomboid provides a removal command \u2014 most commonly written as <code>\/removeuserfromwhitelist <username><\/code>, though some builds and guides use the shorter <code>\/removeuser<\/code>. Because the exact spelling has varied, run <code>\/help<\/code> on your server (or check the current PZwiki Admin commands page) to confirm which form your build accepts before relying on it in a script.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the full command set \u2014 banning, kicking, granting access levels, spawning items \u2014 see our dedicated <a href=\"https:\/\/xgamingserver.com\/blog\/project-zomboid-server-admin-commands\/\">Project Zomboid admin commands<\/a> reference.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Admin access levels<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To run <code>\/adduser<\/code> and other whitelist commands from in-game chat, your account needs admin access. Project Zomboid has five access levels, highest to lowest:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>admin<\/strong> \u2014 full control<\/li>\n<li><strong>moderator<\/strong><\/li>\n<li><strong>overseer<\/strong><\/li>\n<li><strong>gm<\/strong> (game master)<\/li>\n<li><strong>observer<\/strong> \u2014 lowest<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">You set a player&#8217;s level with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/setaccesslevel \"PlayerName\" moderator<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Use <code>none<\/code> as the level to strip a player&#8217;s access entirely. The built-in <code>admin<\/code> account password is set the very first time you run the dedicated server \u2014 the console prompts you for it on first launch, so set something memorable and secure. The server console itself always has admin rights, which is why you can manage the whitelist from the console even before any in-game admin exists.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Flipping a live open server to whitelist-only<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This is the scenario most server owners actually face: you&#8217;ve been running <code>Open=true<\/code>, you have a group of regulars with characters they care about, and now you want to close the doors to newcomers <em>without<\/em> forcing your existing players to recreate their characters.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The trick is that on an open server, accounts are only auto-created the first time someone joins. Those accounts already exist in the player database. So the safe migration path is to make sure every regular has connected at least once (so their account is saved), then switch the server to whitelist-only. Here&#8217;s the workflow:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Get everyone online.<\/strong> Ask all your regular players to log in while the server is still <code>Open=true<\/code>. The moment they join, their account (username + chosen password) is created and stored in the database.<\/li>\n<li><strong>Capture the connected players into the whitelist.<\/strong> Project Zomboid offers a convenience command, commonly <code>\/addalltowhitelist<\/code>, which converts every currently-connected player into a whitelist account in one step. This is exactly what it&#8217;s designed for \u2014 confirm the command on your build with <code>\/help<\/code>, since its availability has varied. If it isn&#8217;t present, you can <code>\/adduser<\/code> each player manually instead.<\/li>\n<li><strong>Edit the config.<\/strong> Stop the server (or prepare to hot-reload) and change <code>Open=true<\/code> to <code>Open=false<\/code> in <code>servertest.ini<\/code>.<\/li>\n<li><strong>Apply the change.<\/strong> Restart the server, or if it&#8217;s still running, issue <code>reloadoptions<\/code> in the console to apply the edited <code>.ini<\/code> live. You can run <code>showoptions<\/code> first to confirm the current value before and after.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">After the switch, your existing players log in exactly as before with their established username and password, while anyone new is rejected until you create an account for them with <code>\/adduser<\/code>. No characters are lost, because the underlying database rows are untouched \u2014 you&#8217;re only changing whether the server will <em>create new<\/em> accounts on the fly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Where accounts and characters are stored<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Both the whitelist accounts and the character data live in the same place: a SQLite database inside your multiplayer save folder.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Zomboid\/Saves\/Multiplayer\/<servername>\/players.db<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">On Windows that&#8217;s <code>C:\\Users\\<user>\\Zomboid\\Saves\\Multiplayer\\<ServerName>\\players.db<\/code>. Per-player rows live in the <code>NetworkPlayers<\/code> table inside that file. You normally never touch this directly \u2014 the whitelist commands manage it for you. But it&#8217;s worth knowing it exists, because it&#8217;s the same database you&#8217;d open if you ever needed to surgically reset a single broken character.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>If you ever do edit <code>players.db<\/code> by hand, treat it as destructive.<\/strong> Always <em>stop the server<\/em> and <em>back up the file<\/em> first. Deleting a player&#8217;s row in <code>NetworkPlayers<\/code> (using a tool like DB Browser for SQLite) zeroes that character permanently \u2014 it cannot recover the pre-break state, and a wrong row deletion is irreversible. The full safe procedure is covered in our guide on <a href=\"https:\/\/xgamingserver.com\/blog\/how-to-reset-a-broken-project-zomboid-character-without-affecting-other-players-character\/\">resetting a broken character without affecting other players<\/a>. For routine whitelist work, though, you should be using commands, not editing the database.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Whitelist-relevant servertest.ini settings at a glance<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">These are the keys most directly tied to access control. Defaults are the values Project Zomboid ships with where confirmed.<\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><thead><tr><th>Key<\/th><th>Default<\/th><th>What it does<\/th><\/tr><\/thead><tbody>\n<tr><td><code>Open<\/code><\/td><td><code>true<\/code><\/td><td>true = anyone can join, accounts auto-created; false = whitelist-only.<\/td><\/tr>\n<tr><td><code>Password<\/code><\/td><td>empty<\/td><td>Shared server join password \u2014 separate from per-account passwords.<\/td><\/tr>\n<tr><td><code>Public<\/code><\/td><td><code>false<\/code><\/td><td>Whether the server appears in the in-game public browser.<\/td><\/tr>\n<tr><td><code>PublicName<\/code><\/td><td>string<\/td><td>Name shown in the public browser.<\/td><\/tr>\n<tr><td><code>MaxPlayers<\/code><\/td><td><code>64<\/code> (often set to 16\/32)<\/td><td>Player cap.<\/td><\/tr>\n<tr><td><code>DefaultPort<\/code><\/td><td><code>16261<\/code><\/td><td>Primary game port (UDP). The companion port 16262 is assigned automatically.<\/td><\/tr>\n<tr><td><code>RCONPort<\/code><\/td><td><code>27015<\/code> (some templates use 12345)<\/td><td>RCON listen port \u2014 only relevant if you manage the whitelist over RCON.<\/td><\/tr>\n<tr><td><code>RCONPassword<\/code><\/td><td>empty<\/td><td>RCON password; RCON stays disabled until you set one.<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">A note on combining controls: setting a <code>Password=<\/code> alone gives you a soft gate (anyone with the shared password can still create their own account if <code>Open=true<\/code>). For real access control, <code>Open=false<\/code> plus per-account whitelisting is the proper lock. Many private communities run <code>Open=false<\/code> with no server-wide <code>Password<\/code> at all, relying entirely on the whitelist.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Managing the whitelist over RCON<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;d rather not be in-game or watching the console to add players, you can run the same commands through RCON. Set <code>RCONPort<\/code> (the real-world value is <code>27015<\/code>; some host templates use <code>12345<\/code>) and a non-empty <code>RCONPassword<\/code> in <code>servertest.ini<\/code>, then connect with any RCON client. Send commands <em>without<\/em> the <code>\/<\/code> prefix \u2014 for example <code>adduser PlayerName theirPassword<\/code> or <code>setaccesslevel PlayerName admin<\/code>. This is handy for managing access from a web panel or a Discord bot rather than the live console.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Verifying it worked and reading the logs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After flipping to <code>Open=false<\/code>, the fastest confirmation is to run <code>showoptions<\/code> in the console and check that <code>Open<\/code> reads <code>false<\/code>. To watch connection attempts in real time, look at the live console output file, <code>server-console.txt<\/code>, which sits in your <code>Zomboid\/<\/code> folder one level up from <code>Server\/<\/code>. It logs the startup sequence, mod loading, and every player connect and disconnect \u2014 so a rejected whitelist attempt will show up there. On restart, older logs are moved into the timestamped <code>Zomboid\/Logs\/<\/code> folder. Our walkthrough on <a href=\"https:\/\/xgamingserver.com\/blog\/how-to-check-project-zomboid-server-logs\/\">checking Project Zomboid server logs<\/a> covers which file to open for which problem, including chat and PVP moderation logs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re configuring all of this on managed hosting, our <a href=\"https:\/\/xgamingserver.com\/docs\/project-zomboid\">Project Zomboid documentation<\/a> shows where the config files and console live in the panel, and you can spin up a ready-to-run box on our <a href=\"https:\/\/xgamingserver.com\/project-zomboid-server-hosting\">Project Zomboid server hosting plans<\/a> if you&#8217;d rather skip the manual SteamCMD setup entirely.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What&#8217;s the difference between the server password and the account password?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">They&#8217;re two different things. The server join password (<code>Password=<\/code> in <code>servertest.ini<\/code>, empty by default) is one shared password everyone types to connect to the server. The account password is unique to each player, tied to their username and their character, and stored in the server&#8217;s player database. A whitelist is built from per-account credentials \u2014 the shared join password is optional and independent.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need Open=false to use a whitelist?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, in the practical sense. While <code>Open=true<\/code>, accounts are auto-created for anyone who joins, so there&#8217;s effectively no gate. Setting <code>Open=false<\/code> turns the player database into a true whitelist: only usernames that already exist (created by an admin via <code>\/adduser<\/code>) are allowed in, and everyone else is refused.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I switch my existing open server to whitelist-only without wiping characters?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Have all your regulars log in once while the server is still <code>Open=true<\/code> so their accounts get saved, optionally run <code>\/addalltowhitelist<\/code> to capture the currently-connected players in one go, then change <code>Open=true<\/code> to <code>Open=false<\/code> in <code>servertest.ini<\/code> and apply it with <code>reloadoptions<\/code> (or a restart). Existing characters and accounts are untouched; only new account creation is blocked. Confirm <code>\/addalltowhitelist<\/code> exists on your build with <code>\/help<\/code>, and fall back to manual <code>\/adduser<\/code> calls if it doesn&#8217;t.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does the whitelist work the same in Build 42?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Build 41 (B41.78) is the stable default and Build 42 is the opt-in unstable branch as of mid-2026, but the <code>Open<\/code> setting, the three-file config layout, the <code>players.db<\/code> account database, and the admin commands are identical across both. Note that multiplayer only rejoined the Build 42 unstable branch in late 2025, so verify any other B42-specific behavior against current documentation \u2014 but the whitelist itself is unchanged.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Where are the whitelist accounts actually stored?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the SQLite file <code>Zomboid\/Saves\/Multiplayer\/<servername>\/players.db<\/code>, in the <code>NetworkPlayers<\/code> table \u2014 the same database that holds character data. You manage it through commands, not by editing the file. If you ever do open it directly (for example to reset a broken character), stop the server and back up <code>players.db<\/code> first, because row deletions are permanent.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I remove someone from the whitelist?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use the removal command, commonly <code>\/removeuserfromwhitelist <username><\/code> (some builds use the shorter <code>\/removeuser<\/code>). Because the exact spelling has varied between versions, run <code>\/help<\/code> on your server or check the current PZwiki Admin commands page to confirm which form your build accepts. If you also want to keep them out for good, follow up with a ban using <code>\/banuser <username> true<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s the complete picture: one config key (<code>Open<\/code>), a handful of account commands led by <code>\/adduser<\/code>, a clear separation between the shared join password and per-account passwords, and a safe migration path for servers that started out open. Set it up once and your Knox County survival run stays exactly as private as you want it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A whitelist is the single most effective way to keep a Project Zomboid server private, stop griefers from wandering in, and make sure only the people you invited can spawn into your Knox County save. The whole system hinges on one setting in your servertest.ini file and a small family of admin commands \u2014 but [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1699,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[41],"tags":[],"class_list":["post-1627","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-project-zomboid-server-docs"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.5 (Yoast SEO v26.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to add whitelist to Project Zomboid Server - XGamingServer<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add whitelist to Project Zomboid Server\" \/>\n<meta property=\"og:description\" content=\"A whitelist is the single most effective way to keep a Project Zomboid server private, stop griefers from wandering in, and make sure only the people you invited can spawn into your Knox County save. The whole system hinges on one setting in your servertest.ini file and a small family of admin commands \u2014 but [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/\" \/>\n<meta property=\"og:site_name\" content=\"XGamingServer\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/xgamingserver69\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-02-24T11:22:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-15T10:49:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2022\/02\/project-zomboid-whitelist-server.png\" \/>\n\t<meta property=\"og:image:width\" content=\"933\" \/>\n\t<meta property=\"og:image:height\" content=\"853\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Xray\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rainerstudios\" \/>\n<meta name=\"twitter:site\" content=\"@xgamingserver\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Xray\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/\"},\"author\":{\"name\":\"Xray\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/9fe94eb5b0ad6508acec5eef457da608\"},\"headline\":\"How to add whitelist to Project Zomboid Server\",\"datePublished\":\"2022-02-24T11:22:09+00:00\",\"dateModified\":\"2026-06-15T10:49:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/\"},\"wordCount\":2329,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2022\/02\/project-zomboid-whitelist-server.png\",\"articleSection\":[\"Project Zomboid\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/\",\"url\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/\",\"name\":\"How to add whitelist to Project Zomboid Server - XGamingServer\",\"isPartOf\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2022\/02\/project-zomboid-whitelist-server.png\",\"datePublished\":\"2022-02-24T11:22:09+00:00\",\"dateModified\":\"2026-06-15T10:49:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#primaryimage\",\"url\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2022\/02\/project-zomboid-whitelist-server.png\",\"contentUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2022\/02\/project-zomboid-whitelist-server.png\",\"width\":933,\"height\":853,\"caption\":\"add whitelist to pz server\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/xgamingserver.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Project Zomboid\",\"item\":\"https:\/\/xgamingserver.com\/blog\/category\/project-zomboid-server-docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to add whitelist to Project Zomboid Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#website\",\"url\":\"https:\/\/xgamingserver.com\/blog\/\",\"name\":\"XGamingServer\",\"description\":\"Dedicated Game Server Hosting\",\"publisher\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/xgamingserver.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#organization\",\"name\":\"XGamingServer\",\"url\":\"https:\/\/xgamingserver.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg\",\"contentUrl\":\"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg\",\"width\":\"1024\",\"height\":\"1024\",\"caption\":\"XGamingServer\"},\"image\":{\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/web.facebook.com\/xgamingserver69\/\",\"https:\/\/x.com\/xgamingserver\",\"https:\/\/www.instagram.com\/xgamingserver\/\",\"https:\/\/www.linkedin.com\/company\/xgamingserver\/\",\"https:\/\/www.pinterest.com\/xgamingserver\/\",\"https:\/\/www.youtube.com\/channel\/UCHnOtWxpzaL2r3jM9Jm40EQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/9fe94eb5b0ad6508acec5eef457da608\",\"name\":\"Xray\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f5e048c648806821e7dfebe32ad45489165185fe75979165fb4044e2967386d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f5e048c648806821e7dfebe32ad45489165185fe75979165fb4044e2967386d8?s=96&d=mm&r=g\",\"caption\":\"Xray\"},\"description\":\"A Mathematician who knows a thing or two about Design.\",\"sameAs\":[\"https:\/\/xgamingserver.com\/blog\",\"https:\/\/www.instagram.com\/rainerstudios\/\",\"https:\/\/x.com\/@rainerstudios\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to add whitelist to Project Zomboid Server - XGamingServer","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/","og_locale":"en_US","og_type":"article","og_title":"How to add whitelist to Project Zomboid Server","og_description":"A whitelist is the single most effective way to keep a Project Zomboid server private, stop griefers from wandering in, and make sure only the people you invited can spawn into your Knox County save. The whole system hinges on one setting in your servertest.ini file and a small family of admin commands \u2014 but [&hellip;]","og_url":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/","og_site_name":"XGamingServer","article_publisher":"https:\/\/web.facebook.com\/xgamingserver69\/","article_published_time":"2022-02-24T11:22:09+00:00","article_modified_time":"2026-06-15T10:49:02+00:00","og_image":[{"width":933,"height":853,"url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2022\/02\/project-zomboid-whitelist-server.png","type":"image\/png"}],"author":"Xray","twitter_card":"summary_large_image","twitter_creator":"@rainerstudios","twitter_site":"@xgamingserver","twitter_misc":{"Written by":"Xray","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#article","isPartOf":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/"},"author":{"name":"Xray","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/9fe94eb5b0ad6508acec5eef457da608"},"headline":"How to add whitelist to Project Zomboid Server","datePublished":"2022-02-24T11:22:09+00:00","dateModified":"2026-06-15T10:49:02+00:00","mainEntityOfPage":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/"},"wordCount":2329,"commentCount":1,"publisher":{"@id":"https:\/\/xgamingserver.com\/blog\/#organization"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#primaryimage"},"thumbnailUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2022\/02\/project-zomboid-whitelist-server.png","articleSection":["Project Zomboid"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/","url":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/","name":"How to add whitelist to Project Zomboid Server - XGamingServer","isPartOf":{"@id":"https:\/\/xgamingserver.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#primaryimage"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#primaryimage"},"thumbnailUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2022\/02\/project-zomboid-whitelist-server.png","datePublished":"2022-02-24T11:22:09+00:00","dateModified":"2026-06-15T10:49:02+00:00","breadcrumb":{"@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#primaryimage","url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2022\/02\/project-zomboid-whitelist-server.png","contentUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2022\/02\/project-zomboid-whitelist-server.png","width":933,"height":853,"caption":"add whitelist to pz server"},{"@type":"BreadcrumbList","@id":"https:\/\/xgamingserver.com\/blog\/how-to-add-whitelist-to-project-zomboid-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/xgamingserver.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Project Zomboid","item":"https:\/\/xgamingserver.com\/blog\/category\/project-zomboid-server-docs\/"},{"@type":"ListItem","position":3,"name":"How to add whitelist to Project Zomboid Server"}]},{"@type":"WebSite","@id":"https:\/\/xgamingserver.com\/blog\/#website","url":"https:\/\/xgamingserver.com\/blog\/","name":"XGamingServer","description":"Dedicated Game Server Hosting","publisher":{"@id":"https:\/\/xgamingserver.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/xgamingserver.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/xgamingserver.com\/blog\/#organization","name":"XGamingServer","url":"https:\/\/xgamingserver.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg","contentUrl":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2020\/09\/logo.svg","width":"1024","height":"1024","caption":"XGamingServer"},"image":{"@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/web.facebook.com\/xgamingserver69\/","https:\/\/x.com\/xgamingserver","https:\/\/www.instagram.com\/xgamingserver\/","https:\/\/www.linkedin.com\/company\/xgamingserver\/","https:\/\/www.pinterest.com\/xgamingserver\/","https:\/\/www.youtube.com\/channel\/UCHnOtWxpzaL2r3jM9Jm40EQ"]},{"@type":"Person","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/9fe94eb5b0ad6508acec5eef457da608","name":"Xray","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xgamingserver.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f5e048c648806821e7dfebe32ad45489165185fe75979165fb4044e2967386d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f5e048c648806821e7dfebe32ad45489165185fe75979165fb4044e2967386d8?s=96&d=mm&r=g","caption":"Xray"},"description":"A Mathematician who knows a thing or two about Design.","sameAs":["https:\/\/xgamingserver.com\/blog","https:\/\/www.instagram.com\/rainerstudios\/","https:\/\/x.com\/@rainerstudios"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/xgamingserver.com\/blog\/wp-content\/uploads\/2022\/02\/project-zomboid-whitelist-server.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts\/1627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/comments?post=1627"}],"version-history":[{"count":14,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts\/1627\/revisions"}],"predecessor-version":[{"id":22251,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/posts\/1627\/revisions\/22251"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/media\/1699"}],"wp:attachment":[{"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/media?parent=1627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/categories?post=1627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xgamingserver.com\/blog\/wp-json\/wp\/v2\/tags?post=1627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}