Skip to main content

πŸš€ 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:

VersionBest forNotes
PurpurSurvival / MinigamesVery fast, supports plugins.
PaperGeneral useMore stable & optimized than Spigot.
Forge/FabricModded serversHeavier, 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
🎯 Why?

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.

Did you know...

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
βœ… Extra performance

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​

  1. Install the plugin via the panel
  2. Restart your server

πŸ” Commands​

/chunky radius 250
/chunky shape square
/chunky start
πŸ’¬ Tips
  • Run when the server is empty
  • Temporarily disable backups
  • Monitor CPU while generating

❄️ Fabric/Forge Alternative​

Use Chunk-Pregenerator mod:

  • Install via "Mods" in the panel
  • Use /pregen commands

πŸ›ŽοΈ Need help?​

Still lagging? Have questions?

πŸ’¬ Contact support or ask in our Discord!


πŸ“š See also​