CurseForge · Minecraft mod
Packet Profiler
Profiling packet size transmitted between server and client, debugging loot modifier, and identifying functions in datapacks causing lag
Quick answer
Which Packet Profiler release should I use?
Packet Profiler packetprofiler-2.0.3.jar targets 1.20.1 with Forge, NeoForge. 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 Packet Profiler required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Packet Profiler packetprofiler-2.0.3.jar need?
packetprofiler-2.0.3.jar. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Packet Profiler without breaking your instance.
Built for Packet Profiler packetprofiler-2.0.3.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use packetprofiler-2.0.3.jar. It targets 1.20.1 with Forge, NeoForge; another release may have different loader, side or dependency requirements.
- 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.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside packetprofiler-2.0.3.jar. It opens that exact file at the source.
About this project
What does Packet Profiler add?
Discord: https://discord.gg/BCHNhsDMXz
This mod provides 3 functionalities:
Packet profiling
It can record the size and number of all packets transmitted and received at a given side (server or client, depending on where this mod is installed) for a period of time. This allows identifying the cause of large network flow in modpacks, helping to improve server performance.
To profile packet sent or received on server side, run /profileserver <time in ticks> command. Result will be stored in logs/profiler/ folder, separately listing out all packet types sent and received, their count and size.
Loot profiling
It can record all the loot modifiers used for generating loot, showing how each of those loot modifiers modify the loot. It can help to identify why loots are not as expected in a large modpack.
To profile loot, run /profileloot <time in ticks> command and do action that can trigger loot table (kill a mob, open a loot chest, run /loot command, etc). Report will be printed in your latest.log file or console.
MCFunction Datapack Identification
MCFunction is a vanilla datapack feature that allows running command in datapack. This helps datapacks to develop advanced functionalities but also potentially cause a lot of lag. Some mods use MCFunction in minimal amount to aid mod functionality, such as Twilight Forest and Aether, but if you identifies a lot of lags from MCFunction and couldn't find out who, this feature would help a lot.
You can find out MCFunction lag at ServerFunctionManager.tick() and ServerFunctionManager.execute() in your server spark report.
To identify what mods have MCFunction datapack, run /profiledatapack command. It will list out all namespaces that contain MCFunction files along with the number of MCFunction files in those namespaces. The result will be sorted in descending order.
Project description from CurseForge.
Pick your setup
Packet Profiler by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Packet Profiler versions and loaders
packetprofiler-2.0.3.jar
22 Dec 2024
Looking for an older file? The official CurseForge project page is in Resources.