VillagerOptimizerPlugins · 1.16 – 1.21Fix server lag caused by lots of villagers on your server

Find where lag comes from, who built it, and fix it safely
Direct download from SpigotMC · 1 downloads
LagLens is a plugin for Paper / Spigot servers, made by NootherG. Find where lag comes from, who built it, and fix it safely.
It supports Minecraft 26.x. It has been downloaded 1 times on SpigotMC. That puts it at #117 of the 122 performance plugins listed here. The last update came out on Nov 12, 2026.
The newest is 1.2.0, released on Nov 12, 2026.
| Version | Released | Type |
|---|---|---|
1.2.0 | Nov 12, 2026 | Release |
The commands named on the SpigotMC page of LagLens:
/ll/laglensPermission nodes named there, to give with a plugin like LuckPerms:
laglens.alertslaglens.stafflaglens.fixlaglens.fix.redstone-freezelaglens.fix.undolaglens.adminFind where lag comes from, who built it, and fix it safely.
Paper 26.1+ • Java 25 • CoreProtect optional • No player punishments, ever
▌ What is LagLens?
When MSPT climbs, you usually get a number but not a cause.
LagLens gives you the cause.
It counts lag-causing activity in every chunk: redstone, pistons, hoppers, mob spawns, item piles, fluids and TNT. It estimates how much of each server tick that activity costs, asks
CoreProtect who placed the blocks doing the work, and offers
14 one-click remedies. Remedies limit the
contraption, never the player. They're reversible where possible, time-limited and logged.
Code (Text):
▸ H-3fa2 · Redstone clock · world 1204, 64, -338 · ≈2.06 ms/tick (4%) ▲ rising · about 18 pulses/s
· Builder: Steve 82%, unknown 18% [TP] [Inspect] [⚡ Redstone freeze]
/ll: server health and the top hotspots, with buttons to teleport, inspect or fix
▌ Features
▌ The Dashboard
Everything is one click away from
/ll menu. The menus are symmetrical, colour-coded and update live.
The dashboard: server health at a glance and a door to every screen
One hotspot in full: what's doing the work, the 5 hottest blocks, who built it, and how to fix it
The remedy picker. Remedies that fit this hotspot glow.
▌ Remedies
Every remedy gets an id (
R-1,
R-2…), is written to the audit log and survives restarts. Undo any reversible remedy with
/ll undo R-12.
Named, tamed, leashed and ridden mobs are never touched, and neither are villagers by default. You can also mark spawn and event areas as exempt so they're never remedied. Optional
auto-remedies can act on their own once a hotspot has stayed expensive for a sustained period.
▌ Alerts
Staff with
laglens.alerts get a clickable chat alert:
You can also post alerts to a
Discord webhook. Mentions are disabled in those posts. Try
/ll alerts test to preview one privately.
A lag alert in chat: click any hotspot to act on it
▌ Trends & Repeat Offenders
LagLens remembers every time a place becomes a hotspot. A place that has been a hotspot
3 times in 7 days gets a
⟳ Repeat marker everywhere it appears. The Trends screen and
/ll trends rank:
Trends: places and builders that keep coming back, over 24 h, 7 d or 30 d
▌ Ignore an Area
Teleported over and the farm is fine? Click
Ignore for… and
choose how long: 30 minutes to 7 days, with no default. The area drops out of lists, alerts, auto-remedies and trends until the time runs out. It stays hidden even if the farm grows. Ignores survive restarts and are logged, and
/ll ignored shows whether an ignored area is still busy underneath.
Staff always choose how long
▌ Telling the Builder
When a remedy is applied, the builder gets a friendly message explaining what was limited, where, for how long, and how to fix their build. If they're offline, they get it on their next join. To avoid blaming the wrong person, notices only go to a builder with at least 40% of the activity, from a lookup that isn't low confidence.
What the builder sees
▌ Commands
Root command
/laglens, alias
/ll. Every argument tab-completes, with tooltips.
Spoiler: All commands
Tab completion with tooltips: a hotspot's cause and cost, what each remedy does
▌ Permissions
Spoiler: Permissions
Because each remedy has its own node, helpers can freeze redstone while only admins can remove entities.
▌ Requirements & Install
▌ Good to Know
Disclaimer: You do not have permission to decompile, edit, or distribute this resource. This resource uses bStats to obtain important metrics and is switched ON by default. You may opt out of bStats metrics on your server at any time, but it is greatly appreciated if you could leave them on. Please respect the licenses of CoreProtect, a soft dependency of LagLens.
Found a bug, have an idea, or need support? Use the discussions tab on this resource as I check it regularly. Please include your server version and the output of /ll self.
Written by NootherG. Read it with pictures on SpigotMC.
Make sure your server runs Paper and Spigot on Minecraft 26.x.
Download the .jar file from SpigotMC and put it in the plugins folder of your server.
Restart the server. Avoid /reload, many plugins do not handle it well.
Type /plugins in the console: LagLens should be listed in green. Its config files are created in the plugins folder on the first start.
Full guide: How to install plugins on a Minecraft server
| Resource | Downloads | Versions | Last update | Price |
|---|---|---|---|---|
| 1 | 26.x | 1 day ago | Free | |
| 25K | 1.16 – 1.21 | Jul 30, 2024 | Free | |
| 24K | 1.20 – 26.x | 12 days ago | Free | |
| 505 | 1.16 – 1.21 | Oct 7, 2025 | Free |
Yes. LagLens supports Minecraft 26.x. All supported versions: 26.x.
Yes. LagLens is free to download from SpigotMC.
LagLens runs on Paper and Spigot servers.
Yes. The last update came out in the past day.
The closest ones are VillagerOptimizer, ClearLaggEnhanced and LessLag. Compare all alternatives
VillagerOptimizerPlugins · 1.16 – 1.21Fix server lag caused by lots of villagers on your server
ClearLaggEnhancedPlugins · 1.20 – 26.xThe definitive ClearLagg successor for 1.20+. Boost TPS and fix lag on Paper, Spigot, and Folia with smart entity clearing and a real-time Admin GUI.
LessLagPlugins · 1.16 – 1.21Improve Server performance and fix common lag causes.
Inspired by the Let Me Despawn mod / plugin, this eliminates one of Minecraft's most severe hidden lag sources: hundreds of cave mobs hoarding items…
ClearLaggPlugins · 1.8 – 1.20Diagnose, or use one of clearlag's many utilities to reduce lag
AsyncWorldEditPlugins · 1.8 – 1.18Async WorldEdit - Edit millions of blocks without lag!
Log in to leave a review.