Finds what is making your Minecraft server lag, tells you in plain words, and takes you there with one click.
Your server lags. Where, and why?
Lag Detective scans your loaded chunks and shows the laggiest ones in plain English, for example "212 mobs (mostly chicken)" or "64 hoppers". Each result has a one-line fix tip and a clickable [Go] button that flies you to that chunk.
What it does
/lagd scan: top 10 laggiest chunks with a lag score, what is in them, a fix tip, and a [Go] button./lagd go <n>: fly to chunk n of your last scan (spectator mode)./lagd backreturns you to your old spot and game mode./lagd players: players ranked by the lag around them./lagd info: TPS, memory, entities and machines per world, and the most common types./lagd reload: reload the config.
Safe by design
- Read-only. It only looks. It never deletes or changes anything on your server.
- No network calls, no data collected, no dependencies.
- The scan is spread over several ticks (max 8 ms per tick by default), so scanning does not lag the server.
Install
Put the jar in your plugins folder and restart. Java Edition servers only.
Compatibility (tested on real servers)
Paper 1.16.5, 1.18.2, 1.20.4, 1.21.11. Purpur 1.21.11. Spigot 1.21.11. Folia 1.21.11 (one region tested).
Other versions between 1.16 and 1.21.11 use the same API and are expected to work, but were not tested. Not for Bedrock. Not a proxy plugin (BungeeCord/Velocity). On Spigot the TPS line shows "not available" because Spigot has no TPS API. Everything else works.
Permission
lagdetective.use (ops by default). Alias: /lagd.
Configuration
config.yml: score weights, thresholds, number of results, scan speed.
messages.yml: every message, so you can translate it.
Known limits
You must be online to use [Go]. /lagd go and /lagd players use your last scan. Spigot scans are a little heavier than Paper because tile entities are copied. Tested on worlds up to about 500 loaded chunks.
Information
Pinned Versions
- R1.16.5–1.21.11
Pages
Members
1Owner