betamine is a Minecraft server written from the ground up in Gleam.
It utilizes the glisten package as the basis for it's TCP connection.
The protocol utilized by betamine is documented on the minecraft.wiki website, which is a great resource if you're interested in getting into the networking side of Minecraft development. Currently the only supported Minecraft version by betamine is 1.21.11.
Warning
Heads up, betamine currently lacks the security features that should be employed by a typical Minecraft server.
Please refrain from utilizing betamine as a typical Minecraft server, for now its sole purpose is education and fun.
First things first you'll need to pull down the repository and get it running, you can do so with the following commands:
git clone [email protected]:zwubs/betamine.git
cd betamine
gleam runOnce running this will start up the server on localhost with the port 25565 (the default Minecraft server port), which you'll be able to connect to through your Minecraft client.
- I need to improve the pinging logic for the server. If you're having trouble seeing the server on your list after you add it, hitting the "Refresh" button a few times seems to help...