Troubleshooting
Encountering issues? This guide covers common problems and their solutions.
Server Won't Start
Java Version Issues
Problem: Server crashes immediately or shows "Unsupported class version" error.
Solution:
- Nukkit requires Java 21 or later
- Check your Java version:
java -version - Download Java 21 from Adoptium
Port Already in Use
Problem: Error message: "Port 19132 is already in use"
Solution:
- Another server is using the same port
- Change the port in
server.properties:server-port=19133 - Or stop the other application using port 19132
Corrupted Configuration
Problem: Server crashes with config-related errors.
Solution:
- Delete
Nukkit.ymlandserver.properties - Restart the server to generate fresh configs
- Reapply your custom settings carefully
Players Can't Connect
Local Connection Issues
Problem: Can't join using 127.0.0.1 on Windows.
Solution:
- Use your LAN IP instead (e.g.,
192.168.x.x) - Find your LAN IP: Run
ipconfigin Command Prompt - Or apply Windows loopback exemption (see Installation Guide)
Port Forwarding Not Working
Problem: Friends can't join from outside your network.
Solution:
- Verify port forwarding: UDP port
19132must be forwarded - Check firewall: Allow Java/Nukkit through Windows Firewall
- Use correct IP: Share your public IP (search "what is my ip")
- Test locally first: Ensure you can join before inviting friends
Whitelist Enabled
Problem: Players get "Not whitelisted" message.
Solution:
- Add players to
white-list.txt - Or disable whitelist:
whitelist offin console
Performance Issues
Server Lag / TPS Drops
Problem: Server is slow, blocks take time to break.
Solution:
- Allocate more RAM: Edit startup script (increase
-Xmxvalue) - Reduce view distance: Lower
view-distanceinserver.properties - Limit entities: Check for entity farms or mob spawners
- Update plugins: Old or inefficient plugins cause lag
- Check server specs: Ensure your hardware meets requirements
High Memory Usage
Problem: Server uses too much RAM.
Solution:
- Reduce allocated RAM if over-provisioned
- Clear unused chunks
- Limit loaded plugins
- Restart server regularly (daily/weekly)
Plugin Issues
Plugin Not Loading
Problem: Plugin doesn't appear in plugins list.
Solution:
- Check
logs/server.logfor errors - Verify plugin compatibility with your Nukkit version
- Ensure
.jarfile is in theplugins/folder (not a subfolder) - Check for missing plugin dependencies
Plugin Conflicts
Problem: Two plugins don't work together.
Solution:
- Check plugin documentation for known conflicts
- Remove one plugin at a time to identify the issue
- Update both plugins to latest versions
World Corruption
World Won't Load
Problem: Server crashes when loading a world.
Solution:
- Restore from backup: Replace
worlds/world/with your backup - Delete region files: Remove corrupted chunks from
worlds/world/db/ - Start fresh: Rename
worlds/and generate a new world
Finding Help
Check the Logs
Always check logs/server.log for error messages:
Search for Errors
Copy the error message and search:
- Nukkit GitHub Issues
- Discord Community
- Google/Stack Overflow
Ask for Help
When asking for help, provide:
- Server version:
versioncommand output - Error message: Full error from logs
- Steps to reproduce: What you did before the error occurred
- Recent changes: New plugins, config changes, updates
Still Stuck?
Join the Nukkit community for support:
- Discord: Active community chat
- GitHub: Report bugs and issues
- Forums: Detailed discussions