Performance tuning 101: view distance, ticks, and smooth gameplay
Performance tuning 101: view distance, ticks, and smooth gameplay
Lag is the villain of good Minecraft sessions. The good news: with a few smart tweaks, your server can feel butterâsmooth even with lots of activity. This guide explains what actually causes lag, the settings that matter most, and a stepâbyâstep tuning routine you can follow whenever performance dips.
What âlagâ really is
Minecraft servers run in ticks (20 ticks per second). When the server canât complete all its work within 50 ms per tick, TPS drops below 20 and players feel lag: delayed block breaks, rubberâbanding, and slow mob AI. Your goal is to keep TPS near 20 by limiting how much work happens every tick.
Main sources of tick work:
- Entity processing: mobs, item drops, minecarts, projectiles
- Chunk loading/ticking: chunks loaded around players
- Redstone, farms, and tile entities: hoppers, furnaces, pistons, etc.
- Plugins/mods: events, timers, pathfinding changes
Golden rule: change one thing at a time
When tuning, make a single change, play for 10â15 minutes, and observe TPS. Document your change so you can roll back if it didnât help.
Start with the big three
1) View distance
- Definition: How far (in chunks) the server sends terrain to players.
- Impact: More chunks loaded per player = more entities to tick.
- Recommendation: 8â10 for general play. Drop to 6â8 if TPS dips.
2) Simulation distance
- Definition: How far from players the game simulates mob AI, redstone, and crops.
- Impact: Lowering dramatically reduces tick work for farms.
- Recommendation: 6â8 for most servers; 5â6 for heavy modded or large groups.
3) Max players
- Definition: Player slot limit.
- Impact: More players = more chunks and entities.
- Recommendation: Set a realistic number. More slots doesnât improve performanceâonly expectations.
Paper and Spigot: performance superpowers
If you use Paper (recommended), you get extra configuration to tame lag without changing gameplay much.
- `paper.yml`, `spigot.yml`, `bukkit.yml`: Tuning files with safe defaults.
- Use Paperâs âasyncâ features and regionized activity to spread work across threads where possible.
- Reduce activation range for entities: limits how far from players mobs wake up.
Example safe tweaks (Paper):
- Entity activation range: modest reductions for monsters/animals
- Hopper tick rate: slightly slower hoppers reduce laggy item flows
- Merge radius for items/exp: merge floating items sooner to cut entity counts
Always back up before changes. Test on a clone if your server is busy.
Detect whatâs actually heavy
Use builtâin profiling:
- Paper timings: `/timings on`, play for 5â10 minutes, then `/timings paste`. Open the report and look for top offenders (plugins, tasks, events).
- Spark (mod/plugin): Detailed CPU sampling and flame graphs for advanced diagnosis.
Clues from gameplay:
- Lag when many mobs gather? Lower mob caps or activation ranges.
- Lag near farms? Slow hoppers, reduce redstone clocks, space out mechanics.
- Lag on exploration? Lower view distance, preâgenerate chunks, or reduce world size.
Entity and farm sanity
- Avoid cramming thousands of mobs in a single space (entity cramming limits exist for a reason).
- Use water streams and rails over massive hopper fields.
- Turn off alwaysâon redstone clocks; use playerâtriggered designs.
- Curb autoâbreeders and villager mega trading halls.
Chunk strategy
- World border: Limit world size to keep files and memory manageable.
- Preâgeneration: Generate chunks around spawn or popular routes to reduce runtime spikes during exploration.
- Trim unused chunks periodically to reclaim space.
Plugins and mods: quality over quantity
- Fewer, better plugins beat a giant pile.
- Remove abandoned or duplicate functionality.
- Update intentionally, not automatically; read changelogs.
- Prefer plugins/mods known for performance (e.g., Paper ecosystem, Lithium/Sodium/Starlight for Fabric on clients; Lithium/FerriteCore on servers where applicable).
Hardware reality check
- CPU speed matters more than core count for tick speed.
- RAM helps with modpacks and player concurrency, but more RAM can mask memory leaks.
- Disk speed affects world saves and chunk access; SSDs are essential.
Network and connection feel
- Even with perfect TPS, high ping feels laggy. Choose regions close to players.
- Avoid overâaggressive antiâcheat settings that rubberâband players.
- Keep your server address via a custom domain; switch regions later without changing playersâ bookmarks.
A practical tuning routine
1. Measure: Note TPS, player count, view/simulation distances.
2. Reduce distances: Drop view by 2 and simulation by 1. Test again.
3. Profile: Use Paper timings to spot heavy plugins/tasks.
4. Simplify farms: Slow hoppers, remove laggy clocks, reduce entity piles.
5. Trim the plugin/mod list: Disable nonâessential items and retest.
6. Preâgen chunks: Especially if exploration is a lag source.
7. Schedule restarts: Once nightly can clear gradual memory bloat.
8. Scale up thoughtfully: If youâve optimized and still struggle, consider more resources.
Sample configurations
Survival with friends (Paper):
- View distance: 8
- Simulation distance: 6
- Merge radius: modestly higher
- Hopper cooldown: slightly higher
- EssentialsX, LuckPerms, WorldEdit/WorldGuard, Vault
Light modpack (Fabric/Forge):
- View distance: 8
- Simulation distance: 5â6
- Fabric: Lithium, FerriteCore; Forge: use performance equivalents
- Avoid huge automation early; grow slowly and measure
Minigames server (Paper):
- View distance: 6â8 depending on arenas
- Simulation distance: 5â6
- Use perâworld settings to isolate heavy arenas
Teach your players good habits
- Spread out mega builds and farms.
- Clean up item drops after projects.
- Respect region protections and community rules.
- Report laggy spots so you can investigate together.
Checklist for a smooth server
- [ ] Keep TPS near 20 during normal play
- [ ] View 8â10, Sim 6â8 (lower if needed)
- [ ] Use Paper timings to profile regularly
- [ ] Limit hoppers, redstone clocks, and mob cramming
- [ ] Preâgenerate popular areas
- [ ] Curate plugins/mods; update intentionally
- [ ] Nightly restart (optional) and backups enabled
With a steady routine and a few smart defaults, youâll keep your world responsive and funâeven when the dragon fight gets chaotic and everyoneâs throwing snowballs.
About HostChicken Editorial Team
HostChicken Editorial Team contributes to the HostChicken guides, helping gamers master their servers.
