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:
- Check Port Forwarding: Ensure ports 16261 (default UDP) and 16262 (Steam query) are properly forwarded on your router.
- Verify Firewall Settings: Add exceptions for Project Zomboid server executable in Windows Firewall or configure iptables on Linux.
- Test Local Connection: Try connecting from a device on the same network to rule out internet issues.
- Check Server Status: Verify the server process is running with
netstat -tulpn | grep 16261(Linux) or Resource Monitor (Windows). - 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:
- Enable Steam Query: Ensure
SteamPort=16262andSteamQueryPort=16262are set inpzserver.ini. - Check Query Port: Verify port 16262 is open and accessible (used for Steam queries).
- Wait for Registration: Steam server browser can take 5-15 minutes to register new servers.
- Server Name Format: Avoid special characters in server name that might break browser listing.
- Use Server Browser Commands: Try
/refreshin 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:
- Optimize Zombie Settings: Reduce
ZombieCountor adjust distribution in sandbox settings. - Increase Memory Allocation: Add
-Xmx4g(or higher) to server startup arguments for more RAM. - Reduce View Distance: Lower
ViewDistancein server settings to reduce client-server sync load. - Schedule Regular Restarts: Daily server restarts clear memory leaks and improve performance.
- 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:
- Limit Player Count: Reduce
MaxPlayerssetting to match server capabilities. - Optimize Java Arguments: Use optimized JVM flags:
-XX:+UseG1GC -XX:MaxGCPauseMillis=200. - Regular Restarts: Schedule daily server restarts to clear memory leaks.
- Monitor with Tools: Use
htop(Linux) or Process Explorer (Windows) to identify resource hogs. - 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:
- Restore from Backup: Use Supercraft's automated backups or manual backup files in
server-data/Saves/. - Verify File Permissions: Ensure server has write access to save directory.
- Check Disk Space: Ensure adequate free space for world saves (minimum 2GB).
- Use Map Fix Tools: Consider using "Project Zomboid Map Fix" tools for corrupted map files.
- 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:
- Backup Character Files: Regularly backup
players.dbfromserver-data/db/directory. - Check Database Integrity: Use SQLite browser to verify
players.dbisn't corrupted. - Avoid Cross-Server Transfers: Character files may not be compatible between different server modsets.
- Manual Restoration: Replace corrupted character data with backups using SQLite tools.
- 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:
- Verify Mod Versions: Ensure all mods are updated to latest versions compatible with Project Zomboid version.
- Check Load Order: Some mods require specific load order in
server-data/Server/mod list files. - Test Mods Individually: Disable all mods, then enable one at a time to identify conflicts.
- Check Workshop IDs: Ensure server and clients subscribe to same Workshop IDs (not local mod files).
- 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:
- Verify Map Installation: Ensure map files are correctly placed in
server-data/media/maps/. - Check Map Compatibility: Confirm map is compatible with current Project Zomboid build.
- Client-Side Installation: Players may need to install map mods separately if not auto-downloaded.
- Map File Permissions: Ensure server has read access to map files and directories.
- 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:
- Check Admin Files: Verify username in
pzserver_admin.txt(case-sensitive, exact Steam name). - Reset Admin Database: Delete
pzserver.dbinserver-data/db/to reset permissions (preserves player data). - Verify Steam Name: Ensure Steam profile name matches exactly what's in admin file.
- Check File Permissions: Server must have write access to admin and database files.
- 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:
- Check Database Integrity: Verify
pzserver.dbisn't corrupted using SQLite browser. - Use Steam IDs: Ban by Steam ID (64-bit) instead of username for more reliable bans.
- Verify Whitelist Enable: Ensure
Open=falseinpzserver.iniand whitelist file populated. - File Permissions: Server needs write access to database for ban persistence.
- 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.txtfor connection errors
Preventative Measures
Best Practices to Avoid Issues:
- Regular Backups: Schedule automated daily backups of world, character, and database files.
- Update Management: Test game updates and mod updates on a staging server before deploying to production.
- Monitor Resources: Use monitoring tools to track CPU, memory, and disk usage trends.
- Document Configuration: Keep records of server settings, mod lists, sandbox configs, and custom changes.
- Community Communication: Inform players of scheduled maintenance, updates, and expected downtime.
- 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.