hCraft is a custom implementation of a Minecraft server, currently supprting the 74th revision of the protocol (version 1.6.2). hCraft strives to be fast, customizable and easy to use.
The currently implemented features are:
-
The client can connect to the server.
-
Authentication and encryption are supported.
-
Movement and block modification are relayed between connected players.
-
Worlds can be loaded from/saved to an experimental world format (HWv1) - a compact single-file world container.
-
Players can easily switch between worlds using the /w command (Multiworld!).
-
A permissions-like rank system.
-
SQLite support.
-
Players can create and manipulate various types of world selections (spheres, cuboids, etc...), this includes filling them with blocks (large fills cause resending of chunks).
-
Custom physics (still very experimental)! The current implementation can handle around 50,000 falling sand blocks (with 4 physics threads). Custom block mechanics can be easily added.
-
Custom world generation - a very simplistic plains generator is set as default. Current world generators include "plains", "flatgrass", "flatplains" and "overhang" (amazing overhangs!) (more will be added in the future).
-
Selections: Players can "select" areas using the implemented selections commands (/select), and then subsequently fill them with any block. Existing selection types:
- Cuboids
- Spheres
- Blocks
- /aid
- /bezier
- /circle
- /cuboid
- /curve
- /ellipse
- /fill
- /gm
- /help
- /kick
- /line
- /me
- /money
- /nick
- /physics
- /ping
- /polygon
- /rank
- /select
- /sphere
- /status
- /tp
- /wcreate
- /wload
- /world
- /wunload
To build hCraft, you will need a C++11-compatible compiler and a copy of
SCons. Just change to the directory that contains
hCraft, and type scons
. That will compile and link the source code into
an executable (can be found in the created "build" directory).
hCraft's IRC channel can be found in irc.divineirc.net/6667
, #hCraft
.
hCraft is released under GNU's general public license (GPLv3), more information can be found here.