Resources
Performance Guide
Complete performance optimization guide for Cafora Minecraft servers.
This guide provides a systematic approach to optimizing your Minecraft server for the best possible performance.
Step 1: Choose the Right Software
Server software choice is the single biggest performance factor:
| Software | Performance | Best For |
|---|---|---|
| Paper | Excellent | Most servers (recommended) |
| Purpur | Excellent+ | Advanced configuration needs |
| Fabric + Lithium | Very Good | Modded servers |
| Spigot | Good | Legacy compatibility |
| Vanilla | Baseline | Pure vanilla experience |
| Forge | Baseline | Heavy modpacks |
Step 2: Configure Server Properties
view-distance=8
simulation-distance=6
max-players=20
network-compression-threshold=256Step 3: Optimize Entity Settings
Reduce entity processing load in server configuration files. See optimization config examples.
Step 4: Pre-Generate Your World
Use Chunky to generate all chunks within your world border before players explore. This prevents the single biggest source of runtime lag.
Step 5: Profile and Iterate
- Run Spark profiler during peak player count
- Identify the top CPU and memory consumers
- Optimize or replace problem plugins/mods
- Repeat until performance is stable
Performance Troubleshooting
| Symptom | Likely Cause | Solution |
|---|---|---|
| Low TPS | CPU bottleneck | Profile with Spark, optimize |
| OOM crashes | RAM limit exceeded | Reduce usage or upgrade plan |
| Chunk lag | Runtime generation | Pre-generate world |
| Join lag | Too many chunks loading | Reduce view distance |
| Periodic lag | GC pauses | Optimize JVM flags |
| Entity lag | Too many mobs/items | Reduce mob caps, clear items |