Back to mods
Lag Explainer project artwork

CurseForge · Minecraft mod

Lag Explainer

Reads a spark report and tells you in plain English which mod or plugin is lagging your server, and why.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Lag Explainer release matches 26.1.2 Forge?

Updated yesterday
Best match for your filters Lag Explainer 1.0.1 (forge)
Game version 1.16.3, 1.17.1, 1.21
Loader Forge

Lag Explainer 1.0.1 (forge) targets 1.16.3, 1.17.1, 1.21 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Lag Explainer required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Lag Explainer 1.0.1 (forge) need?

Lag Explainer 1.0.1 (forge) on 26.1.2 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

spark Optional for Lag Explainer 1.0.1 (forge)
optional
Matching file found Matched file: 1.10.187 (Forge 26.x)

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Lag Explainer without breaking your instance.

Built for Lag Explainer 1.0.1 (forge) on 26.1.2 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Lag Explainer 1.0.1 (forge). It targets 1.16.3, 1.17.1, 1.21 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Lag Explainer 1.0.1 (forge). It opens that exact file at the source.

About this project

What does Lag Explainer add?

Your server lags, you ran spark, and now you are staring at a flame graph with ten thousand Java frames in it. Lag Explainer reads that report for you and says what is going on, in a few lines of plain English.

/lagexplain https://spark.lucko.me/AbCdEf1234
Lag Explainer: Forge (MC 1.20.1), 60 s profile, 1139 ticks
Verdict: the server is LAGGING. TPS ~18.9 of 20, ticks take ~23.2 ms on average (limit 50 ms).
Plugins / mods:
 - library_of_exile eats 33% of tick time (~7.7 ms/tick), mostly chunk loading, unloading & generation (hottest code: MapGenerationUTIL.spawnStructure)
Where the tick time goes:
 - Chunk loading, unloading & generation: 32% (~7.5 ms/tick)
 - Entities (mobs, items, players): 24% (~5.6 ms/tick), mostly Zombie (36%)
 - Player connections & entity tracking: 21% (~4.8 ms/tick)
 - Mob spawning: 8% (~1.8 ms/tick)
Tip: players are loading or generating new chunks. Pre-generate the world or lower view distance.

(That is a real report from a real modpack server.)

How to use it

  1. /spark profiler start, let the lag happen for a minute, then /spark profiler stop.
  2. /lagexplain <the link spark prints> (or /lagx). Ops only (permission level 2, or lagexplainer.use on Bukkit).

The report can come from any server. You can explain a Paper report on a Fabric server and the other way round.

What it tells you

  • Which plugin or mod costs how much of the server tick, in percent and in milliseconds per tick, and the hottest piece of its code.
  • What kind of work it is: entities, block entities, chunk generation, redstone and other block updates, mob spawning, world saving, player connections.
  • Which vanilla type dominates: hoppers, zombies, item entities and so on.
  • Whether the server is actually lagging, and if TPS is low while ticks are cheap, that the cause is spikes or pauses rather than steady load.

It is careful about blame. Mods that only wrap vanilla work (crash guards like Neruina, the loader's own event hooks) are not charged for what runs inside them. Performance mods like Lithium and C2ME are marked as such: time spent in them is vanilla work done faster, not extra lag.

What it can't tell you

Coordinates. spark samples call stacks; it never records where in the world the work happened, so no tool can get them out of a spark report. If you need "which chunk", use a tool that measures the world directly.

Privacy

Everything is computed on your server. No AI service, no API key, no telemetry. The only network request is downloading the report from spark's own server (spark-usercontent.lucko.me), and only links to spark's hosts are accepted.

Platforms

One file per loader, each covering every game version listed:

File Runs on
lag-explainer-bukkit Bukkit, Spigot, Paper, Purpur, Folia 1.12 – 26.3
lag-explainer-fabric Fabric 1.14.4 – 26.3 (needs Fabric API)
lag-explainer-forge Forge 1.13.2 – 26.3
lag-explainer-forge-1.12 Forge 1.12 – 1.12.2, Cleanroom
lag-explainer-neoforge NeoForge 1.20.2 – 26.3

Server-side only, players don't need it. It also works in singleplayer.

Tested on real servers: Fabric 1.14.4, 1.16.5, 1.18.2, 1.20.1, 1.21.11, 26.3; Forge 1.12, 1.12.1, 1.12.2, 1.13.2, 1.14.4, 1.16.5, 1.18.2, 1.20.1, 26.2; NeoForge 1.20.4, 1.21.1, 26.3; Paper 1.12, 1.12.1, 1.12.2, 1.16.5, 1.20.4, 26.3; Folia 26.3.

Project description from CurseForge.

Pick your setup

Lag Explainer by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

112 available setups

Showing the newest 12 of 50 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Lag Explainer versions and loaders

1 of 4 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.