aridevelopment-de / fabric-packet-logger

Client-side packet logger with web-ui
https://modrinth.com/mod/packetlogger
GNU Affero General Public License v3.0
20 stars 6 forks source link

Reduced traffic and improved websocket "performance" #19

Closed Ari24-cb24 closed 1 year ago

Ari24-cb24 commented 1 year ago

Before this change, raw packet data would just be sent over the websocket connection. Now, packet-logger only sends tiny metadata packets including an index which can be used to retrieve the actual packet data (basically lazy-loading the data).
Packets don't include their metadata anymore. This metadata is now located at aridevelopment-de/fabric-packet-logger-metadata.
I also added toast notifcations and moved the clientbound packet handlers to a clientbound directory.

TODO before merge: