TheMode / Paxy

Minecraft Java proxy focused on packet transformation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Minecraft Java proxy focused on packet transformation

License:Apache License 2.0


Languages

Language:Java 99.5%Language:JavaScript 0.5%