
Modrinth · Minecraft mod
PacketLogger
Client-side packet logger with a web-ui
Quick answer
Which PacketLogger release should I use?
PacketLogger 1.6.1 targets 1.19.4 with Fabric. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.
Where it goes
Is PacketLogger required on the client, server, or both?
It must be installed on the client. Do not install it on the dedicated server.
This file is marked client-only.
What else does PacketLogger 1.6.1 need?
1.6.1. 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 PacketLogger without breaking your instance.
Built for PacketLogger 1.6.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.6.1. It targets 1.19.4 with Fabric; 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
It must be installed on the client. Do not install it on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.6.1. It opens that exact file at the source.
About this project
What does PacketLogger add?
⚠️ Project no longer maintained (and what happens with the frontend)
Since I don't have the time to work on the frontend and the backend, I will discontinue this PacketLogger project. But don't worry, the frontend won't be for nothing.
Developing on both sides takes up a lot of time, especially if you want to implement cool new features on the frontend while the backend contains bugs that must be fixed as to aid users. It's been tough doing that at the same time and I do not wan't to do that anymore. I am mainly a web-developer and I want to continue this passion.
That's why I will stop developing the mod.
But: The frontend will be moved to wisp-forest/gadget. At least that is the current idea. It might take up some weeks before everything is set in place, so I highly encourage you to switch over to gadget if you need an alternative atm.
It has been a pleasent journey working on packetlogger. I learned much about minecraft modding in itself, minecraft packet structure and met wonderful people on the way. If you have some questions, hmu on Twitter or Discord
Fabric Packet Logger
I use this for development at thejocraft.net. Yes, the code may not be the best. If you want to improve it, do it and open a pull request.
Features
- Web-UI (Default Port 8080)
- Websocket Connection (Default Port 1337)
- InGame config
Supported Minecraft Versions
| Minecraft Version | Status | Notes |
|---|---|---|
| 1.19.3 | ⚠️ | A rather scuffed version, since 1.19.4 support existed before 1.19.3, so 1.19.3 was created out of 1.19.4 |
| 1.19.4 | ✔️ |
⚠️ = Packets implemented but not validated
✔️ = Supported
Linked repositories
- Web-UI: aridevelopment-de/fabric-packet-logger-frontend
- Metadata: aridevelopment-de/fabric-packet-logger-metadata
Commands
/packetloggeris the base command for all subcommands. You should be able to auto-complete them/packetlogger logging on/off- Toggles the logging state/packetlogger open- Opens the web-ui in your browser/packetlogger export- Exports the current stored data in a json format
Supported packets
Clientbound
Serverbound
As developing serializers for each packet takes a lot of time, not every packet is supported. I will add more packets
over time. If you want to help out, feel free to open a pull request.
Why do you not use Reflection to convert the packet data?
There are some reasons why I didn't use Reflection. Here are the main reasons:
- Reflection is slow
- I like live-streaming data instead of analyzing dumps
- My approach with reflection was horrible (see reflection-rewrite/dev branch)
- I may be able to do a lot more with custom serializers
- And I have my own juicy mappings
If you still prefer a reflection-based approach, check out wisp-forest/gadget
Websocket
By default, the web-ui connects to the websocket and receives the packet information via json data. You can also connect
to this websocket as well and receive the same data as the web-ui. I'd recommend
using insomnia or weasel on
firefox.
A protocol has been defined for the websocket. It uses data chunking and lazy loading of packet information to reduce
traffic. See protocol.md for more information.
Previews
Video:
MapUpdateAdapter:

Project description from Modrinth.
Pick your setup
PacketLogger by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.19.3
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
PacketLogger versions and loaders
1.6.1
packet-logger-1.6.1.jar
12 May 2023
1.6.0+1.19.3
packet-logger-1.6.0+1.19.3.jar
9 May 2023
1.6.0
packet-logger-1.6.0.jar
6 May 2023
1.5.0
packet-logger-1.5.0+1.19.4.jar
1 May 2023
1.4.0+1.19.3
packet-logger-1.4.0+1.19.3.jar
16 Apr 2023
1.4.0
packet-logger-1.4.0.jar
8 Apr 2023
1.3.0
packet-logger-1.3.0.jar
8 Apr 2023
1.2.0
packet-logger-1.2.0.jar
6 Apr 2023
1.1.3
packet-logger-1.1.3.jar
6 Apr 2023
1.1.2
packet-logger-1.1.2.jar
5 Apr 2023
1.1.1
packet-logger-1.1.1.jar
4 Apr 2023
Looking for an older file? The official Modrinth project page is in Resources.