In the past year, I’ve been exploring the idea of creating a Minecraft server from scratch using Bash. While facing challenges with binary data parsing, I found a unique way to handle nullbytes effectively. Implementing various data types like VarInts and VarLongs, along with IEEE754 floating point numbers, presented different levels of difficulty. Additionally, dealing with Position data and Named Binary Tag formats added complexity. By creating a plugin system with hooks, I enabled the server to go beyond basic functionalities. Despite performance limitations and multiplayer functionality issues, Witchcraft, as I named the project, showcases the creative possibilities of using Bash for crafting a Minecraft server.
https://sdomi.pl/weblog/15-witchcraft-minecraft-server-in-bash/