A custom Minecraft server written in C++, written from the grounds up to supersede the previous hCraft.
hCraft 2 currently supports 1.8 (protocol version: 47).
This is a new project so there's not a lot implemented yet!
- Players can connect and walk around.
- The Anvil world format is implemented.
- A lot more will be implemented soon!
It is possible to build hCraft 2 both on Linux and on Windows. In both platforms, you will need a working copy of CMake and C++11-compatible compiler (Visual Studio 2013+ has been tested on Windows).
Enter source directory and type cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .
followed by make
. After compilation has ended, the executable could then be
found inside the newlycreated build directory.
Enter source directory using Visual Studio's x64 Native Tools Command Prompt
and type cmake -G "Visual Studio 12 2013 Win64" -DCMAKE_BUILD_TYPE=Release .
(Replace Visual Studio 12 2013 with whatever version you have, but don't forget
the Win64!); proceed by opening the generated .sln file, switch to Release mode
within Visual Studio and build the project. The executable should be in
build/Release/ afterwards.
When using Valgrind to debug hCraft, make sure that online mode is turned off, or else you will have to deal with hundreds of false positives that are caused by OpenSSL (which is used by libcurl)!
hCraft 2 is released under GNU's general public license (GPLv3), more information can be found here.