π Optimize Your Minecraft Server Performance
A laggy server is frustrating β whether you're running a big modpack or just playing with friends. Fortunately, there are some smart optimizations you can apply to boost performance significantly.
π§ 1. Choose the right Minecraft versionβ
Not all Minecraft server types are equal. Hereβs what we recommend:
Version | Best for | Notes |
---|---|---|
Purpur | Survival / Minigames | Very fast, supports plugins. |
Paper | General use | More stable & optimized than Spigot. |
Forge/Fabric | Modded servers | Heavier, needed for modpacks only. |
π Want to switch version? Read:
π Changing your Minecraft version
π Install plugins? Read:
π Installing plugins
π Use modpacks? Read:
π Installing modpacks
π οΈ 2. Adjust server.properties
β
A few config changes can instantly reduce load:
view-distance=6
simulation-distance=4
Lower values mean fewer chunks loaded per player. For most setups, 6
is a great balance.
π§ 3. Java startup options? Already optimizedβ
You donβt need to worry about JVM flags or launch arguments.
π§ͺ At OXY.Games we configure these automatically based on your package size.
We use JVM flags tuned for stable memory use and minimal lag β even with busy servers or modded worlds.
π§© 4. Remove unnecessary plugins or modsβ
Every extra plugin or mod uses CPU and RAM. Ask yourself: do I really need this?
β Avoid plugins like ClearLag (often counterproductive)
β
Instead, use:
- Spark β performance analysis
- Lithium / Starlight β optimization mods for Fabric
- Chunky β chunk pre-generation
π 5. Analyze with Sparkβ
Spark helps identify lag spikes and performance bottlenecks.
It shows:
- π₯ TPS and CPU usage per tick
- π RAM usage, loaded entities
- π§ Breakdown of slow tasks
π Full guide coming soon.
βοΈ 6. Tune your Paper or Purpur configsβ
Edit these config files for more control:
paper.yml
β
optimize-explosions: true
armor-stands-tick: false
anti-xray:
enabled: true
spigot.yml
β
ticks-per:
animal-spawns: 400
monster-spawns: 1
water-ambient-spawns: 1
bukkit.yml
β
chunk-gc:
period-in-ticks: 600
These tweaks reduce tasks per tick β especially useful for large servers or mob-heavy worlds.
π€ 7. Monitoring & AI Assistant (Coming Soon)β
Soon, OXY.Games will offer an AI assistant to analyze your logs, detect crashes, and suggest optimizations.
Until then:
- Check your console for errors
- Use
/spark
for live profiling - Use
/timings on
then/timings paste
π§± 8. Pre-generate your world (chunks)β
Exploring new terrain generates chunks β which can lag the server.
Preload them with tools like Chunky (for Paper/Purpur):
β Install Chunkyβ
- Install the plugin via the panel
- Restart your server
π Commandsβ
/chunky radius 250
/chunky shape square
/chunky start
- Run when the server is empty
- Temporarily disable backups
- Monitor CPU while generating