A proxy for logging packets between a minecraft client and server
This proxy relies on having a local clone of Quartz in the same parent directory the proxy, as it relies on quartz_net
and quartz_chat
to get the packet list and pretty print the data
- Have a minecraft server running on
localhost:25565
- Connect your client to
localhost:25566
The proxy also starts with a filter enabled to avoid logging more information than you need.
To disable this filter run filter disable
stop
: Stops the proxy and compresses the log file
pause
: pauses the logging of all packets regardless of filter
resume
: resumes logging of packets after pause
has been used
filter <allow|deny> <packet name>
: enables or disables logging the packet specified, packet name should be the packets name as given in the packet enums in quartz_net
filter <enable|disable>
: enables or disables the filter
filter <reset>
: resets the filter, clearing all entries
filter <reset-as> <whitelist|blacklist>
: clears the filter and changes it to either act as a whitelist or blacklist
filter display
: logs the current filter
varint [bytes...]
: decodes the given bytes as a varint, bytes should be space seperated and in hex
string [bytes...]
: decodes the given bytes as a string, bytes should be space seperated
warnings <allow|suppress> <packet id>
: Enables/Disables supressing warnings related to the given packet id, packet ids should be in hex
warnings <on|off>
: enables or disables warnings related to parsing
mbdl <length>
: changes the maximum length allowed when displaying packet buffers in the console, mbdl none
will disable the limit
metrics
: shows the approximate rate of packets in megabits per second