# Elaine – a Minecraft server written from scratch in C++

> Source: <https://github.com/ImHirou/Elaine>
> Published: 2026-12-03 22:02:07+00:00

**Key takeaway:** Elaine implements Minecraft Java protocol 26.3 in C++ with 873 of 1286 blocks, 4 of 48 structures, 31 commands and 1235 of 1266 recipes complete, and builds on Linux 6.0+ x86-64 with AVX2/AES-NI using GCC 15+ or recent Clang.

**A Minecraft: Java Edition server written from scratch in C++, built for 500 players on one machine.**

NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.

Not a fork, not a wrapper. An unmodified **26.3** client cannot tell it from vanilla: every system
is compared with a real vanilla server before it is called done.

| ✅ Done | 🚧 In progress | ⬜ Planned | 
|---|---|---|
| Protocol 26.3 | Blocks (873/1286) | Mob AI | 
| Encryption | Structures (4/48) | Mob spawning | 
| Chunks & light | Terrain generation | Redstone | 
| World saving | Commands (31) | Nether | 
| Anvil worldtype import | Block entities | The End | 
| Physics | Recipes (1235/1266) | Weather | 
| Entity tracking | Enchantments | Experience | 
| Inventory |  | Projectiles | 
| Fluids |  | Vehicles | 
| Game modes |  | Brewing & enchanting | 
| Combat |  | Advancements | 
| Mob effects |  | Secure chat | 
| Attributes |  | Lua plugins | 
| Day & night |  | Proxy support | 
| Chat |  | Whitelist & bans | 
|  |  | RCON | 
|  |  | Windows support | 

Block by block: [docs/blocks-roadmap.md](https://github.com/ImHirou/Elaine/blob/master/docs/blocks-roadmap.md).

**Non-goals:** Bukkit/Paper plugins, Bedrock, client mods, several client versions at once,
gameplay changes (that is a plugin's job).

Linux 6.0+ on x86-64 (AVX2, AES-NI), GCC 15+ or a recent Clang.

```
git clone https://github.com/ImHirou/elaine
cd elaine
./install.sh                                # packages, Mojang's jar, generated tables, build
build/release/elaine --online-mode=false    # join localhost with a 26.3 client
```

`install.sh` downloads Mojang's server jar under [Mojang's terms](https://aka.ms/MinecraftEULA);
the protocol tables are generated from it and are not in this repository.

- Any `server.properties` key works as`--key=value` .
- The world is kept in `./world` ; a vanilla world put there is imported.
- Stdin is the console: `op <name>` makes the first operator.
- Tests: `ctest --preset release` .

[GPL-3.0-or-later](https://github.com/ImHirou/Elaine/blob/master/LICENSE). Plugins that use only the plugin interface may carry any licence:
[PLUGIN-EXCEPTION](https://github.com/ImHirou/Elaine/blob/master/PLUGIN-EXCEPTION).

This repository holds none of Minecraft's code, data or assets. "Minecraft" is a trademark of Mojang Synergies AB.
