Nothing kills a Minecraft community faster than a laggy server. Rubber-banding, delayed block placement, and TPS drops frustrate players and drive them away. In this guide I'll walk through every major cause of Minecraft server lag and give you practical, tested fixes for each.
Before diagnosing lag, you need to understand TPS (ticks per second). Minecraft runs on a game loop that should tick exactly 20 times per second. Each tick processes mob AI, redstone, player movement, entity updates, and more. When the server can't complete a tick within 50ms, it falls behind and TPS drops below 20.
Check your TPS in-game with /tps (requires Paper/Spigot or the EssentialsX plugin). If you see consistent drops below 18, work through the fixes below.
This is the single highest-impact change you can make. Paper is a high-performance fork of Spigot that includes hundreds of optimizations not present in vanilla Minecraft — async chunk loading, improved entity handling, and optimized mob AI among them.
Switching from vanilla to Paper typically improves TPS by 2–5 points under the same load. All XyleHosting Minecraft plans support one-click Paper installation from the Pterodactyl panel — no manual file management required.
The Java garbage collector handles memory management. Poor GC settings cause freeze-frames ("lag spikes") every few seconds as Java pauses to clean up memory. Use Aikar's flags for dramatically smoother performance:
java -Xms4G -Xmx4G -XX:+UseG1GC -XX:+ParallelRefProcEnabled
-XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions
-XX:+DisableExplicitGC -XX:+AlwaysPreTouch
-XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40
-XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20
-XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4
-XX:InitiatingHeapOccupancyPercent=15
-XX:G1MixedGCLiveThresholdPercent=90
-XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32
-XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1
-jar server.jar nogui
Replace 4G with your plan's allocated RAM (e.g. 8G for the 8 GB plan). Set both Xms and Xmx to the same value to prevent GC thrashing.
When players explore new terrain, Minecraft generates fresh chunks on-the-fly — a CPU and disk-intensive operation. On busy servers this causes major TPS drops. Pre-generating a fixed world border eliminates this entirely.
Use the Chunky plugin for Paper (free on Hangar). A 5,000-block radius pre-generation takes 10–30 minutes and permanently removes new-chunk generation lag. After pre-generating, set a world border with /worldborder set 10000 to keep players within the pre-generated area.
Entities (mobs, item drops, minecarts, arrows) are the single biggest TPS consumer in most servers. Each entity is processed every tick. Recommended limits in paper.yml:
max-entity-collisions: 2 (default 8)mob-spawner-tick-rate: 2 (default 1)merge-radius.item: 3.5 to merge dropped itemsbukkit.yml, reduce spawn-limits monsters to 50 (from 70)Also use the ClearLagg plugin to automatically remove excessive item drops every few minutes.
Poorly written plugins that execute code every tick are one of the most common causes of TPS drops on community servers. Use the Spark profiler plugin to identify exactly which plugins are consuming the most CPU time:
/spark profiler start during a lag spike/spark profiler stopIf you've optimized settings and plugins but still see TPS drops, your underlying hardware may be the bottleneck. The most impactful upgrade is moving to a higher single-core clock speed CPU. XyleHosting's AMD Ryzen 9 plans offer up to 5.1 GHz boost clock — the highest available in our lineup — directly translating to better TPS under load.
Similarly, if your current host uses SATA SSDs or HDDs, moving to a provider with NVMe storage eliminates chunk loading stalls. See our infrastructure page for full hardware specs.
The most common causes are insufficient RAM, slow CPU single-core performance, too many/poorly coded plugins, large unexplored world areas causing chunk generation, and hosting on slow SATA or HDD storage.
A healthy Minecraft server should maintain 20 TPS. Below 18 TPS you'll notice rubber-banding and lag. Below 15 TPS the server is critically overloaded and needs immediate attention.
More RAM helps if the server is running out of memory, but RAM alone doesn't fix CPU-side lag. If your TPS is low due to entity processing or plugin calculations, upgrading to a faster CPU — like our AMD Ryzen 9 plans — will have more impact.
Paper is the best server software for reducing Minecraft lag. It includes hundreds of performance patches. For even more optimization, try Purpur. For modded servers, use Fabric with Lithium, Starlight, and Ferritecore mods installed.
XyleHosting's AMD Ryzen 9 plans deliver the highest single-core performance for Minecraft in Nepal. Starting at $8.99/mo with NVMe storage and DDoS protection.
View Ryzen Plans →