How to Optimize Your Minecraft Server for Better Performance (Complete Guide)
Running a Minecraft server is fun — until lag starts ruining the experience. Whether you're hosting a survival world for friends or running a larger community server, server optimization is essential for smooth gameplay.
In this guide you'll learn how to reduce lag, improve TPS, and optimize your Minecraft server, especially for Paper, Spigot, and Fabric servers.
What Causes Minecraft Server Lag?
Before optimizing, it helps to understand what causes performance issues.
The most common causes are:
- Too many loaded chunks
- Inefficient plugins or mods
- Excessive entities (mobs, items)
- Slow storage
- Not enough RAM
- Poor server configuration
Most lag problems can be solved with simple configuration changes.
Use the Right Server Software
The first step in optimization is choosing the correct server software.
Paper (Recommended)
Paper is one of the most optimized Minecraft server platforms.
Benefits:
- Improved performance over Spigot
- Built-in optimization settings
- Plugin compatibility
- Active development
Paper is ideal for survival servers, minigames, and community servers.
Fabric (Best for Modded Servers)
If you're running mods instead of plugins, Fabric is one of the best choices.
Fabric advantages:
- Lightweight mod loader
- Faster updates
- Excellent performance compared to Forge
- Large optimization mod ecosystem
Recommended performance mods:
- Lithium
- FerriteCore
- ScalableLux (modern lighting engine optimization)
- ServerCore — adds Spigot/Paper/Purpur style optimizations to Fabric while maintaining vanilla behavior with the default configuration
These mods can significantly reduce server load while maintaining gameplay stability.
Optimize Your Server Configuration
Many performance improvements come from adjusting configuration files.
View Distance vs Simulation Distance
Many server owners lower view distance to reduce lag, but on modern Paper servers view distance is rarely the main performance issue.
View distance can usually stay between 6 and 12 without problems.
The simulation distance is much more important, because this determines how many chunks are actively ticking entities and redstone.
Example configuration in server.properties:
view-distance=8
simulation-distance=4Recommended ranges:
- View distance: 6–12
- Simulation distance: 2–6
Lower simulation distance greatly reduces CPU load.
Optimize Entity Activation Range
Entity activation range controls how far away mobs must be before they stop ticking.
This setting is found in `spigot.yml`, not Paper configuration files.
Example:
entity-activation-range:
animals: 16
monsters: 24
villagers: 16Lower values reduce the number of active entities, which can significantly improve performance on busy servers.
Note: Since Minecraft 1.19, Paper split its configuration files into multiple files located in the /config folder rather than using the old paper.yml.
Pre-Generate Your World
World generation is one of the biggest causes of lag.
When players explore new terrain, the server must generate chunks in real time.
Solution: pre-generate the world before players explore it.
Useful plugins:
- Chunky
- WorldBorder
Example using Chunky:
/chunky radius 5000
/chunky startThis generates chunks ahead of time and prevents lag spikes during exploration.
Optimize Redstone and Farms
Large farms and complex redstone machines can heavily impact server performance.
Best practices:
- Avoid extremely large mob farms
- Limit long hopper chains
- Reduce unnecessary entity spawning
- Consider farm limiter plugins if needed
Keeping farms reasonable helps maintain stable TPS.
Monitor Your Server Performance
Understanding what causes lag is key to optimizing your server.
Modern Paper servers include the Spark profiler, which replaces the older /timings system.
To open the Spark profiler:
/spark profiler openSpark provides a detailed performance report showing:
- CPU usage
- Plugin performance
- Entity activity
- Tick usage
Because Spark runs asynchronously, it is more efficient and easier to read than the old timings system.
Automatically Optimize Configurations
A useful plugin for server owners is Kryptonite.
Kryptonite provides:
- A GUI for server optimization
- Easy configuration adjustments
- One-click optimization presets
- Automatic application of best practices from the popular YouHaveTrouble Minecraft optimization guide
This makes it much easier to optimize server configuration files without manually editing them.
Keep Plugins and Mods Updated
Outdated plugins or mods can cause memory leaks and performance issues.
Best practices:
- Update plugins regularly
- Remove unused plugins
- Avoid installing unnecessary plugins
Most well-optimized servers run fewer than 40 plugins.
Use Fast Storage
Minecraft constantly reads and writes world data.
Using NVMe storage instead of traditional hard drives dramatically improves:
- Chunk loading
- World saves
- Server startup time
This is why modern hosting platforms prioritize NVMe-based infrastructure.
Final Tips for a Smooth Minecraft Server
Here are some quick best practices:
- Keep simulation distance optimized
- Control entity counts
- Pre-generate worlds
- Avoid unnecessary plugins
- Monitor performance using Spark
- Use optimized server software like Paper
Following these tips can dramatically improve server performance and create a smoother experience for players.
Start a Lag-Free Minecraft Server
If you want a fast server without complicated setup, hosting platforms like SwiftServers make it easy to launch optimized Minecraft servers with modern infrastructure.
With support for Paper, Spigot, Fabric, and modded servers, you can focus on playing instead of troubleshooting lag.