- 1. What Causes Minecraft Server Lag?
- 2. 1. Upgrade the Minecraft Server Hardware
- 2.1. RAM Memory
- 2.2. Hard Drive
- 2.3. CPU
- 3. 2. Fix Corrupt, Broken, and Misconfigured Files
- 3.4. Plugin Version Incompatibility
- 3.5. Plugin Memory Leaks
- 3.6. World Entity or Chunk Errors
- 3.7. High Player View Distance
- 4. 3. Install Monitoring and Anti-Lag Plugins
- 5. 4. Upgrade your Minecraft Server Hosting
- 5.8. Upgrade to a Minecraft VPS Server
- 5.9. Upgrade to a Minecraft Dedicated Server
- 6. Tips
- 7. Related
- 7.10. Advanced Farming and Herding Guide
- 7.11. Building a Basic Camp in Rust
- 7.12. How to Install Minecraft Mods
- 7.13. How to Play Minecraft Multiplayer
- 7.14. How to Avoid Starvation in Rust
- 7.15. How to Setup WorkshopDL for Garry’s Mod
- 7.16. How to Accept the Minecraft EULA
- 7.17. How to Create an Epic Rust Server
- 8. About This Article
This article will teach you how to identify causes of Minecraft server lag and different methods you can use to decrease lag on your Minecraft server.
What Causes Minecraft Server Lag?
Minecraft server lag can be caused by:
- Server resource load, especially RAM
- Player count
- Number of mods installed on the server
- Size of the world map
- Broken and Misconfigured Plugins
These issues can cause problems by delaying server events such as command execution or placing blocks.
Note: If you’re experiencing problems with your game, such as freezing or low FPS, you should check out this guide on making Minecraft run faster on your computer, since our guide is for server lag.
1. Upgrade the Minecraft Server Hardware
Your server hardware could be overworked (and slow) depending on how you’ve set up your game server. Things such as how many server plugins you have installed or the size of the map can slow down your Minecraft server.
If your Minecraft server is slow due to large resource demand, below we’ve listed some of the hardware you should upgrade or investigate.
RAM is very important in terms of load capacity and dedicating more RAM to your Minecraft server can greatly increase it’s ability to handle more mods and players.
Solid State Drives (SSDs) will give you the best speed – if you can afford it, it’s definitely the right hard drive option for a Minecraft server.
You should also look into setting up RAID configurations.
This may not be an option for those on shared Minecraft game server hosting, but those with access to the server CPU should definitely upgrade it for an overall performance boost.
2. Fix Corrupt, Broken, and Misconfigured Files
If your Minecraft server is lagging even when resource demand is low, something may be broken or misconfigured, such as a plugin, but luckily there are things you can do to find and stop your server’s lag.
Below we’ve explained common reasons for lag in Minecraft servers.
Plugin Version Incompatibility
This may be obvious but is easy to forget, so make sure to keep your plugins updated to avoid issues with conflicting versions between the mods and your server!
Plugin Memory Leaks
A misconfigured or broken plugin could be causing a memory leak and consuming too many server resources.
Try removing plugins one by one and restarting your server to discover which one could be causing an issue.
World Entity or Chunk Errors
It is possible that your Minecraft server world has become corrupted through either chunk or entity errors, causing your server to lag.
Try running the server on a new world to see if it runs better – this will tell you if there is an issue with your world that you should investigate.
High Player View Distance
If your server’s view distance is set too high, the server will lag since it has to load more chunks and entities around players than it can handle.
You should try lowering your View Distance setting in your server’s server.properties file to reduce lag, between 3 and 15 (10 is default).
3. Install Monitoring and Anti-Lag Plugins
You can (and should) monitor your server and even decrease lag by installing plugins designed just for that. Depending on your server setup, search for anti-lag, monitoring, and Minecraft server diagnostic plugins that are compatible with your server’s software, such as Bukkit or Spigot.
Popular Minecraft server monitoring and anti-lag plugins include:
- AntiLag 2.0 for Spigot is a set and forget plugin that claims to deal with lag once and for all.
- MassiveLag for Spigot (Premium) is a diagnostic tool for monitoring your server.
- ClearLag for Bukkit claims to drastically reduce lag if you just type /lagg!
- NoLagg for Bukkit is highly configurable while letting you lower and monitor lag.
4. Upgrade your Minecraft Server Hosting
Most Minecraft servers run on shared server hosting environments, meaning other Minecraft servers are running on the same dedicated server as your Minecraft server. Since these other Minecraft servers are sharing server resources with you, they could cause your server to slow down.
Upgrade to a Minecraft VPS Server
Your first option is to upgrade to virtual private server hosting, which will dedicate a virtual server instance with its own operating system to your Minecraft server.
While this option doesn’t restrict all dedicated server resources to your Minecraft server, its a drastic increase in speed from shared game server hosting, gives you total control of your own server instance with a dedicated operating system, and lets you run as many Minecraft servers as you wish at no extra cost.
Upgrade to a Minecraft Dedicated Server
A dedicated server will give you the most flexibility and power to run a Minecraft server (or multiple Minecraft servers). Keep in mind that it’s the most expensive way of hosting a Minecraft server!
That aside, if you rent your own dedicated server for Minecraft hosting you’ll be able to completely configure your server to your liking and take full management of server resources.
Featured image by Jackardo
- Most hosting providers won't provide support for your Minecraft servers if you set them up yourself on a VPS or dedicated server, so make sure you have the necessary experience to setup and maintain your Minecraft servers!