Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Repair Windows errors before they cause bigger problems3Fix the driver behind crashes, sound loss and screen glitchesiTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Prefer not to run the server on your own PC? Godlike.Host offers hosted Project Zomboid servers with free DDoS protection and up to three free backups a day.
Project Zomboid has no single Playstyle switch on a dedicated server. The experience is controlled mainly by the sandbox file, servertest_SandboxVars.lua by default, while servertest.ini contains server-level rules such as player limits, PvP, passwords, mods and map settings. Stop the server, back up the files, edit the generated Lua settings, restart, and be prepared to create a fresh world when a change is tied to world generation.
What “playstyle” means on a Project Zomboid server
Hosting guides use playstyle as shorthand for the combined effect of two configuration layers. The first layer is the sandbox: the world rules that determine how dangerous, scarce, fast or forgiving the simulation feels. The second is the server configuration: the rules governing who can connect and how the multiplayer session is administered.
Free tools Windows power users keep installed
One-click scans. No signup required.
The sandbox file contains the same broad categories exposed by the single-player sandbox setup. It controls zombie population and behavior, loot rarity and respawn, day length, starting date, water and electricity shutoff timing, experience multipliers, vehicles, farming and weather. The server file controls the multiplayer shell around those rules, including ports, player capacity, PvP, passwords, public listing, mods, map, spawn point, RCON and anti-cheat options.
Because these settings are split, changing only the INI file will not turn a survival world into a builder-style world. Likewise, changing zombie numbers in the sandbox will not increase the number of players who may join. Treat the two files as separate controls and edit the one that owns the behavior you want.
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
Which file controls each part of the experience?
| What you want to change | Primary file | Examples |
|---|---|---|
| World difficulty and pacing | servertest_SandboxVars.lua |
Zombie population and senses, loot rarity, loot respawn, day length, start date, utility shutoff, weather, farming, vehicles and XP multipliers |
| Who can join and multiplayer rules | servertest.ini (or the matching server-name INI) |
Maximum players, PvP, password, public listing, ports, map, spawn point, mods, RCON and anti-cheat |
| World generation and persistent map state | Sandbox values plus the existing world | Changes that affect a world already generated may require a new world before their full effect appears |
The default server name is servertest, so the default filenames are servertest_SandboxVars.lua and servertest.ini. If the server was started with the -servername parameter, replace servertest with that name. Every related configuration filename must use the same server name; otherwise a host panel or upload can place files where the running server never reads them.
Where the files are stored
Linux
For a standard Linux installation, look in ~/Zomboid/Server/. A managed host may expose this directory through its file manager rather than a normal shell, but the filenames and naming rule remain the same.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Windows
On Windows, the usual location is C:UsersYOURNAMEZomboidServer. Replace YOURNAME with the Windows account that runs the server. If the server runs under a service account, check that account’s Zomboid directory instead of assuming it is your interactive desktop account.
When the expected file is missing
- Start the server once so it can generate its default configuration.
- Confirm the server name used at launch. A custom name produces custom filenames.
- Open the directory belonging to the account that actually runs the process.
- Do not rename only one file. The sandbox and INI names must match the active server name.
Prepare safely before changing settings
Configuration mistakes can prevent startup, and a running server can overwrite your edits when it shuts down. Use this order every time:
- Record the build. Build 42 setting names have changed between point releases, and guides cite different builds such as 42.19, 42.20 and 42.21. Note the exact build shown by your server and clients before copying any example.
- Tell players about the change. A restart interrupts everyone, and a world reset can remove the existing map and characters. Agree in advance whether you are changing the current world or starting a separate test world.
- Stop the server cleanly. Use the host panel’s stop action or the normal console shutdown. Do not edit while the process is still running.
- Back up the configuration. Copy the entire server configuration directory, including the sandbox Lua file, the INI file and any mod or map settings. Keep the original outside the live directory so it cannot be overwritten.
- Back up the world data. A sandbox change can have different consequences on an established world than on a newly generated one. Preserve a restorable copy before testing.
- Open the generated file for this server name. Do not paste settings from a different server name or an older installation without checking the structure first.
The stop step is essential. On shutdown, the server may write its current sandbox values back to disk. If you edit first and then stop the process, your work can disappear.
How to edit the sandbox file
Use Lua syntax, not INI syntax
servertest_SandboxVars.lua is a Lua table. It is not a collection of key=value lines like an INI file. Preserve the opening and closing braces, commas between entries and the nesting of tables. A missing comma, brace or quote can stop the server from starting; it will not necessarily fall back to safe defaults.
Keep nested groups intact. Existing generated files commonly contain sections such as ZombieConfig, MultiplierConfig, Map and Basement. Change the value beside an existing key rather than inventing a key from a guide written for another Build 42 revision. Variable names and their locations are not guaranteed to match across patches.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Change only the values you understand
- Make one related group of changes at a time, such as zombie density and zombie senses.
- Leave comments and surrounding structure in place so you can compare the edited file with the backup.
- Keep a plain-text editor that does not add rich-text formatting or automatic quotation marks.
- Save the file using its original name and extension. Do not let the editor append
.txt.
Validate before starting
Compare the edited file with your backup for unbalanced braces, deleted commas and accidental changes outside the intended section. If the server fails immediately after an edit, restore the backup first, confirm that it starts, then reapply a smaller change.
A simpler method: generate settings from the host screen
Some hosting workflows offer the same sandbox controls through an in-game host screen. A practical approach is to configure a temporary host there, save the settings once, then copy the generated configuration files to the dedicated server. This reduces the chance of mistyping Lua syntax because the game writes the structure for you.
- Use the in-game host setup to choose the desired sandbox categories.
- Save or launch the temporary host so the game generates its settings.
- Stop both sessions before copying anything.
- Copy the generated sandbox and matching server configuration files to the dedicated server’s configuration directory.
- Rename them only when necessary, and make sure the filenames match the dedicated server’s active
-servernamevalue. - Start the dedicated server and verify the resulting options in-game.
This method still requires a restart and a backup. It also does not remove the Build 42 compatibility issue: the generated files from your own installation are the authority for the names your server understands.
Settings that make the biggest difference to playstyle
Zombie population and behavior
Zombie population is usually the first difficulty lever. Density changes how quickly roads, buildings and safehouses become dangerous. Behavior and sensory settings determine whether zombies notice movement, sound and visibility at the same rate as the default scenario. Adjust population and behavior together: a low count with highly sensitive zombies can still produce an intense start, while a large count with forgiving senses can feel less oppressive than the raw number suggests.
When testing, check more than the spawn point. Travel through a town, enter a building and make noise outdoors. Population distribution and behavior may be more noticeable after the world has had time to run than during the first few minutes at the starting cell.
Loot rarity and respawn
Loot rarity determines how quickly players find food, tools, weapons, medical items and vehicle supplies. Respawn determines whether searched containers can become useful again. Scarce loot creates a logistics-focused survival game; generous loot lowers the pressure to travel and trade.
Build 42 documentation from community guides is inconsistent about where respawn is configured. One account says respawn options moved into the sandbox file, while another recommends HoursForLootRespawn=0 in the INI together with LootRespawn=1 in the sandbox. Do not paste both instructions blindly. Open the generated files for your exact build, find the existing loot keys and change the location your file actually provides. If the keys are absent or named differently, treat that as a version difference rather than adding unrecognized entries.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
Day length and starting date
Day length changes the rhythm of every activity: travel, construction, farming, looting and returning before dark. A very short day can make the game feel frantic, but one hosting guide advises against lengths under roughly 30 minutes because farming becomes impractical. Treat that figure as a gameplay guideline, not a technical limit, and consider the activities your group actually performs.
The starting date affects the seasonal timetable and the point at which weather, vegetation and utilities are encountered. If you alter it on an established world, confirm whether the existing world can represent the new starting conditions or whether a fresh world is more appropriate.
Water and electricity shutoff
Utility timing is one of the clearest ways to move between relaxed survival and an accelerated apocalypse. Longer availability gives players time to establish bases, collect water and prepare generators. Earlier shutoff forces planning, storage and scavenging sooner. To make a scenario harder, shorten the utility windows; to make a builder-oriented server less punishing, extend them.
Experience multipliers and progression
XP multipliers affect how quickly characters acquire levels and unlock skills. Higher values reduce the time spent repeating basic actions, while lower values make long-term specialization more meaningful. Apply multipliers consistently across the skills your group uses; making one skill dramatically faster can change the server’s economy and division of labor.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteVehicles, farming and weather
Vehicle availability and condition change how far players can travel and how much fuel and repair work matter. Farming settings influence whether a group can become self-sufficient or must continue looting. Weather affects visibility, travel comfort and the timing of outdoor work. These systems are part of the sandbox, so edit them in the Lua file rather than the INI.
Server-level rules in the INI file
Use the matching server INI for multiplayer rules that do not describe the simulated world itself:
| Server-level area | What to decide | Why it changes the experience |
|---|---|---|
| Maximum players | Set the player cap appropriate for your group | Affects base size, resource competition and the amount of activity the server must handle |
| PvP | Enable or disable player-versus-player damage | Changes the social contract from cooperative survival to possible conflict |
| Passwords and public listing | Restrict access or advertise the server | Determines who can join and whether strangers can discover it |
| Mods and map | Use the exact mod list and map identifiers required by the world | Changing these can prevent clients from joining or make a world incompatible |
| Spawn point | Choose the configured starting area | Changes the opening resources, threats and distance between players |
| Ports, RCON and anti-cheat | Match the host’s network and administration plan | Controls connectivity and how the server is managed, not zombie or loot behavior |
PvP is not a replacement for sandbox difficulty. You can run a high-zombie cooperative server with PvP disabled, or a low-zombie server where PvP is enabled. Configure both layers deliberately.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Example playstyle presets
Builder-style casual co-op
One third-party guide describes a builder-oriented example with MaxPlayers=8, PVP=false, PauseEmpty=true, SleepAllowed=false and SafetySystem=true, combined with low zombie counts. This is an example rather than an official preset or a universal recommendation. Verify every variable name against the files generated by your installation before using it.
Recommended Free Tools
The intent is to give a small group room to build while reducing interruptions from an empty server and avoiding accidental PvP. You can preserve that intent while tuning loot, utilities, day length and XP to your group’s schedule.
Harder apocalypse
A harder scenario is commonly produced by raising zombie density and shortening the time before water and electricity shut off. Combine those changes with scarcer loot if you want logistics to matter. Increase only one pressure at a time during testing; otherwise you will not know which setting made the opening too punishing.
Custom group rules
For a mixed group, decide the desired pressure on five axes before editing:
- Threat: zombie population, senses and behavior.
- Scarcity: loot rarity and whether searched containers can respawn.
- Pacing: day length, starting date and utility timetable.
- Progression: XP multipliers, farming and vehicles.
- Social rules: PvP, sleep behavior, safety system, player cap and access controls.
Writing down the target on these axes prevents a common mistake: increasing zombie numbers to make the game harder when the group really wants a more demanding resource economy or faster seasonal pressure.
Restarting and applying the change
- Stop the server after saving the edited files.
- Confirm that the active process has exited and is no longer writing to the configuration directory.
- Start the server normally with the same server name and launch parameters.
- Watch the startup output for Lua parse errors, missing keys, mod failures or a different configuration path than the one you edited.
- Join with an administrator account and test the specific behavior you changed.
A full stop-and-start is the dependable way to apply sandbox changes. Several guides mention the admin commands showoptions and reloadoptions, but they disagree about whether reloadoptions rereads servertest.ini, a file called ServerOptions.ini, the sandbox file, or only some settings. Command syntax also varies: some consoles use a slash prefix while others use bare commands. Because the coverage is unresolved, do not treat a successful command response as proof that sandbox values changed. Use a complete restart when the setting matters.
Will an existing world use the new playstyle?
Not always. Settings that describe ongoing server rules may be visible after a restart, but world-bound or world-generation values can remain represented by the existing save. Community guides therefore warn that changing playstyle on a live world may not show its full effect until a fresh world is created.
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Use this decision process:
- Restart and test the current world first when the change is a server rule or a value you can observe without generating new terrain.
- Test on a copy when the change could affect map generation, loot distribution, starting conditions or another persistent system.
- Create a fresh world when the intended behavior still does not appear or when you want a clean, consistent scenario for all players.
- Keep the old backup until everyone confirms the new world and settings work as intended.
A fresh world is a gameplay decision, not merely a technical workaround: it changes the map state and can invalidate existing characters’ plans. Tell players exactly which data will be retained and which will not before you switch.
How to verify the new playstyle in-game
Do not rely only on a successful boot. Verify each category you changed:
- Zombie settings: inspect a quiet area and a populated town, then test noise and visibility behavior.
- Loot: check several container types in more than one building and record whether rarity matches the intended pressure.
- Respawn: follow the interval configured in your file; do not assume an immediate refill proves the option works.
- Pacing: confirm the displayed day length and observe the day/night cycle before making further edits.
- Utilities: verify the configured shutoff schedule on a test copy or controlled world.
- XP: perform a repeatable action and compare the gain with the multiplier you selected.
- Vehicles, farming and weather: test one representative vehicle, crop cycle or weather-dependent activity.
- Social rules: have two players test PvP, safety behavior, joining limits and the password without risking the main world.
If you use an administrative options display, treat it as a diagnostic aid. A displayed value does not prove that a persistent world has regenerated around it.
Troubleshooting common failures
| Symptom | Likely cause | Recovery |
|---|---|---|
| The server will not start after editing | Lua syntax error, missing comma or unbalanced brace | Restore the backup, confirm the server starts, then reapply one small change while preserving the generated nesting |
| Changes disappear after shutdown | The file was edited while the server was running | Stop first, edit only after the process exits, save, then start again |
| The server starts but behavior is unchanged | Wrong server-name file, setting belongs in the other file, or the existing world has already stored the old state | Check the launch name, confirm the key’s location in the generated files, restart and test a fresh world copy |
| Players cannot connect after an INI change | Port, map, mod, password or anti-cheat mismatch | Compare the edited INI with the backup and verify the client’s mod and map requirements |
| Loot respawn instructions conflict | Build 42 revision or generated-file layout differs from the guide | Use the keys present in your own sandbox and INI files; do not add duplicate or obsolete entries |
reloadoptions appears to work but nothing changes |
The command may not reload sandbox values, or the console expects different syntax | Use a full restart and verify the value in-game; reserve live commands for experiments |
| Only some players see the new rules | Clients joined different server instances or cached an incompatible mod/map setup | Confirm everyone is connecting to the same server name, address, map and mod set |
Build 42 compatibility and version drift
Build 42 is still a moving target for configuration advice. Guides cite multiple point releases, and variable names can change between patches. A snippet that worked on 42.19 may not match a file generated by 42.20 or 42.21. The safest source for a key name is the file generated by your own server build, not an undated copy from a forum or hosting article.
No official developer definition of “playstyle” or complete official list of Build 42 dedicated-server variable names was identified for this topic. That means labels used by hosting guides should be read as practical shorthand, not as a guaranteed API. When a guide conflicts with your generated files, preserve your file’s structure and prefer a clean regeneration or in-game setup over guessing.
A repeatable change checklist
- Identify the exact Build 42 point release and active
-servername. - Locate the matching sandbox Lua and INI files.
- Decide whether the change concerns world rules, server rules or both.
- Notify players and back up configuration and world data.
- Stop the server completely.
- Edit existing Lua keys with a plain-text editor; preserve nested tables and punctuation.
- Edit the INI only for multiplayer and administration options.
- Start the server and inspect startup output for errors.
- Test the changed behavior with an administrator account.
- Use a copied or fresh world when a persistent setting does not visibly change.
- Keep the working backup until the group has completed a normal play session.
Choosing the right level of change
If the group wants a different feel but the same community and map, start with sandbox values and keep the INI unchanged. If the group wants different rules for trust, access or conflict, change the INI deliberately and announce those changes separately. If both the threat model and the map’s persistent state must change, create a fresh test world before replacing the established one.
This separation makes future tuning easier: you can adjust zombie pressure or utility timing without accidentally changing passwords, ports, mods or player capacity, and you can revise social rules without pretending that the world’s loot and population have been regenerated.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

