zebp / minecraft-packet-logger-proxy

Log outgoing packets from minecraft to a server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minecraft-packet-logger-proxy

A MITM proxy to log the outgoing packets to a minecraft server.

Installation Requirements

You must have NodeJS and NPM installed and on your path.

Usage

  1. Clone or download this repo
  2. Run npm install inside of the directory to
  3. Create your own .env file, use the .env.schema file as a template
  4. Build the application with npm build optional
  5. Run the application with npm start

Output

Packets are saved in the output directory.

Example

[
    {
        "meta": {
            "size": 2,
            "name": "flying",
            "state": "play"
        },
        "data": {
            "onGround": true
        }
    },
    {
        "meta": {
            "size": 11,
            "name": "block_dig",
            "state": "play"
        },
        "data": {
            "status": 0,
            "location": {
                "x": -79,
                "y": 64,
                "z": 271
            },
            "face": 1
        }
    },
    {
        "meta": {
            "size": 1,
            "name": "arm_animation",
            "state": "play"
        },
        "data": {}
    },
    {
        "meta": {
            "size": 34,
            "name": "position_look",
            "state": "play"
        },
        "data": {
            "x": -78.62225150824598,
            "y": 65,
            "z": 273.80310911827263,
            "yaw": 539.9267578125,
            "pitch": 37.41429901123047,
            "onGround": true
        }
    }

About

Log outgoing packets from minecraft to a server.


Languages

Language:TypeScript 100.0%