Packet Profiler

Quick rating

Community listing page, reviews here may not be monitored by the author.

Packet Profiler

No reviews yet

Profiling packet size transmitted between server and client, debugging loot modifier, and identifying functions in datapacks causing lag

No Theme
No Genre
Bug Fixes
Performance & Optimization
Server Utility
Mod Loaders
Forge
NeoForge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
packetprofiler-2.0.3.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Discordhttps://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.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~24,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works