Cafora Docs
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:

SoftwarePerformanceBest For
PaperExcellentMost servers (recommended)
PurpurExcellent+Advanced configuration needs
Fabric + LithiumVery GoodModded servers
SpigotGoodLegacy compatibility
VanillaBaselinePure vanilla experience
ForgeBaselineHeavy modpacks

Step 2: Configure Server Properties

view-distance=8
simulation-distance=6
max-players=20
network-compression-threshold=256

Step 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

  1. Run Spark profiler during peak player count
  2. Identify the top CPU and memory consumers
  3. Optimize or replace problem plugins/mods
  4. Repeat until performance is stable

Performance Troubleshooting

SymptomLikely CauseSolution
Low TPSCPU bottleneckProfile with Spark, optimize
OOM crashesRAM limit exceededReduce usage or upgrade plan
Chunk lagRuntime generationPre-generate world
Join lagToo many chunks loadingReduce view distance
Periodic lagGC pausesOptimize JVM flags
Entity lagToo many mobs/itemsReduce mob caps, clear items

See Also

On this page