Hop til hovedindhold

Project Zomboid Server Settings for Multiplayer Survival

Configuring Your Project Zomboid Server

Project Zomboid offers one of the most granular server configuration systems in the survival genre. The sandbox settings file contains hundreds of parameters covering zombie behavior, loot distribution, character progression, weather, farming, and more. Getting these settings right determines whether your community thrives or dies in the first week. This guide covers the most impactful settings and provides recommended values for different play styles.

Server Settings vs. Sandbox Settings

Project Zomboid has two layers of configuration:

Server settings (servertest.ini) control the technical and administrative side: player count, PvP toggle, password, port, and connection rules.

Sandbox settings control the gameplay experience: how many zombies spawn, how rare loot is, how fast skills level, and how the world behaves over time. These are set when creating a world and stored in the sandbox variables file.

You can change server settings at any time with /changeoption and /reloadoptions. Sandbox settings generally require a server restart, and some require starting a new world.

Essential Server Settings

These servertest.ini values affect every server regardless of play style:

  • PauseEmpty=true - Pauses the game when no players are online. Prevents zombie migration and resource decay while everyone is offline. Highly recommended for most communities.
  • PVP=false - Disable PvP for cooperative servers. Set to true for competitive or faction-based servers.
  • SleepAllowed=true - Allows players to sleep to skip nighttime. On multiplayer, all players must be sleeping simultaneously for time to advance.
  • SleepNeeded=false - On multiplayer servers, set this to false so players do not need to sleep to function. Sleep deprivation is hard to manage cooperatively.
  • SafeHouse=true - Allows players to claim safe house areas that other players cannot modify. Essential for preventing griefing on public servers.
  • HoursForLootRespawn=0 - Set to 0 to disable loot respawn for a more realistic experience, or set a value (e.g., 720 for monthly respawn) for longer-running servers.

Zombie Population Settings

Zombie configuration has the single largest impact on difficulty and server performance.

  • ZombieCount: Normal (1.0) - The default population provides a challenging but manageable experience for groups of 4-8 players
  • Distribution: Uniform - Zombies are spread evenly rather than clustered in buildings. Provides more predictable encounters
  • DayLength: 2 hours - Longer than the 1-hour default, giving players more time per in-game day to accomplish tasks
  • StartMonth / StartDay: July, day 1 - Summer start gives players time to establish before winter arrives

For Hardcore Servers

  • ZombieCount: Insane (4.0) - Quadruples the zombie population. Only for experienced groups
  • Respawn: Enabled with a 72-hour delay so cleared areas do not stay safe permanently
  • Migration: Enabled so hordes move toward player activity and noise
  • ActiveOnly: Off - Zombies exist in all cells, not just near players. Higher server resource usage but more immersive

For Casual or New Player Servers

  • ZombieCount: Low (0.35) - Reduced population for groups learning the game
  • Speed: Shamblers only - Disables fast zombies for a more manageable threat
  • Toughness: Normal - Keeps zombies from becoming tedious bullet sponges
  • Transmission: Saliva Only - Makes infection less punishing. The default "blood + saliva" means any scratch has an infection chance, which can feel unfair to new players

Loot and Resource Settings

Balanced Loot Configuration

  • LootRarity: Normal - Default loot tables provide reasonable scavenging
  • CarSpawnRate: Low (0.5) - Fewer cars means vehicles feel more valuable and encourages exploration on foot
  • StartingKit: Nothing or Basic - Starting with nothing creates a stronger survival experience. A basic kit (bandage, water) helps new players survive the critical first hour
  • FarmingSpeed: Fast (3) for short-lived servers, Normal (1) for long-term communities
  • NatureAbundance: Normal (1.0) - Controls foraging and trapping yield

Long-Term Server Loot

For servers that run for months:

  • HoursForLootRespawn: 720 (roughly one in-game month) - Prevents total resource depletion while keeping scavenging meaningful
  • MaxItemsForLootRespawn: 4 - Containers must have fewer than 4 items to be eligible for respawn. Prevents accumulation in already-looted containers

Experience and Skill Settings

  • XPMultiplier: 2.0 - Doubles XP gain across all skills. The default 1.0 rate is tuned for single-player where one character gets all the practice. In multiplayer, players specialize, so each individual skill progresses slower
  • StatsDecrease: Slow - Reduces the rate at which fitness and strength decay from inactivity. Important because multiplayer characters are idle when the player is offline

For Build 42 servers, the new crafting skills (pottery, forging, stoneworking) benefit from a 2x or 3x multiplier since they represent entirely new progression paths.

Build 42 Game Mode Presets

If you are running a Build 42 server, the new game mode system introduced in Build 42.15 provides curated presets:

  • Apocalypse: The canonical experience with balanced loot, disabled respawn, and authentic 1993 Kentucky atmosphere
  • Outbreak: Faster progression and more abundant resources for groups with limited playtime
  • Extinction: Introduces Sprinters for a brutal, high-intensity survival experience
  • Rising: Focused on building and crafting with reduced combat difficulty

These presets serve as excellent starting points. You can further customize sandbox settings after selecting a game mode base.

PvP Server Settings

For servers that allow player combat:

  • PVP=true - Enables player damage
  • SafetySystem=true - Allows players to toggle PvP status. Prevents unwanted combat
  • SafetyToggleTimer=120 - Two-minute delay when toggling PvP to prevent exploitation
  • SafeHouse=true - Protected base areas prevent griefing
  • PlayerRespawnWithSelf=false - Dead players respawn at a random location, not at their base. Adds consequence to PvP death

Large servers should consider these settings to maintain smooth performance:

  • MaxPlayers: Start with 16 on Build 41, 20 or fewer on Build 42
  • ZombieCount: Lower populations reduce server CPU load significantly
  • BloodSplatLifespanDays: 7 - Cleans up blood decals to reduce memory usage
  • MapRemotePlayerVisibility=true - Lets players see each other on the map. Aids coordination and reduces confusion

Applying Changes

Edit the sandbox variables file in your world's save directory, or use the in-game admin panel. Some changes require a server restart. Test settings changes with a small group before rolling them out to your full community.

tip

With Reactor's Project Zomboid hosting, all sandbox and server settings are accessible through SFTP. Automatic backups let you revert if a settings change does not work as expected.