This commit was done specially since it interfaces heavily with Lua. First it was diffed out in a standard cuberite repo so we can tell what was changed, and we apply this diff to a basic cuberite repo right before the commit was made. I then promptly reverted lua changes that would conflict with applying the patch. I also had to remove whole sections from the patchfile afterwards but it was made easier having the actual repo with the patches applied able to remake the diff as needed before i removed the bigger sections. Somehow it all worked out.
Cuberite
Cuberite is a Minecraft-compatible multiplayer game server that is written in C++ and designed to be efficient with memory and CPU, as well as having a flexible Lua Plugin API. Cuberite is compatible with the Java Edition Minecraft client.
Cuberite runs on Windows, *nix and Android operating systems. This includes Android phones and tablets as well as Raspberry Pis; support for small embedded devices is experimental.
Currently we support Release 1.8 - 1.12.2 Minecraft protocol versions.
Subscribe to the newsletter for important updates and project news.
Installation
There are several ways to obtain Cuberite.
Binaries
- The easiest method is downloading for Windows or Linux from the website.
- You can use the EasyInstall script for Linux and macOS, which automatically downloads the correct binary. The script is described below.
The EasyInstall script
This script will download the correct binary from the project site.
curl -sSfL https://download.cuberite.org | sh
Compiling
- You can compile automatically for Linux, macOS and FreeBSD with the
compile.sh
script. The script is described below. - You can also compile manually. See COMPILING.md.
Compiling may provide better performance (1.5-3x as fast) and it supports more operating systems.
The compile.sh script
This script downloads the source code and compiles it. The script is smart enough to notify you of missing dependencies and instructing you on how to install them. The script doesn't work for Windows.
Using curl:
sh -c "$(curl -sSfL -o - https://compile.cuberite.org)"
Or using wget:
sh -c "$(wget -O - https://compile.cuberite.org)"
Hosted services
- Hosted Cuberite is available via Gamocosm.
Contributing
Cuberite is licensed under the Apache License V2, and we welcome anybody to fork and submit a Pull Request back with their changes, and if you want to join as a permanent member we can add you to the team.
Cuberite is developed in C++ and Lua. To contribute code, please check out GETTING-STARTED.md and CONTRIBUTING.md for more details.
Plugins are written in Lua. You can contribute by developing plugins and submitting them to the plugin repository or the forum. Please check out our plugin introduction guide for more info.
If you are not a programmer, you can help by testing Cuberite and reporting bugs. See TESTING.md for details.
You can also help with documentation by contributing to the User's Manual.
Other Stuff
For other stuff, check out the homepage, the Users' Manual, the forums, and the Plugin API.
Support the Cuberite development team on Liberapay