trgreal/jsmc ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Node.js Minecraft style server that talks over raw TCP and can connect with a normal Minecraft client.

I want it to handle the basic handshake, login, and getting into a world so I can at least join, see the server respond, and move around in a simple test environment. Use the data for the dimension codec and join game setup from minecraft data if that helps, and keep the code straightforward so it’s easy to read and extend. Please make the config easy to change, keep any player login data and helper code organized, and leave room for plugins or extra utilities later.

If you need to check current packet details or protocol behavior online, go ahead and look them up. The goal is a working prototype that feels like a tiny Minecraft replica server, not a full game server.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab