Lag!
π Lag Causes & Fixes
For Vanilla & Performance-Oriented Minecraft Servers
Lag can creep in from many anglesβCPU overload, entities piling up, or just poorly tuned configs. This guide covers common issues and real fixes, including modern plugins, server forks, and custom tools we recommend at Revitalize.
π Types of Lag
-
TPS Lag β Caused by server overload (slow ticks, stutters, redstone, mobs, etc.)
-
Network Lag β Caused by high ping, poor routing, or DDoS (see our protection tips).
-
FPS Lag β On the client. Not your job, but players may blame you.
βοΈ Real-World Lag Causes & Fixes
Issue | Description | Fix |
---|---|---|
π Mob Overload | Too many animals, villagers, or hostile mobs. | Use FarmLimiter, limit breed rate, or reduce activation range. |
π Hoppers & Redstone | Constantly ticking hoppers or loops. | Limit hoppers, use hopper.disable-move-event , and plugins like RedstoneClockPreventer. |
π£ TNT & Block Updates | Big explosions or fast updates cause spikes. | Limit explosion radius or use TNTLimiter. |
π§± Chunk Load Lag | Runtime chunk gen causes huge spikes. | Pre-generate your world with Chunky or FAWB. |
πͺ Economy/Scoreboard Plugins | Badly written plugins ticking constantly. | Use /spark or /timings to hunt down the offenders. |
π¦ Too Many Plugins | More isnβt better if theyβre unoptimized. | Audit your plugin listβless is more. |
π§ͺ Modern Optimization Tools
-
Spark β Real-time profiling. Shows tick usage, memory, and plugin impact.
-
Timings β Good for historical lag detection. Use
/timings on
+/timings paste
. -
LagAssist (optional) β Combo plugin with performance alerts, anti-xray, and more.
-
FarmLimiter β Automatically caps mob farms, villagers, and entities by region.
-
Chunky β Best tool for safe, modern pre-generation of your world (works with Nether/End).
π§΅ Advanced Server Forks (We've Used These!)
Fork | Purpose | Why Use It |
---|---|---|
Paper | Performance base | Solid default with tons of patches |
Pufferfish | Tick optimization | Async pathfinding, faster redstone, etc. |
Purpur | Extra customization | Control mob AI, hopper speeds, etc. |
Folia (experimental) | Multithreaded region ticking | High performance, but use with caution |
Universal (Yiveβs Mirror) | Custom builds | Often include tweaks for massive servers |
π‘ We specialize in assisting communities tackle lag. Let us help, seriously!
π Custom Solutions & Tips
-
πΎ Auto-Restarts + Backups β Use schedules in your panel to restart during off-hours.
-
π TCPShield or NeoProtect β Protect your backend from DDoS and force routed access.
-
π IP Locking for Bungee/Velocity β Always firewall your backend servers to only allow proxy access.
-
π¦ Minimal Plugin Stack β Use only what you need, and test performance after each addition.
-
π Store World in a RAM Disk (if your host allows it) β Speeds up chunk reads/writes significantly.
π§Ό Housekeeping Tips
-
Pre-gen your world before launch
-
Restart daily, or at least every 12β24 hours
-
Disable fire spread and TNT chain reactions if unnecessary
-
Set simulation distance to 4β6
-
Avoid giving players unrestricted access to redstone, pistons, etc.