Home›Java›Mods›NetLog
ModsJava

NetLog

Java mod listed for Minecraft 1.7–1.13. Download on the author's site.

⬇ Download on Spigot
NetLog
Simple utility to log all packets (and values) between client and server.

We do this by injecting a pipeline handler for both inbound and outbound packets, using NMSProxy to handle the NMS
reflection into nice interfaces.

After the player disconnects, we serialize all logged packets into a json file inside the the plugin folder grouped by
player uuid.

Limitations
- We are adding the pipeline handlers when PlayerJoinEvent is fired from the server. This means we miss
both handshake and login packets, as well some early play packets. Willing to take suggestions on early events to use
to achieve the same result
- When serializing we we don't deep dive into packet fields where there are objects. This means we are reliant on what . toString() gives us from the object itself. This is hopefully be rectified at a later point.
- There is also an issue where arrays that aren't object arrays aren't being serialized.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

NetLog is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 522 times (via Spigot). Download it and open it directly in the game.

Explore more