Skip to content

A custom Minecraft server written in C++.

License

Notifications You must be signed in to change notification settings

Elektro-Volk/hCraft-2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hCraft-2

A custom Minecraft server written in C++, written from the grounds up to supersede the previous hCraft.

Protocol Version

hCraft 2 currently supports 1.8 (protocol version: 47).

Features

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!

Building

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).

On Linux

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.

On Windows

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.

Debugging

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)!

License

hCraft 2 is released under GNU's general public license (GPLv3), more information can be found here.

About

A custom Minecraft server written in C++.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 70.5%
  • C 27.2%
  • CMake 2.3%