Menu
 

Project Zomboid Server Troubleshooting Guide

Project Zomboid Server Troubleshooting Guide

Comprehensive guide to diagnosing and fixing common Project Zomboid dedicated server issues. From connection problems to performance bottlenecks, mod conflicts, and save corruption, this guide provides step-by-step solutions for server administrators.

Quick Tip: Most Project Zomboid server issues can be resolved by checking port forwarding, verifying server configuration, ensuring all players have the same game version, and managing mod compatibility.

Common Connection Issues

1. "Failed to Connect" or "Connection Timed Out" Error

Symptoms:

  • Players cannot connect to server
  • "Failed to connect" or "Connection timed out" message appears
  • Server shows in browser but connection fails
  • Players can connect locally but not remotely

Solutions:

  1. Check Port Forwarding: Ensure ports 16261 (default UDP) and 16262 (Steam query) are properly forwarded on your router.
  2. Verify Firewall Settings: Add exceptions for Project Zomboid server executable in Windows Firewall or configure iptables on Linux.
  3. Test Local Connection: Try connecting from a device on the same network to rule out internet issues.
  4. Check Server Status: Verify the server process is running with netstat -tulpn | grep 16261 (Linux) or Resource Monitor (Windows).
  5. Update Server Files: Ensure server is updated to latest stable version using SteamCMD.

2. Server Not Showing in Server Browser

Symptoms:

  • Server doesn't appear in Project Zomboid server browser
  • Direct IP connection works but browser doesn't show server
  • Server visibility set to "Public" but not listed
  • Intermittent visibility in browser

Solutions:

  1. Enable Steam Query: Ensure SteamPort=16262 and SteamQueryPort=16262 are set in pzserver.ini.
  2. Check Query Port: Verify port 16262 is open and accessible (used for Steam queries).
  3. Wait for Registration: Steam server browser can take 5-15 minutes to register new servers.
  4. Server Name Format: Avoid special characters in server name that might break browser listing.
  5. Use Server Browser Commands: Try /refresh in server browser or restart game client.

Performance Problems

3. Server Lag and High Ping

Symptoms:

  • Delayed player actions and zombie movements
  • High ping for all connected players
  • World saving causes temporary freezes
  • Zombie pathfinding lag during horde events

Solutions:

  1. Optimize Zombie Settings: Reduce ZombieCount or adjust distribution in sandbox settings.
  2. Increase Memory Allocation: Add -Xmx4g (or higher) to server startup arguments for more RAM.
  3. Reduce View Distance: Lower ViewDistance in server settings to reduce client-server sync load.
  4. Schedule Regular Restarts: Daily server restarts clear memory leaks and improve performance.
  5. Use Performance Mods: Consider mods like "Clean Dirt" or "Optimal Performance" for large servers.

4. High CPU/Memory Usage

Symptoms:

  • Server process using excessive CPU (90%+)
  • Memory usage constantly increasing over time
  • Server becomes unresponsive after extended uptime
  • Java garbage collection causing periodic lag spikes

Solutions:

  1. Limit Player Count: Reduce MaxPlayers setting to match server capabilities.
  2. Optimize Java Arguments: Use optimized JVM flags: -XX:+UseG1GC -XX:MaxGCPauseMillis=200.
  3. Regular Restarts: Schedule daily server restarts to clear memory leaks.
  4. Monitor with Tools: Use htop (Linux) or Process Explorer (Windows) to identify resource hogs.
  5. Upgrade Hardware: Consider moving to dedicated hosting with better CPU/RAM resources.

World and Save Issues

5. World Corruption or Save Data Loss

Symptoms:

  • World fails to load on server startup
  • Characters or structures missing after server restart
  • "Failed to load world" error message
  • Map chunks not loading or appearing corrupted

Solutions:

  1. Restore from Backup: Use Supercraft's automated backups or manual backup files in server-data/Saves/.
  2. Verify File Permissions: Ensure server has write access to save directory.
  3. Check Disk Space: Ensure adequate free space for world saves (minimum 2GB).
  4. Use Map Fix Tools: Consider using "Project Zomboid Map Fix" tools for corrupted map files.
  5. Prevent Corruption: Always use proper shutdown procedure (Stop button) rather than killing process.

6. Character Data Issues

Symptoms:

  • Character items missing after server transfer
  • Skills reset or decreased unexpectedly
  • Character file corruption errors
  • Duplicate characters appearing

Solutions:

  1. Backup Character Files: Regularly backup players.db from server-data/db/ directory.
  2. Check Database Integrity: Use SQLite browser to verify players.db isn't corrupted.
  3. Avoid Cross-Server Transfers: Character files may not be compatible between different server modsets.
  4. Manual Restoration: Replace corrupted character data with backups using SQLite tools.
  5. Preventive Measures: Ensure consistent mod load order across server restarts.

Mod-Related Problems

7. Mod Compatibility Issues

Symptoms:

  • Server crashes on startup with mods enabled
  • Players cannot connect due to mod mismatch
  • Game features broken after mod installation
  • Inconsistent behavior between server and clients

Solutions:

  1. Verify Mod Versions: Ensure all mods are updated to latest versions compatible with Project Zomboid version.
  2. Check Load Order: Some mods require specific load order in server-data/Server/ mod list files.
  3. Test Mods Individually: Disable all mods, then enable one at a time to identify conflicts.
  4. Check Workshop IDs: Ensure server and clients subscribe to same Workshop IDs (not local mod files).
  5. Use Mod Manager: Consider using mod managers for consistent deployment across server and clients.

8. Map Mod and Custom Map Issues

Symptoms:

  • Custom maps not loading on server
  • Players missing map data when joining
  • Map errors or missing textures
  • Server-client map version mismatch

Solutions:

  1. Verify Map Installation: Ensure map files are correctly placed in server-data/media/maps/.
  2. Check Map Compatibility: Confirm map is compatible with current Project Zomboid build.
  3. Client-Side Installation: Players may need to install map mods separately if not auto-downloaded.
  4. Map File Permissions: Ensure server has read access to map files and directories.
  5. Test Without Maps: Disable map mods temporarily to isolate issue.

Admin and Permission Issues

9. Lost Admin Access

Symptoms:

  • Admin wrench icon not appearing in-game
  • Admin commands not working
  • Cannot access admin panel
  • Admin permissions reset after server update

Solutions:

  1. Check Admin Files: Verify username in pzserver_admin.txt (case-sensitive, exact Steam name).
  2. Reset Admin Database: Delete pzserver.db in server-data/db/ to reset permissions (preserves player data).
  3. Verify Steam Name: Ensure Steam profile name matches exactly what's in admin file.
  4. Check File Permissions: Server must have write access to admin and database files.
  5. Use Console Commands: If partial access, try /grantadmin "Username" via console (F11).

Detailed Guide: See our complete Restore Lost Admin Access guide for step-by-step solutions.

10. Ban and Whitelist Problems

Symptoms:

  • Banned players can still join
  • Whitelist not working properly
  • Ban list reset after server restart
  • Cannot ban specific players

Solutions:

  1. Check Database Integrity: Verify pzserver.db isn't corrupted using SQLite browser.
  2. Use Steam IDs: Ban by Steam ID (64-bit) instead of username for more reliable bans.
  3. Verify Whitelist Enable: Ensure Open=false in pzserver.ini and whitelist file populated.
  4. File Permissions: Server needs write access to database for ban persistence.
  5. Manual Database Edit: Use SQLite browser to directly edit ban list if needed.

Network and Firewall Configuration

# Required Ports for Project Zomboid Server Port 16261 (UDP) - Game traffic (default, configurable) Port 16262 (UDP) - Steam query (default, configurable) # Linux iptables rules sudo iptables -A INPUT -p udp --dport 16261 -j ACCEPT sudo iptables -A INPUT -p udp --dport 16262 -j ACCEPT # Windows Firewall PowerShell New-NetFirewallRule -DisplayName "PZ 16261-16262" -Direction Inbound -Protocol UDP -LocalPort 16261-16262 -Action Allow # Common pzserver.ini network settings DefaultPort=16261 SteamPort=16262 SteamQueryPort=16262

Diagnostic Commands and Tools

Server Console Commands

# Check server status netstat -tulpn | grep 16261 # Monitor server process (Linux) top -p $(pgrep java) # View server logs tail -f ~/Zomboid/server-console.txt tail -f ~/Zomboid/server-console*.txt # Test network connectivity nc -zvu your_server_ip 16261 nc -zvu your_server_ip 16262 # Check disk space df -h /path/to/server

Client-Side Diagnostics

  • Steam Network Diagnostics: Steam → Settings → Downloads → Clear Download Cache
  • Verify Game Files: Steam Library → Project Zomboid → Properties → Local Files → Verify Integrity
  • Check Firewall: Ensure Project Zomboid client is allowed through Windows Defender Firewall
  • Update Network Drivers: Ensure network adapter drivers are up to date
  • Client Logs: Check %UserProfile%\Zomboid\console.txt for connection errors

Preventative Measures

Best Practices to Avoid Issues:

  1. Regular Backups: Schedule automated daily backups of world, character, and database files.
  2. Update Management: Test game updates and mod updates on a staging server before deploying to production.
  3. Monitor Resources: Use monitoring tools to track CPU, memory, and disk usage trends.
  4. Document Configuration: Keep records of server settings, mod lists, sandbox configs, and custom changes.
  5. Community Communication: Inform players of scheduled maintenance, updates, and expected downtime.
  6. Moderation Team: Establish multiple admins/moderators to handle issues and prevent single points of failure.

When to Seek Help

If you've tried all troubleshooting steps and still experience issues:

  • Check Official Channels: Project Zomboid Discord server, official forums, Indie Stone support
  • Community Resources: Reddit r/projectzomboid, Zomboid community wiki, Steam community guides
  • Hosting Provider: Contact Supercraft support for dedicated server assistance and diagnostics
  • Log Collection: Gather server logs, client logs, console outputs, and error messages before seeking help
  • Bug Reporting: Report persistent bugs to Indie Stone with detailed reproduction steps

Final Tip: Project Zomboid servers are complex systems with many interacting components. Most issues are solvable with systematic troubleshooting: start with basic connectivity, then configuration, then mod conflicts, then hardware/resources.

Need professional Project Zomboid server hosting with automated troubleshooting? Launch your Project Zomboid server with Supercraft for optimized performance and 24/7 support.

Top