Skip to content
/ Paxy Public

Minecraft Java proxy focused on packet transformation

License

Notifications You must be signed in to change notification settings

TheMode/Paxy

Repository files navigation

Overview

The goal of this project is to offer an efficient way to transform every in/outgoing packets without butchering the game server performance.

The project is far from done, and nothing say that it will ever be. It can however be used to force current proxy developers to care a bit more about pipeline control & buffer allocation/pooling :)

Performance

The proxy is able to run with 30MB of heap and around 6MB of direct memory per network thread, other than that the code is almost free of any allocation. Early tests show x2-8 cpu reduction compared to the current top of the line, to be taken with a grain of salt considering the lack of parity (no multi-server support & no encryption)

Packet transformation

Scripts are done in JS thanks to GraalJS, example are present here.